Apache Server configuration support - mod_rewrite: if browsing to site.com/folder, how do I ignore RewriteRules and retrieve

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > September 2007 > mod_rewrite: if browsing to site.com/folder, how do I ignore RewriteRules and retrieve





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author mod_rewrite: if browsing to site.com/folder, how do I ignore RewriteRules and retrieve
johnhutch

2007-09-28, 1:27 pm

Currently, my .htaccess looks like this:

1 Options +FollowSymLinks
2 RewriteEngine on
3
4 RewriteCond ^/meetings/* [NC]
5 RewriteRule .* - [L]
6
7 RewriteRule ^([A-Za-z_]+)/([A-Za-z_]+)/([A-Za-z_]+)/?$ /
index2.php?section=$1&subsection=$2&content=$3 [QSA,L]
8 RewriteRule ^([A-Za-z_]+)/([A-Za-z_]+)/?$ /index2.php?section=
$1&content=$2 [QSA,L]
9 RewriteRule ^([A-Za-z_]+)/?$ /index2.php?section=$1 [QSA,L]
10 RewriteRule ^$ /index.php [QSA,L]


If the user tries to browse to the meetings folder, they are all
separate sites not to be templated. So they need to browse straight
there. How can I accomplish this? My current code doesn't seem to work
as I'd expect.

Thanks in advance for any help you can offer!

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com