Questions tagged [scriptalias]
The scriptalias tag has no usage guidance.
10
questions
3
votes
2
answers
4k
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
...
2
votes
1
answer
153
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 /cgi-bin/php5?%2D%...
2
votes
1
answer
2k
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
2
answers
16k
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
1
answer
295
views
Apache2 tries to access top-level directory when using ScriptAlias
I'm using Munin-cgi as my servers' monitoring system. One moment i realized that i have strange and very annoying notes in my error.log whilst everything kept running well and without errors.
At the ...
0
votes
1
answer
2k
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
1
answer
2k
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 ...
0
votes
1
answer
2k
views
Redirect to Python script in .htaccess while maintaining request URL
I have a website configured with Apache for http://www.example.com located in /var/www/example.com/. For an arbitrary sub-path of this website I would like to have all requests handled by a Python ...
0
votes
1
answer
2k
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 ...
...
0
votes
1
answer
185
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 ...