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

Popular posts from this blog

java - Solr query version issue: Invalid version or the data in not in 'javabin' format -

Hard vs. Soft Water: What's The Difference?

The Ten Most Livable Cities In The World