Bluehost.com Web Hosting $6.95

Upgrading 1.3 -> 2.0 vhosts?

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-06-2003
Thomas Andersson
 
Posts: n/a
Default Upgrading 1.3 -> 2.0 vhosts?

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


  #2 (permalink)  
Old 08-06-2003
Brian H¹©
 
Posts: n/a
Default Re: Upgrading 1.3 -> 2.0 vhosts?

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



  #3 (permalink)  
Old 08-07-2003
Carlos Moreno
 
Posts: n/a
Default Re: Upgrading 1.3 -> 2.0 vhosts?

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
--

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:42 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0