Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-05-01 12:08:22
- FireFusion
- Member
- Registered: 2005-05-10
- Posts: 698
Exclude a directory from mod-rewrite?
I’ve got a booking system working out of one of the folders on my site but TXP’s mod-rewrite is stopping it from working.
Offline
#2 2007-05-01 12:25:02
- FireFusion
- Member
- Registered: 2005-05-10
- Posts: 698
Re: Exclude a directory from mod-rewrite?
Doesn’t matter I found this in another topic
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/booking.* [OR]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [PT,L]
RewriteRule ^(.*) index.php
</IfModule>
Offline
#3 2007-05-01 16:03:57
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Exclude a directory from mod-rewrite?
It should not interfere, but, try putting the following into a new .htaccess and put it in your booking folder:
<IfModule mod_rewrite.c>
RewriteEngine Off
</IfModule>
Offline
Pages: 1