How to create fake PHP directory that mapped to another PHP directory? -
for example, have folder web.com/app/resource/css/
, browser perspective want user able access folder via url web.com/css/
instead of web.com/app/resource/css/
. how accomplish php?
put in .htaccess file:
rewriteengine on rewriterule ^css app/resources/css/ [qsa,nc,l]
Comments
Post a Comment