Re: [users@httpd] httpd won't start

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jessica Rasku wrote:


And as a sample Virtual host I have:

<VirtualHost *:80>
        DocumentRoot /var/www/gender/html
        ServerAdmin jrasku@xxxxxxxxxxxxxxxx
        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 webmaster@xxxxxxxxxxxxxx
       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: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux