You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version/revision number of mod_spdy are you using?
mod-spdy-beta-0.9.4.3-420.x86_64
What version of Apache are you using, and on what operating system? (Use
`apache2ctl -v` to check.)
Server version: Apache/2.2.15 (Unix)
Server built: Apr 3 2014 23:56:16
CentOS 6 64
What other Apache modules are you using? (Use `apache2ctl -M` to check.)
mod_rewrite
What browser version did you use to access the mod_spdy server? On what
operating system? What flags was the browser invoked with? (For
Chrome/Chromium, go to about:version to check.)
Google Chrome 35.0.1916.114 (Official Build 270117) m
OS Windows
Blink 537.36 (@173968)
JavaScript V8 3.25.28.16
Flash 13.0.0.214
User Agent Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/35.0.1916.114 Safari/537.36
What steps will reproduce the problem?
1.install mod_spdy
2.restart apache
3.append
"RewriteEngine On
RewriteCond %{HTTPS} !^on$ [NC]
RewriteRule (.*) https://%{SERVER_NAME}%{REQUEST_URI} [L,R=301]"
in .htaccess
What is the expected result? What do you see instead?
I want to redirect all none https url to https, it works well with the original
apache, but after instell the mod_spdy, I always get a redirect loop if I use
spdy enabled browser. If I use IE 11, it's still fine.
Please provide any additional information below.
No more information.
Original issue reported on code.google.com by [email protected] on 15 Jun 2014 at 4:36
The text was updated successfully, but these errors were encountered:
Ok...I find the problem.
mod_rewrite doesn't recognize spyd, so even I use https://xxxx/, it also thinks
I'm not using https, the %{HTTPS} is still off, this cause the redirect loop. I
changed the .htaccess file to this and fix this problem.
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteCond %{SERVER_PORT} ^80$ [NC]
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Can you please fix this bug to let mod_rewrite recognize spyd directly? I don't
want add port in the rewrite rules. Because it's too dangerouse to multi ports
sites.
I have the exact same issue and used the above workaround using the port in the
rewrite rule for now.
Please fix this bug, so we don't need to use this workaround.
Thanks
Original issue reported on code.google.com by
[email protected]
on 15 Jun 2014 at 4:36The text was updated successfully, but these errors were encountered: