apache - How I can setup main directory instead web directory to my website in Symfony? -
actually i make clone of previous site have on symfony. copy directory , files on same server , assign other domain. can not access clone thru www.domain.com. view site need this: wwww.domain.com/proyect/web/app.php.
my question is: need load site on principal directory?.
change config of webpage, e.g.
<virtualhost *:80> serveradmin webmaster@localhost servername www.domain.com serveralias domain.com documentroot /var/www/proyect/web/ <directory /var/www/proyect/web/> options indexes followsymlinks multiviews allowoverride order allow,deny allow </directory> </virtualhost>
and restart apache
Comments
Post a Comment