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

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -