apache - How can we make a redirect in .htaccess for the “git” project? -


there project on “git”. there hosting service , document_root refers http_public. have no possible way change it.

i clone repository http_public, web-tool located @ http_public/zzz.

redirect htaccess:

<ifmodule mod_rewrite.c>     rewriteengine on     rewritecond %{request_uri} !^zzz     rewriterule ^(.*)$ zzz/$1 [l] </ifmodule> 

when refer website example.com, web-tool being opened.

how can make website work referring example.com not working directly example.com/zzz/?


Comments

Popular posts from this blog

jQuery Mobile app not scrolling in Firefox -

c++ - How to add Crypto++ library to Qt project -

php array slice every 2th rule -