httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krist van Besien" <krist.vanbes...@gmail.com>
Subject Re: [users@httpd] apache2 permissions problem on SELS10SP1
Date Fri, 08 Aug 2008 12:23:11 GMT
On Fri, Aug 8, 2008 at 13:40, James Pifer <jep@obrien-pifer.com> wrote:

> The config for this virtual host is:
> <VirtualHost ´╗┐server.domain.com>
>  DocumentRoot /srv/www/htdocs/ref/
>  ServerName ´╗┐server.domain.com
>  ServerAdmin admin@domain.com
>  <Directory /srv/www/htdocs/ref/>
>  AllowOverride None
>  Order allow,deny
>  Allow from all
>  </Directory>
>  ScriptAlias /cgi-bin/ "/srv/www/cgi-bin/"
>  ErrorLog /var/log/apache2/error.com-error_log
>  CustomLog /var/log/apache2/access.com-access_log common
> </VirtualHost>
>
> The files are in the cgi-bin directory, and I'm told they were working
> fine before this problem started.
>
> wwwrun is the user owner, and root is the grp owner. I even have the
> files temporarily set to 777.

You probably need the following:

<Directory /srv/www/cgi-bin/>
Order allow,deny
Allow from all
</Directory>

You need to tell apache that clients can access files in your cgi dir,
and execute CGI's there.

Krist
-- 
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?
Mime
View raw message