I'm replacing index.cgi of gitweb with a static index.html page.
However I don't want links to gitweb repositories to break, such as http://example.com/?p=foobar;
My non-working .htaccess currently looks like:
DirectoryIndex index.html index.php
RewriteCond %{QUERY_STRING} p
RewriteRule ^/ /index.cgi
What am I missing?
RewriteEngine on. – Ladadadada Nov 29 '11 at 9:03