 |
|
 |
Main Menu |
|
 |
Forums |
|
 |
Programming Contest |
|
 |
Documentation
|
|
 |
Partner
Sites |
|
 |
Sponsors |
|
 |
|
|
Register •
FAQ
• Search • Login
|
|
Page 1 of 1
|
[ 4 posts ] |
|
Author |
Message |
MrScabby
Junior Member
Joined: Fri Jun 26, 2009 3:45 pm Posts: 3
|
 another Rewrite question
Hi all,
I have a rewrite rule on my server that allows for multiple URLs such,
RewriteEngine On Options +FollowSymlinks RewriteBase / RewriteRule ^([^\.]+[^/])$ http://%{HTTP_HOST}/$1/ [R=301,L] RewriteCond %{HTTP_HOST} ^(www\.)?mydomain\.com$ RewriteCond %{REQUEST_URI} !^/mydomain/ RewriteRule ^(.*)$ mydomain/$1 [L]
It redirects the visitor to a folder with the site in. Thing is the STATs for the site is on the root, what do I need to add to access this, Phil
|
Fri Jun 26, 2009 3:49 pm |
|
 |
MrScabby
Junior Member
Joined: Fri Jun 26, 2009 3:45 pm Posts: 3
|
please!! (this message is too short)
|
Sat Jun 27, 2009 8:01 pm |
|
 |
MrScabby
Junior Member
Joined: Fri Jun 26, 2009 3:45 pm Posts: 3
|
well thanks for your help folks!
RewriteCond %{REQUEST_URI} !^/(mydomain|stats)
|
Mon Jun 29, 2009 7:32 pm |
|
 |
|
|
Page 1 of 1
|
[ 4 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|
|
|