|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Industry Role:
Join Date: Feb 2005
Location: Los Angeles
Posts: 1,531
|
"Catch All" Apache config, isn't catching all...
So on my old server, this configuration catches all websites that don't have virtual hosts. On my new server, it isn't working
Example: http://www.neverbuyalincoln.com is showing /var/www rather than /home/photof/public_html Code:
<VirtualHost *:80>
ServerAlias *:80
DocumentRoot /home/photof/public_html
<Directory "/home/photof/public_html">
allow from all
Options +Indexes
</Directory>
</VirtualHost>
__________________
www.gimmiegirlproductions.com |
|
|
|
|
|
#2 |
|
Confirmed User
Industry Role:
Join Date: Jul 2007
Location: Intraweb
Posts: 274
|
Is this the first virtual host in the apache config? if i'm not mistaken apache uses the first virtual host defined as the catchall, regardless of the *:80 part / where you bind it to. I'd make sure it was phsyically first in the config file then restart apache and that should take care of it.
|
|
|
|