1
vote
1answer
159 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 ...
0
votes
1answer
264 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 ...
1
vote
1answer
2k 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: ...
2
votes
1answer
435 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 ...
1
vote
5answers
4k 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 ...
1
vote
1answer
826 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 ...