Здравствуйте!
Имеется web-сервер Apache на котором крутится сайт. Необходимо сделать к нему доступ сразу по http и https. В местах где необходим https редирект происходит ср-вами php. SSL и редирект настроил. Но по http не пускает. Говорит:Bad Request
Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.
Hint: https://bla-bla.yoursite.net/Настройки SSL
Listen 443
SSLEngine on
SSLCertificateFile /etc/httpd/ssl/ssl.crt
SSLCertificateKeyFile /etc/httpd/ssl/ssl.key
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdownВ гугле найти не удалось :(
>[оверквотинг удален]
> Reason: You're speaking plain HTTP to an SSL-enabled server port.
> Instead use the HTTPS scheme to access this URL, please.
> Hint: https://bla-bla.yoursite.net/
> Настройки SSL
> Listen 443
> SSLEngine on
> SSLCertificateFile /etc/httpd/ssl/ssl.crt
> SSLCertificateKeyFile /etc/httpd/ssl/ssl.key
> SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
> В гугле найти не удалось :(пользуйте apache mod_rewrite
> Здравствуйте!
> Имеется web-сервер Apache на котором крутится сайт. Необходимо сделать к нему доступ
> сразу по http и https. В местах где необходим https редирект
> происходит ср-вами php. SSL и редирект настроил. Но по http не
> пускает. Говорит:
> Bad Request
> В гугле найти не удалось :(Страна обречена.
Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Reason: You're speaking plain HTTP to an SSL-enabled server port.