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 -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -