.htaccess - Using htaccess to show files from an inner directory -
this local dir structure
-> app -> settings -> readme -> php -> entire app code
now since app code in php/
dir, have localhost/app/php
access app. access files in php/
dir justing typing localhost/app
.
thanks :)
put code in document_root/.htaccess
file:
rewriteengine on rewriterule ^((?!php/).*)$ php/$1 [l,nc]
Comments
Post a Comment