httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lariv...@chello.at
Subject [users@httpd] How to configure Apache to execute symlinked CGI scripts?
Date Fri, 30 Dec 2016 12:27:47 GMT
Hey folks how do I configure Apache to execute symlinked CGI scripts? I 
have got the following directory structure:

/tmp/foo
├── linked.cgi -> /tmp/bar/script.cgi
└── direct.cgi
/tmp/bar
└── 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


Mime
View raw message