1
vote
2answers
177 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
0answers
102 views

Line overlaps an earlier ScriptAlias

I had to upgrade Apache for PCI compliance. Since doing so, I get this error on restarting, and I can't access AWSTATS. The ScriptAlias directive in /etc/httpd/conf/httpd.conf at line 589 will ...
0
votes
1answer
188 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
258 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
107 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 ...
0
votes
2answers
808 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
438 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 ...