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

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -