RE: modify Host header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Try 

RequestHeader set Host "%{SERVER_NAME}:443"

~Jet

________________________________________
From: Eqbal Z [mailto:eqbalz@xxxxxxxxx] 
Sent: Thursday, March 27, 2008 5:01 PM
To: users@xxxxxxxxxxxxxxxx
Subject:  modify Host header

I need to modify the Host header for my application in order to add the port information.
I tried the following directive
 
RequestHeader set Host "%{HOST_NAME}e:443"
 
This sets it to (null):443
 
How do I get the host name value here? For example if the request comes in as http://www.myhostname.com:8100/requested_resource
I am trying to get the www.myhostname.com part in the above directive by using %{HOST_NAME}e
 
Any help is greatly appreciated.
 
Thanks.
----------
Learn more about Chase Paymentech Solutions,LLC payment processing services at www.chasepaymentech.com.

THIS MESSAGE IS CONFIDENTIAL.  This e-mail message and any attachments are proprietary and confidential information intended only for the use of the recipient(s) named above.  If you are not the intended recipient, you may not print, distribute, or copy this message or any attachments.  If you have received this communication in error, please notify the sender by return e-mail and delete this message and any attachments from your computer.


---------------------------------------------------------------------
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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux