#
# This configuration file enables the default "Welcome"
# page if there is no default index page present for
# the root URL. To disable the Welcome page, comment
# out all the lines below.
#
<LocationMatch "^/+$">
Options -Indexes
ErrorDocument 403 /error/noindex.html
</LocationMatch>...
Here it is for future reference...I assumed it was a RHEL thing since that is the OS we are using on this particular box...
This is named welcome.conf and is located in the conf.d directory and is included by default with the Apache setup because fo the following line in httpd.conf
Include...
First off thanks for all your help - all of you.
Secondly - I feel like an idiot.
After doing some more in-depth checking, I found that there was a welcome.conf file in the conf.d directory that was redirecting all requests to directories without a valid index page, to a single "Apache Welcome"...
Ok - I commented out the default values for ServerName and DocumentRoot. I moved test1.example1.com virtual server to the top and changed all the ServerNames to ServerAlias and we are much closer.
test1 & test2 are gettign served out of their respective docroots as expected. BUT - the...
Well changing the ServerName to ServerAlias didn't do anything different. All requests are still getting served from the default docroot.
Further up in the httpd.conf I have the following defualts set outside of the virtuals :
ServerName www.example1.com:80
DocumentRoot "/var/www/html"
Would...
Ok - Here's the scenario...
I have a domain www.example1.com
It's documentroot is /var/www/html/
I want to have test1.example1.com as a server alias BUT I want it's document root to be /var/www/html/test1
And I want to have test2.example1.com as a server alias but I want it's document root to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.