zend framework2 - ZF2 redirect on public dir -


hello dont know best way redirect on public. i'm doing on server, not on local.

on local can make vhost , editd host file when put ftp on server www.example.com cant make vhost.

how can redirection on public ?

on www.example.com list me directory structure :

config/ data/ init_autoloader.php module/ public/ vendor/ 

i don't know apache .htaccess example how redirection.

thanks.

you don’t need yourself. it’s done web hosting provider. can point public_html folder instead of public doesn’t matter. can add other folders siblings public_html , it’s done.


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -