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

swift - Button on Table View Cell connected to local function -

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

c# - ajax - How to receive data both html and json from server? -