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

[mailgraph] Re: (13)Permission denied: exec of '.../mailgraph.cssfailed


Marc Muehlfeld wrote:
> Hello,
> 
> im using Mailgraph-1.14. This version uses an external css to format the 
> output. But when I put it into the same directory than the cgi file, my apache 
> log the following errors if I open the cgi page:
> 
> 
> [Fri Oct 12 12:24:48 2007] [error] [client 192.168.1.254] (13)Permission 
> denied: exec of '/srv/www/htdocs/vhost1/cgi-bin/mailgraph.css' failed, 
> referer: http://vhost1/cgi-bin/mailgraph.cgi
> [Fri Oct 12 12:24:48 2007] [error] [client 192.168.1.254] Premature end of 
> script headers: mailgraph.css, referer: http://vhost1/cgi-bin/mailgraph.cgi
> 
> 
> When I put the css file to somewhere else outside the cgi-bin folder and 
> change the stylesheet-link in the cgi, the error is gone. Any idea how I can 
> prevent this and have both files at the same place? This is my apache2 
> directory directive for this folder:
> 
> 
> <Directory "/srv/www/htdocs/vhost1/cgi-bin">
> 	AllowOverride None
> 	Options +ExecCGI -Includes
> 	Order deny,allow
> 	Deny from all
> 	Allow from 192.168.1
> </Directory>

Putting anything but CGI scripts in there is messy. Do NOT go that way.
It will hit you in the rear sometime later.

It can be done if you read the apache manual very carefully. But I am so
opposed to such a setup I will not help you to choose that path.

Hugo.

-- 
hvdkooij{at}vanderkooij{dot}org               http://hugo.vanderkooij.org/
	Don't meddle in the affairs of sysadmins,
	for they are subtle and quick to anger.

--
Unsubscribe mailto:mailgraph-request@list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mailgraph-request@list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/mailgraph
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi