Home : Products : Gossamer Links : Discussions :

Products: Gossamer Links: Discussions: Stop RewriteRule blocking other content: Edit Log

Here is the list of edits for this post
Stop RewriteRule blocking other content
I currently have the following in my .htaccess to make a dynamic site look static:

RewriteRule ^(.*).php /cgi-bin/links/page.cgi?g=$1.php [L]
RewriteRule New/(.*)$ /cgi-bin/links/page.cgi?g=New/$1 [L]
RewriteRule Ratings/(.*)$ /cgi-bin/links/page.cgi?g=Ratings/$1 [L]
RewriteRule Pop/(.*)$ /cgi-bin/links/page.cgi?g=Pop/$1 [L]

The problem is, anything else that I upload is regarded as a category and won't display.

Example 1: phpinfo.php in to root directory returns Category 'phpinfo.php' does not exist.

Example 2: /comments/admin/ directories in the root folder returns Category 'comments/admin' does not exist.

How can I get round this?

Last edited by:

MJB: May 6, 2011, 5:22 AM

Edit Log: