Jessica Rasku wrote:


And as a sample Virtual host I have:

<VirtualHost *:80>
        DocumentRoot /var/www/gender/html
        ServerAdmin [EMAIL PROTECTED]
        ServerName genderoutlaws.com
        ServerAlias *.genderoutlaws.com
        DirectoryIndex index.php index.html index.htm index.shtml
        ServerSignature email
        CustomLog logs/gender/access_log combined
</VirtualHost>

The *:80 for the NameVirtualHost means that it looks at port 80 on all IP addresses for name based virtual hosts. This is the default behaviour when you are using name based virtual hosts. This directive is by default commented out because many servers do not use any virtual hosting.

Following your sample, after setting the NameVirtualHost

# Use name-based virtual hosting.
#
NameVirtualHost 216.107.115.123:80

I made one site look like this:

# Virtual host evergreenequikits.com
<VirtualHost *:80>
       DocumentRoot /var/www/ginftp/evergreenequikits.com

       ServerAdmin [EMAIL PROTECTED]
       ServerName evergreenequikits.com
       DirectoryIndex index.html index.htm index.shtml
       ServerSignature email
       CustomLog logs/access_log combined
       ServerSignature email
</VirtualHost>

restarted Apache and still get nowhere.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to