The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
65 views

Is it safe to comment out the ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ directive?

I am setting up a server with php support. In few days on-line, I have been target (unsuccessfully) with the typical attack: "201.212.25.79 - - [29/Jan/2014:06:17:03 +0000] "POST ...
1
vote
2answers
772 views

Apache - Difference between ScriptAlias and WSGIScriptAlias

I'm using apache on RHEL Linux server In my /etc/httpd/conf.d/httpd.conf there are two directives: WSGIScriptAlias /apps /var/www/apps <Directory /var/www/apps > Options MultiViews ExecCGI ...
0
votes
1answer
659 views

Changes in SetEnv directives not seen in scriptalias

I need to read an environment variable in a ScriptAlias script. So I have SetEnv directives to set these variables, in the following apache configuration. <VirtualHost *:80> ServerName ... ...
2
votes
1answer
516 views

Apache2 Virtual Host with ScriptAlias returning 403

I am trying to reference my libs directory which is a sibling directory to my DocumentRoot. I am using the following ScriptAlias to try to accomplish this. ScriptAlias /libs/ "../libs" But when I ...
0
votes
1answer
148 views

Different ScriptAliasMatch for domain, www.domain, and *.domain

My current httpd.conf uncludes: ScriptAliasMatch ^/$ /qsys.lib/something.lib/index.pgm ScriptAliasMatch /cgi/(.*) /qsys.lib/something.lib/$1.pgm We are soon going to have many subdomains, which we ...
1
vote
1answer
4k views

attempt to invoke directory as script?

ScriptAlias /cgi-bin/ /var/www/cgi-bin/ <Directory "/var/www/cgi-bin"> AllowOverride None AddHandler cgi-script pl cgi Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch ...
0
votes
1answer
1k views

How can I password protect & let cgi-bin to work?

This is taken from sites-available directory. It's a virtual host setting for apache. Accessing myiphere/cgi-bin/ throws 403. The directory setting for /var/www2/ drwxrwxrwx 8 www-data www-data ...
0
votes
1answer
646 views

accessing /cgi-bin/ throws 403 forbidden

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch ...