You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by la...@chello.at on 2016/12/30 12:27:47 UTC
[users@httpd] How to configure Apache to execute symlinked CGI scripts?
Hey folks how do I configure Apache to execute symlinked CGI scripts? I
have got the following directory structure:
/tmp/foo
\u251c\u2500\u2500 linked.cgi -> /tmp/bar/script.cgi
\u2514\u2500\u2500 direct.cgi
/tmp/bar
\u2514\u2500\u2500 script.cgi
I tried the following configuration and while /foo/direct.cgi executed
fine, /foo/linked.cgi downloaded the script instead of executing it.
<Directory "/tmp/foo/">
AllowOverride None
Require all granted
Options +ExecCGI
AddHandler cgi-script .cgi
</Directory>
Alias /foo/ /tmp/foo/
I'd appreciate any help.
Greetings
Larivact
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org