where is HTTP Header?
Hi guys ,
I need to use this code :
Set-Cookie: value[; expires=date][; domain=domain][; path=path][; secure]
But I don't know how should I do this in WHM . Can Anybody help me with that ? Is HTTP Header related to Cpanel Or my webserver? How can I edit it?
-
[quote="rko4all, post: 1694211">Hi guys , I need to use this code : Set-Cookie: value[; expires=date][; domain=domain][; path=path][; secure] But I don't know how should I do this in WHM . Can Anybody help me with that ? Is HTTP Header related to Cpanel Or my webserver? How can I edit it?
Hi rko4all, What are you trying to accomplish?0 -
I want my server to send only one cookie to all visitors, I know it might be dangerous but it's just a test 0 -
If you're using Apache 2.4, it comes with mod_session_cookie to help with these types of issues. However, if you're using Apache 2.2, you need to use mod_header and use syntax similar to the following: Header add Set-Cookie "cookie parameters here" There are plenty of search results out there to elaborate with the caveats of when/how they work. 0 -
how can I see apache version ? what if I am using litespeed plugin on whm ? header are sent by apache anyway ? 0 -
If you're using Apache, you can run the following command to see your Apache version: [QUOTE]/usr/local/apache/bin/httpd -v
If you're using Litespeed, it would be best to ask the main cPanel & WHM Discussions forum for that information.0
Please sign in to leave a comment.
Comments
5 comments