You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Benedict simon <si...@kmun.gov.kw> on 2008/04/13 12:07:29 UTC
[users@httpd] Fwd: unable to excecute cgi
Dear All,
I have recently install backuppc and the daemon running fine
but when i access it through my browser after askin me for my username and
password i get the followin message
You don't have permission to access /BackupPC_Admin on this server.
where Backup_Admin is the cgi file
and my server error is
Options ExecCGI is off in this directory/var/www/cgi-bin/BackupPC_Admin
i have turned it on
<Directory "/var/www/cgi-bin">
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI
Order deny,allow
Allow from all
AllowOverride None
AuthName "Backup Admin"
AuthType Basic
AuthUserFile /etc/httpd/.htpasswd
Require valid-user
</Directory>
apprecite your help
--
Network ADMIN
-------------
KUWAIT MUNICIPALITY:
--
Network ADMIN
-------------
KUWAIT MUNICIPALITY:
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Fwd: unable to excecute cgi
Posted by Joshua Slive <jo...@slive.ca>.
On Sun, Apr 13, 2008 at 6:07 AM, Benedict simon <si...@kmun.gov.kw> wrote:
>
>
>
> Dear All,
>
> I have recently install backuppc and the daemon running fine
> but when i access it through my browser after askin me for my username and
> password i get the followin message
>
>
> You don't have permission to access /BackupPC_Admin on this server.
> where Backup_Admin is the cgi file
>
> and my server error is
>
> Options ExecCGI is off in this directory/var/www/cgi-bin/BackupPC_Admin
>
>
> i have turned it on
>
> <Directory "/var/www/cgi-bin">
> SetHandler perl-script
> PerlResponseHandler ModPerl::Registry
> PerlOptions +ParseHeaders
> Options +ExecCGI
> Order deny,allow
> Allow from all
> AllowOverride None
> AuthName "Backup Admin"
> AuthType Basic
> AuthUserFile /etc/httpd/.htpasswd
> Require valid-user
> </Directory>
The error message is clear and probably isn't lying. So check for
other Options directives in your config files that may be overriding
the one for /var/www/cgi-bin. Remember that Options directives turn
off all options by default, unless they use "+" or "-" on all their
arguments.
Joshua.
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org