Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http host and http_raw_host keywords #280

Closed
wants to merge 3 commits into from

Conversation

poona
Copy link
Contributor

@poona poona commented Feb 9, 2013

IN case of http_raw_host kewyord, if the hostname is present in the Host keywrod only and not the uri, is there any way to extract just the hostname from the header. Currently I am using the http host header and that contains the entire header value, hence the port as well.

The corresponding content keyword would now be - http_host.
The corresponding pcre modifier would be W.
The corresponding pcre modifier would be 'Z'.
…ywords,

against various combinations of hostname in uri and host header.
@poona
Copy link
Contributor Author

poona commented Feb 18, 2013

Coming to think of it, I should probably close this PR and reintroduce the above keywords as sticky buffers? - http_host_data and http_raw_host_data ?

@inliniac
Copy link
Contributor

No, we're only supporting the file_data syntax for compatibility reasons currently. The whole concept you call "sticky buffers" is not something we've decided to do currently.

@poona
Copy link
Contributor Author

poona commented Feb 18, 2013

oh! cool. Thought were heading in that direction.

@inliniac
Copy link
Contributor

Merged, thanks Anoop.

@inliniac inliniac closed this Feb 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants