Re: Vhost not working

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

 



On Tue, 9 Oct 2007, Chris Arnold wrote:

> <VirtualHost *:80>
>    ServerAdmin <user>@domain.tld
>    ServerName demo.mytimewithgod.net
>    DocumentRoot /srv/www/htdocs/demo
>
>    ScriptAlias /cgi-bin/ "/srv/www/vhosts/dummy-host.example.com/cgi-bin/"
>    <Directory "/srv/www/vhosts/dummy-host.example.com/cgi-bin">

>>I assume you just didn't correct these paths in your example to us, or at 
>>least they do exist...
These do not exist. We don't have any cgi-bin scripts as of yet.

>>try running /path/to/httpd -t
/usr/sbin/httpd2 -t
Syntax OK

>>if thats good you need to run vhost checks: /path/to/httpd -S
/usr/sbin/httpd2 -S
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:80                   is a NameVirtualHost
         default server mytimewithgod.net (/etc/apache2/vhosts.d/main-vhost.conf :17)
         port 80 namevhost mytimewithgod.net (/etc/apache2/vhosts.d/main-vhost.c onf:17)
         port 80 namevhost teknerds.net (/etc/apache2/vhosts.d/main-vhost.conf:1 28)
         port 80 namevhost demo.mytimewithgod.net (/etc/apache2/vhosts.d/main-vh ost.conf:235)
         port 80 namevhost demo.mytimewithgod.net (/etc/apache2/vhosts.d/yast2_v hosts.conf:1)
         port 80 namevhost mytimewithgod.net (/etc/apache2/vhosts.d/yast2_vhosts .conf:107)
Syntax OK


-- 

Cheers
Res

Slackware -V- sloooUbuntoooou
http://lxer.com/module/newswire/view/93393/

---------------------------------------------------------------------
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



---------------------------------------------------------------------
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