This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

Changing default web root

Installation and environment issues, mainly on 1.x but there's some 2.x here too.

Changing default web root

by jasonsf » Sat Dec 10, 2005 2:02 am

I'm not able to easily add virtual hosts to my apache.conf so I'd like to modify the default web root of the application. Instead of "/" I want it to be "/jasonf/myproject/" or something like that. What do I need to modify to do that? The same thing goes for the "/sf" folder with common files.

Thanks-
Jason
jasonsf
Junior Member
 
Posts: 2
Joined: Sat Dec 10, 2005 1:53 am
Location: Tucson, AZ

Re: Changing default web root

by fabien » Sun Dec 11, 2005 10:26 am

You can read 'how to configure a web server' http://www.symfony-project.com/content/book/page/web_server. html.

You have to use the relative_url_root parameter in settings.yml.
fabien
Faithful Member
 
Posts: 487
Joined: Sat Oct 22, 2005 9:01 am

Re: Changing default web root

by jasonsf » Sun Dec 11, 2005 5:40 pm

Thanks for the reply. I must have missed that when I was reading the docs.

Jason
jasonsf
Junior Member
 
Posts: 2
Joined: Sat Dec 10, 2005 1:53 am
Location: Tucson, AZ