NameVirtualHost xx.xx.xx.xx
<VirtualHost xx.xx.xx.xx>
RewriteEngine on
RewriteLog /var/log/httpd/httpd_rewrite.log
RewriteLogLevel 6
RewriteRule ^/resources/(.*) http://headcount.sgi.com:81/resources/$1 [P,L]
RewriteRule ^/(.*) http://headcount.sgi.com:81/$1 [P]
</VirtualHost>
When I go to http://xyz.sgi.com (which is the same machine as headcount.sgi.com, but a different IP address) I get he intro page for Apache 1.3 so I know the second rule is working. But when I go to http://xyz,sgi.com/resources/input I get what looks like what might be the right output, but it's got this header on it.
Date: Tue, 14 Dec 2004 19:44:45 GMT Server: Apache/1.3.33 (Unix) mod_jk/1.2.6 Pragma: no-cache Cache-Control: no-cache Expires: Thu, 01 Jan 1970 00:00:00 GMT Content-Type: text/html;charset=ISO-8859-1 Content-Length: 36695 Connection: close
<html>
<STYLE TYPE="text/css"> <!-- DIV.menu { position: absolute; top: 79px; visibility: hidden;} #menu0 { left: 156px; z-index: 101; width: 107px;} #menu1 { left: 264px; z-index: 102; width: 110px;}
Removing the first rule gives me exactly the same results.
What I should be seying is the Content-type followed by the rest of the html, but what's that extra stuff doing there? I assume the mod_jk put it in there.
So how can I make this configuration work, or can it?
Thanks, Jim.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
