apache Permission denied: exec

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

 



Hi,

I got an ssl error of permission denied to exec a file when I tried to
launch https://localhost/ra
or https://<my host ip address>/ra

The dir that apache is trying to access is owned my group=apache and
user=apache.
In the ssl_error_log:

[Wed Apr 04 20:47:58 2007] [error] [client 192.168.200.111]
(13)Permission denied: exec of
'/usr/local/openra/httpd/cgi-bin/ra/RAServer' failed
[Wed Apr 04 20:47:58 2007] [error] [client 192.168.200.111] Premature
end of script headers: RAServer

Basically my httpd.conf file calls or my openca.conf file in httpd.d
dir, below is my openca.conf fle:

# RA Aliases
Alias       /ra /usr/local/openra/httpd/htdocs/ra/
Alias       /pub /usr/local/openra/httpd/htdocs/pub/
Alias       /ra-node /usr/local/openra/httpd/htdocs/ra-node/
ScriptAlias /cgi-bin/ra/ /usr/local/openra/httpd/cgi-bin/ra/
ScriptAlias /cgi-bin/pub/ /usr/local/openra/httpd/cgi-bin/pub/
ScriptAlias /cgi-bin/ra-node/ /usr/local/openra/httpd/cgi-bin/ra-node/

<Directory "/usr/local/openra/httpd/cgi-bin/">
    AllowOverride None
    Options ExecCGI
    Order allow,deny
    Allow from all
</Directory>
<Directory "/usr/local/openra/httpd/htdocs/">
    AllowOverride None
    Options FollowSymLinks Indexes
    Order allow,deny
    Allow from all
</Directory>
# OpenCA Mods
# adding dir to symlinks following for cert retrieval
# not totally clear WHY openca puts a symlink here, but it did.
<Directory "/usr/local/openra/httpd/cgi-bin/pub">
    AllowOverride None
    Options FollowSymLinks Indexes
    Order allow,deny
    Allow from all
</Directory>

p.s. do i need to include mod-jk or configure the VirtualHost to
listen on 443 in my httpd.conf file?

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux