Why Apache mod_speling redirects lose cookie?

The name of the pictureThe name of the pictureThe name of the pictureClash 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.










share|improve this question









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














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.










share|improve this question









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












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.










share|improve this question









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






share|improve this question









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.











share|improve this question









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.









share|improve this question




share|improve this question








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
















  • 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















active

oldest

votes











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






Eric Cooksey is a new contributor. Be nice, and check out our Code of Conduct.









 

draft saved


draft discarded


















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



































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.









 

draft saved


draft discarded


















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.













 


draft saved


draft discarded














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













































































Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)