[TriLUG] mod_header
Jeremy Portzer
jeremyp at pobox.com
Mon Jan 10 22:33:15 EST 2005
On Mon, 10 Jan 2005, Steve Hoffman wrote:
> Here's my httpd info below:
>
> <VirtualHost *:80>
> ServerName wap.domain.com
> ProxyRequests off
> ProxyPass / http://www.domain.com/wap/
> ProxyPassReverse / http://www.domain.com/wap/
> Header unset Content-Type
> Header set Content-Type text/vnd.wap.wml
> </VirtualHost>
I'm guessing the reason this doesn't work is because the charset setting
(and perhaps even the entire Content-type setting) gets added/determined
after the Header commands happen here. There's probably elsewhere in
Apache that you can specify how it handles content types, charsets, etc.
> I can add headers all day long, but I can't overwrite that one. I've
> tried single and double quotes around text/vnd.wap.wml
That's not what you should be googling on. Google on things like
content-type, Apache, charset=ISO-8859-1 , etc. The text/vnd.wap.wml is
incidental to your actual problem here.
Also, you should beat the Nextel engineers over their heads with the
standards. I give you permission. ;-)
Good luck.
Jeremy
--
/---------------------------------------------------------------------\
| Jeremy Portzer jeremyp at pobox.com trilug.org/~jeremy |
| GPG Fingerprint: 712D 77C7 AB2D 2130 989F E135 6F9F F7BC CC1A 7B92 |
\---------------------------------------------------------------------/
More information about the TriLUG
mailing list