Forum Moderators: phranque

Message Too Old, No Replies

Don't mod-rewrite this subdirectory

         

wheel

6:18 pm on Oct 10, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I've got a directory program that mod-rewrites url's, using the following:

Options +FollowSymLinks
RewriteEngine on
RewriteRule (^[^\.]*$)(.*)$ /index.php?params=$1

I've added a /forum directory and put some forum software in that directory.

How should I modify my htaccess file above so that it doesn't rewrite the forum subdirectory?

TIA

jdMorgan

7:49 pm on Oct 10, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Add a RewriteCond [httpd.apache.org] %{REQUEST_URI} with a negative match on the path to the forum.

Jim

wheel

8:01 pm on Oct 10, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks :). I can figure it out from there.