Displaying 3 results from an estimated 3 matches for "cookie_secur".
Did you mean:
cookie_secure
2017 Mar 14
2
httpd/sites-available directory
...ST} =webmail.bar.com [NC]
RewriteCond %{SERVER_PORT} !=443
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
ExpiresDefault "access plus 10 years"
AddOutputFilterByType DEFLATE text/html text/plain text/xml
php_admin_flag session.cookie_secure "1"
</VirtualHost>
This rewrite is rewriting ALL connections to foo.bar.com. That first
ReWriteCond is not working.
Looking at this, the first thing I see 'wrong' with what I have done is:
<VirtualHost *:80>
That should probably be:
<VirtualHost webmail.ba...
2017 Mar 14
0
httpd/sites-available directory
...[NC]
> RewriteCond %{SERVER_PORT} !=443
> RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
> ExpiresDefault "access plus 10 years"
> AddOutputFilterByType DEFLATE text/html text/plain text/xml
> php_admin_flag session.cookie_secure "1"
>
> </VirtualHost>
>
>
> This rewrite is rewriting ALL connections to foo.bar.com. That first
> ReWriteCond is not working.
>
> Looking at this, the first thing I see 'wrong' with what I have done is:
>
> <VirtualHost *:80>
>...
2017 Mar 14
2
httpd/sites-available directory
I just received some advice from a colleague of a colleague over at
openssl.org. But they use debian. Please look at this and help me out
on how Centos7 handles this:
Note the comment of the location of virtualhost config files. Centos7
does not have a "man a2ensite".
thanks
Rewriterules and https. Actually, looking at what you have doesn't
really tell me why it gets applied