Re: mod_rewrite: Conditionally set RemoteIPHeader

[email protected] Wed, 11 Jun 2025 18:31:19 -0400
Newsgroups gmane.comp.apache.user
Message-ID <[email protected]>
Does anyone know of a way to conditionally set the RemoteIPHeader 
directive for mod_remoteip? I've tried a few things; a simple if/else 
says "RemoteIPHeader is not allowed here." And trying to set my own 
request header that I can point "RemoteIPHeader" to doesn't seem to 
work; no matter how I order it or create it it seems that RemoteIPHeader 
doesn't recognize the new header I've generated.

Any ideas?

Thanks in advance!

Dan