All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
4k views

APACHE SetEnv directive (from .htaccess) not send to CGI process

I don't understand Apache2 mecanism in this scenario : 1/ In this location : var/www/cgi-bin/ (user's group rights : www-data) i've a CGI script (php-cgi) who will execute PHP app + VAR environement ...
gmini's user avatar
  • 21
1 vote
1 answer
972 views

Mod Rewrite for cgi-bin

So i want to rewrite the following url structure mysite.com/cgi-bin/shop/shop.cgi/ to mysite.com/+ I have this as a rule and it works, but it doesn't force the url to print in the ...
user156466's user avatar
0 votes
1 answer
499 views

cgi script served as plain text when called from .htaccess

I'm Running Apache 2.2 on the RackSpace CloudSites. I have a Perl CGI script that works fine if called directly via URL. I want to use the script as a custom ErrorDocument, but instead of being parsed ...
joatis's user avatar
  • 101
1 vote
1 answer
5k views

Local .htaccess strangely allowed running PHP in CGI/FastCGI mode in Apache under shared hosting environment

I am using a shared web hosting service. Running phpinfo, I can see the Server API shows CGI/FastCGI rather than Apache 2 Handler. In this article: http://docs.joomla.org/...
bobo's user avatar
  • 599
2 votes
1 answer
638 views

.htaccess RewriteEngine on breaks CGI Application

My .htaccess file is in the root directory of my website, and I narrowed down a problem to the single line of code RewriteEngine on. How do I know it's this piece of code? Because I deleted the entire ...
user avatar
1 vote
5 answers
13k views

You don’t have permission to access /index.py on this server

I am setting up a simple test page in Python. I only have two files: .htaccess and index.py. (Permissions for both set to 755) I get a 403 Forbidden error when trying to view the page - how can I fix ...
Yongho's user avatar
  • 113
1 vote
1 answer
1k views

htaccess redirect / to cgi-bin/cgiscript.cgi not working

1st of all the disclaimer: this is my very first "meeting" with .htaccess, and I'm not a sysadm, never was, but the guy in the neighborhood, who used to set up the machine. So now I have to set up ...
Zsolt Botykai's user avatar