[users@httpd] Re:Re: [users@httpd] rewrite rule leads to infinite rewrite loop at apache

2015-07-15 Thread javalishixml
Eric, My below configuration is just going to jump the url from http://rm.jco.com.cn/myjco/orders/ to https://rm.jco.com.cn/myjco/orders/ But it leads to infinite rewrite loop inside apache RewriteCond %{SERVER_PORT} !^443$ RewriteCond %{HTTP_HOST} ^rm.jco.com.cn$ RewriteCond

[users@httpd] rewrite rule leads to infinite rewrite loop at apache

2015-07-15 Thread javalishixml
Hi Gurus, Just a silly question this is. But I really suffer it too much ... :( I'm using rewrite module to do rewrite url. I made below rule: RewriteCond %{SERVER_PORT} !^443$ RewriteCond %{HTTP_HOST} ^www.jco.com.cn$ RewriteCond %{REQUEST_URI} ^/myjco/mySecurity RewriteRule (.*)

Re: [users@httpd] rewrite rule leads to infinite rewrite loop at apache

2015-07-15 Thread Eric Covener
On Wed, Jul 15, 2015 at 12:32 PM, javalishixml javalishi...@163.com wrote: RewriteCond %{REQUEST_URI} ^/myjco/mySecurity You probably meant to negate this one, specifically to avoid the loop? -- Eric Covener cove...@gmail.com