![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Expert Programmer
|
.htaccess help
I have a .htaccess rule that will redirect any requests, starting at the directory containing the .htaccess file, to index.php:
RewriteRule ^$ index.php [L] |
|
|
|
|
|
#2 |
|
Expert Programmer
|
The closest thing I've come up with is
RewriteCond %{REQUEST_FILENAME} !^cookbook.*
RewriteRule ^$ index.php [L] |
|
|
|
|
|
#3 |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 4
![]() |
What about:
RewriteRule !(^cookbook.*) %{REQUEST_URI} [L]
RewriteRule ^$ index.php [L] |
|
|
|
|
|
#4 |
|
Newbie
Join Date: Sep 2006
Posts: 2
Rep Power: 0
![]() |
Try
RewriteEngine on |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| .htaccess error pages | Intimidat0r | Other Web Development Languages | 6 | Jul 31st, 2005 7:43 PM |