143 reputation
6
bio website
location
age
visits member for 2 years, 10 months
seen Feb 1 '13 at 19:02

Jul
2
awarded  Curious
Aug
20
comment How to add an application context in apache2
I can't get this to work properly. I've updated my question to include the contents of the virtual host. Let me know if anything stands out. Thanks!
Aug
20
revised How to add an application context in apache2
added 709 characters in body
Aug
19
asked How to add an application context in apache2
Aug
5
accepted Apache2 - Forward a value from URL param OR cookie, whichever is present
Aug
5
awarded  Commentator
Aug
5
comment Apache2 - Forward a value from URL param OR cookie, whichever is present
Ok, that should have been a no-brainer. That's what I get for working late!
Aug
5
revised Apache2 - Forward a value from URL param OR cookie, whichever is present
added 301 characters in body
Aug
5
accepted Use apache to strip off a URL param and add it as a custom HTTP header on a redirect
Aug
5
asked Apache2 - Forward a value from URL param OR cookie, whichever is present
Aug
5
answered Use apache to strip off a URL param and add it as a custom HTTP header on a redirect
Aug
2
comment Use apache to strip off a URL param and add it as a custom HTTP header on a redirect
let us continue this discussion in chat
Aug
2
comment Use apache to strip off a URL param and add it as a custom HTTP header on a redirect
Is there anyway to verify that it set the cookie? When the request gets to my server listening on port 9000, I don't see the cookie. I found some documentation indicating that your syntax is correct, so I'm not sure why I wouldn't be getting the cookie.
Aug
2
comment Use apache to strip off a URL param and add it as a custom HTTP header on a redirect
Thanks, that looks a lot closer to what I'm looking for, but again, I'm a total noob. Where do I place these Rewrite directives? I also have a lot of questions about the syntax inside the brackets and the meaning of some of the values (especially 1440) but feel free to link me to something if the explanation is too lengthy!
Aug
2
comment Use apache to strip off a URL param and add it as a custom HTTP header on a redirect
I was hoping to see what this would look like in an apache site definition. I don't want my server code to know this is happening. It's another system that will be adding this cookie when we go live, and I'm basically trying to mock out that system just using apache.
Aug
2
comment Use apache to strip off a URL param and add it as a custom HTTP header on a redirect
Thanks. Can you show an example of setting a cookie and doing a redirect? And would it be possible to use a URL parameter as the cookie value?
Aug
2
comment Use apache to strip off a URL param and add it as a custom HTTP header on a redirect
Thanks for your response. Can you show an example configuration that writes a url parameter to a cookie and does a redirect?
Aug
2
comment Use apache to strip off a URL param and add it as a custom HTTP header on a redirect
@mask8: I made an update to my question. It looks to me like you should be able to add request headers of any sort but maybe I'm misinterpreting what I've read there.
Aug
2
revised Use apache to strip off a URL param and add it as a custom HTTP header on a redirect
added 288 characters in body
Aug
2
comment Use apache to strip off a URL param and add it as a custom HTTP header on a redirect
Yes, I was hoping I could have the clients request the redirect URL with a custom http header. If http-cookie is the only way to add values to the request via apache2, can you please demonstrate this?