Is there a way I could use htaccess' url rewriting feature to look like there's a file in let's say the /public/some/folder
when it's actually in /public
.
For example I have index.php in root folder and I want it to be like that when I access index.php then it could also behave as its in all the folders and subfolders too
When I execute index.php then it will also execute in all folders and subfolders too
Update
Please understand my question by the example below
index.php is in root and I have different folders in root as well
so when I access the index.php through browser then it will also execute in other folders
http://example.com/index.php
will also behave as if its in sub folder too
http://example.com/folder1/index.php
http://example.com/folder2/index.php
http://example.com/folder3/index.php
index.php
is not in these folders but it must execute in these folders too at the same time
I think its not difficult to understand through this example.please answer accordingly
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…