Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Upgrading 1.3 -> 2.0 vhosts?

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  mod_rewrite and reverse proxy ftp  
Author Message
steiner

External


Since: Aug 06, 2003
Posts: 6



(Msg. 1) Posted: Wed Aug 06, 2003 6:08 am
Post subject: Upgrading 1.3 -> 2.0 vhosts?
Archived from groups: alt>apache>configuration (more info?)

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

 >> Stay informed about: Upgrading 1.3 -> 2.0 vhosts? 
Back to top
Login to vote
moreno_at_moch

External


Since: Jul 24, 2003
Posts: 3



(Msg. 2) Posted: Thu Aug 07, 2003 5:48 pm
Post subject: Re: Upgrading 1.3 -> 2.0 vhosts? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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:

<a style='text-decoration: underline;' href="http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/ref-guide/s1-httpd-v2-mig.html" target="_blank">http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/ref-guide/s1-htt...v2-mig.</a>

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
--<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Upgrading 1.3 -&gt; 2.0 vhosts? 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]