Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- SEO friendly URLs Part 2


jasimon9 - 7:00 am on Jan 21, 2013 (gmt 0)



System: The following 2 messages were cut out of thread at: http://www.webmasterworld.com/apache/4464350.htm [webmasterworld.com] by engine - 3:08 pm on Jan 21, 2013 (utc 0)


I am getting a strange situation with the sample code provided by lucy24 above. I first put the redirect code on a website instance on my Mac. It works as expected. However, the identical redirect code leads to an infinite loop on a Windows instance.

Here is an example of the redirect code:

RewriteCond %{THE_REQUEST} \?
RewriteCond %{QUERY_STRING} ^mode=create&usertype=pri$
RewriteRule ^register\.php$ /manufacturers-sales-reps-register.php? [NC,L,R=301]]
RewriteRule ^manufacturers-sales-reps-register\.php /register.php/?mode=create&usertype=pri [L,NC]

Again: working as expected on the Mac; not on Windows. Both are apache 2.2.x (x is different though: 2.2.4 on Windows and 2.2.22 on Mac).

I am wondering if there are some obvious differences on Windows.


Thread source:: http://www.webmasterworld.com/apache/4537982.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com