1
vote
1answer
194 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 ...
-3
votes
1answer
71 views

Display static pages with a RAND seed, expiry? [closed]

In Apache, is there any way (using scripts like CGI and PHP, etc.) that will fetch all static content (html, images, and files within a specified size range) and send it to the user as a randomized ...
1
vote
2answers
211 views

Apache Mod_Rewrite: Aliases and CGI

I am trying to get Apache to run a cgi executable in my "project" directories. It should respond to HTTP requests at: localhost/packages localhost/packages/ However, it should not respond to http ...
1
vote
1answer
516 views

RewriteRule [E=CONTENT_TYPE:foo/bar] has no effect on Apache/mod_php

I was trying to prevent PHP from parsing POST requests. It does automatically when it sees the according MIME type. For that I was considering following RewriteRule hack: RewriteCond ...
0
votes
1answer
2k views

mod_rewrite: Rewriting / to cgi script

I have a vhost in which I would like to rewrite / to something like /cgi-bin/script?123. I thought something like this would work, but this rewrites to "/index.html/ somehow. RewriteEngine On ...