View unanswered posts | View active topics It is currently Fri Dec 01, 2023 4:55 am



Reply to topic  [ 4 posts ] 
 another Rewrite question 
Author Message
Junior Member

Joined: Fri Jun 26, 2009 3:45 pm
Posts: 3
Post 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
Report this post
Profile
Junior Member

Joined: Fri Jun 26, 2009 3:45 pm
Posts: 3
Post 
please!! (this message is too short)


Sat Jun 27, 2009 8:01 pm
Report this post
Profile
Junior Member

Joined: Fri Jun 26, 2009 3:45 pm
Posts: 3
Post 
well thanks for your help folks!

RewriteCond %{REQUEST_URI} !^/(mydomain|stats)


Mon Jun 29, 2009 7:32 pm
Report this post
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 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

Search for:
Jump to:  
cron
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.