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 -

dns - Dokku server hosts two sites with TLD's, both domains are landing on only one app -

Delphi 7 and decode UTF-8 base64 -