On 12/18/06, Ding Deng <[EMAIL PROTECTED]> wrote:
"Alberto Alvarez" <[EMAIL PROTECTED]> writes:
> Hi all,
> please I need some help configuring my httpd.conf rewriterule
> section. I´m actually receiving requests from a specific IP address, I
> would like to add an HTTP Header to the request when receiving
> requests from this IP.
>
> Can I do that? And if yes, how can I do it?
http://httpd.apache.org/docs/2.0/mod/mod_headers.html#examples
Does example 4 above make sense?
I´m afraid this example is for response headers. I´m looking how to
modify the request´s header by adding a new one only if that request
comes from a specific IP address.
Good try :)
> I´ve been looking at the RewriteCond sentences but they only work well
> with rewrite rules and not with RequestHeader directives.
>
> All help is more than welcome.
>
> Thanks in advance!
>
> cheers,
>
> Alberto.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> " from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]