This is a discussion on Upgrading 1.3 -> 2.0 vhosts? within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi! Does the httpd config differ much between 1.3 and 2.0? The reason I wonder is becouse I ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi!
Does the httpd config differ much between 1.3 and 2.0? The reason I wonder is becouse I just reinstalled my system and in the new system I went with 2.0 and copied most entries from the 1.3 config, but now my virtual hosts doesn't work anymore.. every time I enter a domainname that should lead to a virtual host it just gives me the main page instead... What do I need to change? Best Wishes Thomas |
|
|||
|
X-No-Archive: Yes
Thomas Andersson said: > Hi! > > Does the httpd config differ much between 1.3 and 2.0? > The reason I wonder is becouse I just reinstalled my system and in the new > system I went with 2.0 and copied most entries from the 1.3 config, but now > my virtual hosts doesn't work anymore.. every time I enter a domainname that > should lead to a virtual host it just gives me the main page instead... > > What do I need to change? > > Best Wishes > Thomas Compare the httpd.default.conf in ver 2.0 conf folder with that of the 1.3 ver |
|
|||
|
Thomas Andersson wrote:
> Hi! > > Does the httpd config differ much between 1.3 and 2.0? > The reason I wonder is becouse I just reinstalled my system and in the new > system I went with 2.0 and copied most entries from the 1.3 config, but now > my virtual hosts doesn't work anymore.. every time I enter a domainname that > should lead to a virtual host it just gives me the main page instead... > > What do I need to change? I think in apache's site there's a "quick guide" on changes from version 1.3 to version 2. If not, there is in RedHat's site: http://www.redhat.com/docs/manuals/l...pd-v2-mig.html Be careful if you want to use SSL with name-based virtual hosts; that used to work on apache 1.3, but according to the documentation of apache 2.0, that can NOT be done because of the way SSL works. I did indeed verify (after about a week's fight with the configuration files) that it won't work, and I had to change the IP of the secure hostname -- it was the only way it would work. Right now, I have two IP's: one of them is handling multiple [name-based] virtual hosts, and the other IP is handling only the secure virtual host. For the rest, Virtual Hosts were working like a charm from the beginning (i.e., before I tried to setup the SSL certificate to activate the secure virtual host), doing some trivial tune-up to the configuration file (the default configuration file that comes with apache on RedHat 9). HTH, Carlos -- |