logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: VHosts problem
Author
iueras



Joined: 30 Jan 2008
Posts: 2

PostPosted: Wed 30 Jan '08 4:25    Post subject: VHosts problem Reply with quote

Hi everyone. I have an apache2 server running on OS X. It seems to be working beautifully, except for one problem. If I am using any virtual hosts, apache seems to "lose" the host defined in the main server configuration. It forwards all requests to the first virtual host. Is this normal? I can work around it by either using a vhost set up for the main website or disabling all vhosts, but should I have to do it that way?

Thanks for your help.
Back to top
iueras



Joined: 30 Jan 2008
Posts: 2

PostPosted: Wed 30 Jan '08 4:34    Post subject: Reply with quote

Never mind, I finally found this documented on another web page. Apparently ignoring the main host in the main server configuration section is indeed normal when ANY virtual hosts are defined.

Sorry to bother you guys. Very Happy
Back to top


Reply to topic   Topic: VHosts problem View previous topic :: View next topic
Post new topic   Forum Index -> Apache