Re: NameVirtualHost and CGI Problems

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



On Thu, 09 Oct 2008 10:14:54 -0700, Jerry Franz wrote:

[...]

> What do you get in the error_log?

I found the CGI problem (mia culpa), and  the CGI
is now working, but the NameVirtualHost still has
a problem.

NameVirtualHost 192.168.9.21:80
NameVirtualHost 127.0.0.1:80
...

<VirtualHost 192.168.9.21:80>
   <Location />
      Order allow,deny
      Allow from None
      Deny from All
   </Location>
</VirtualHost>

<VirtualHost 192.168.9.21:80 127.0.0.1:80>
   ServerName new.rosemike.net
   Options -All SymLinksIfOwnerMatch ExecCGI
   DocumentRoot "/var/www/html/www"
   DirectoryIndex index.cgi
   RewriteEngine on
   ...

With the above I get:
   [client 192.168.9.10] client denied by server configuration:
      /var/www/html/www/
   [client 192.168.9.10] client denied by server configuration:
      /var/www/error/noindex.html

If I comment out the first VirtualHost block I get correct
function.  Most notably, "correct function" persists if I
comment out the ServerName line.  It appears the ServerName line
is ignored in all cases.  I also tried changing the order of
the VirtualHost blocks.  No change.

Thanks again for your interest.
Mike.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux