I have the following very simple gateway set up. For some reason I
am getting the field
Content-Type: text/plain
added to the HTTP header. Thus pages served through the apache
gateway display the source code rather than displaying as html.
I'm also confused by why the "Header always unset Content-Type"
doesn't cure my problem. I thought it should strip out all
occurrences of "Content-Type". As you can see from the commented out
lines below, I also tried a simple rewrite rule. I assume I'm making
a silly mistake. Can anybody help me spot it?
Thanks,
Jonathan
-------proxy part of config file------
#gateway to sage
ProxyRequests Off
ProxyVia Off
ProxyPreserveHost On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /sage http://127.0.0.1:8000
ProxyPassReverse /sage http://127.0.0.1:8000
Header always unset Content-Type
#RewriteEngine On
#RewriteRule ^/sage(.*)$ http://127.0.0.1:8000$1 [P,T=text/html]
---------------------------
Dr. Jonathan H. Gutow
Chemistry Department [email protected]
UW-Oshkosh Office:920-424-1326
800 Algoma Boulevard FAX:920-424-2042
Oshkosh, WI 54901
http://www.uwosh.edu/faculty_staff/gutow/
---------------------------------------------------------------------
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]