[CentOS] Re: NameVirtualHost and CGI Problems
Mike -- EMAIL IGNORED
m_d_berger_1900 at yahoo.com
Thu Oct 9 18:07:08 UTC 2008
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.
More information about the CentOS
mailing list