Why Apache mod_speling redirects lose cookie?

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
rhel6, apache 2.4 with mod_speling enabled
Content migrated from IIS env riddled with case issues.
mod_speling is working great but I found that on every 301 redirect the cookie is lost and redirects to HTTP instead of HTTPS.
I think I fixed the HTTPS issue with the ServeName directive but still cannot fix the lost cookie.
Must I use mod_rewrite ?
I thank that I need to use mod_rewrite to add it back but not sure.
apache-httpd mod-rewrite
New contributor
Eric Cooksey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
up vote
0
down vote
favorite
rhel6, apache 2.4 with mod_speling enabled
Content migrated from IIS env riddled with case issues.
mod_speling is working great but I found that on every 301 redirect the cookie is lost and redirects to HTTP instead of HTTPS.
I think I fixed the HTTPS issue with the ServeName directive but still cannot fix the lost cookie.
Must I use mod_rewrite ?
I thank that I need to use mod_rewrite to add it back but not sure.
apache-httpd mod-rewrite
New contributor
Eric Cooksey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Redirects to the same host, port, and protocol can't affect cookies, they get sent by the browser anyway. mod_speling does not set its own cookies. Are your redirects going to the same origin as the cookie?
– Michael Homer
2 hours ago
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
rhel6, apache 2.4 with mod_speling enabled
Content migrated from IIS env riddled with case issues.
mod_speling is working great but I found that on every 301 redirect the cookie is lost and redirects to HTTP instead of HTTPS.
I think I fixed the HTTPS issue with the ServeName directive but still cannot fix the lost cookie.
Must I use mod_rewrite ?
I thank that I need to use mod_rewrite to add it back but not sure.
apache-httpd mod-rewrite
New contributor
Eric Cooksey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
rhel6, apache 2.4 with mod_speling enabled
Content migrated from IIS env riddled with case issues.
mod_speling is working great but I found that on every 301 redirect the cookie is lost and redirects to HTTP instead of HTTPS.
I think I fixed the HTTPS issue with the ServeName directive but still cannot fix the lost cookie.
Must I use mod_rewrite ?
I thank that I need to use mod_rewrite to add it back but not sure.
apache-httpd mod-rewrite
apache-httpd mod-rewrite
New contributor
Eric Cooksey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Eric Cooksey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 3 hours ago
Rui F Ribeiro
38.1k1475123
38.1k1475123
New contributor
Eric Cooksey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 6 hours ago
Eric Cooksey
41
41
New contributor
Eric Cooksey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Eric Cooksey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Eric Cooksey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Redirects to the same host, port, and protocol can't affect cookies, they get sent by the browser anyway. mod_speling does not set its own cookies. Are your redirects going to the same origin as the cookie?
– Michael Homer
2 hours ago
add a comment |
Redirects to the same host, port, and protocol can't affect cookies, they get sent by the browser anyway. mod_speling does not set its own cookies. Are your redirects going to the same origin as the cookie?
– Michael Homer
2 hours ago
Redirects to the same host, port, and protocol can't affect cookies, they get sent by the browser anyway. mod_speling does not set its own cookies. Are your redirects going to the same origin as the cookie?
– Michael Homer
2 hours ago
Redirects to the same host, port, and protocol can't affect cookies, they get sent by the browser anyway. mod_speling does not set its own cookies. Are your redirects going to the same origin as the cookie?
– Michael Homer
2 hours ago
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Eric Cooksey is a new contributor. Be nice, and check out our Code of Conduct.
Eric Cooksey is a new contributor. Be nice, and check out our Code of Conduct.
Eric Cooksey is a new contributor. Be nice, and check out our Code of Conduct.
Eric Cooksey is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f481098%2fwhy-apache-mod-speling-redirects-lose-cookie%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Redirects to the same host, port, and protocol can't affect cookies, they get sent by the browser anyway. mod_speling does not set its own cookies. Are your redirects going to the same origin as the cookie?
– Michael Homer
2 hours ago