www.centos.org Forum Index CentOS 5 - General Support VHOSTS not resolving to the correct folder location
|
Bottom Previous Topic Next Topic |
| |
|
|
|---|
| Poster | Thread |
|---|
|
Re: VHOSTS not resolving to the correct folder location | #2 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2009/3/30
From
Posts: 1
|
I'm guessing this is a plesk issue. Centos doesn't do anything like that. It uses the 'Include" directive to point to /etc/httpd/conf.d/*.conf. This allows you to have all your vhosts in one file called 'vhosts.conf' for example. If your vhost definitions are not being found, then it would do as you have discovered and use the one in httpd.conf. The default behavior for httpd is if it can't find a particular vhost, it will default to the first one defined. If your vhosts aren't being found, try adding the locations of the .conf files with the Include directive.
|
||
Posted on: 2009/3/31 0:08
|
|||
Top Previous Topic Next Topic |
|



Topic options
Print Topic
Threaded
Newest First
serialbox




You cannot start a new topic.
You can view topic.