Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Stop RewriteRule blocking other content

Quote Reply
Stop RewriteRule blocking other content
I currently have the following in my .htaccess to make a dynamic site look static:

Code:
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
Subject Author Views Date
Thread Stop RewriteRule blocking other content MJB 3303 May 6, 2011, 5:20 AM
Post Re: [MJB] Stop RewriteRule blocking other content
MJB 3250 May 6, 2011, 5:52 AM
Thread Re: [MJB] Stop RewriteRule blocking other content
Andy 3243 May 6, 2011, 5:58 AM
Thread Re: [Andy] Stop RewriteRule blocking other content
MJB 3240 May 6, 2011, 6:28 AM
Thread Re: [MJB] Stop RewriteRule blocking other content
Andy 3234 May 6, 2011, 6:40 AM
Thread Re: [Andy] Stop RewriteRule blocking other content
MJB 3071 May 19, 2011, 9:48 AM
Thread Re: [MJB] Stop RewriteRule blocking other content
Andy 3077 May 19, 2011, 10:11 AM
Post Re: [Andy] Stop RewriteRule blocking other content
MJB 3061 May 19, 2011, 12:06 PM