[users@httpd] ProxyRequest and Log file!

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

 



Hi,

I have a virtual host that does proxy to a JBOSS instance, the configuration is as follow:
<VirtualHost *:80>
ServerName www.bidnplay.com
ServerAdmin admin@xxxxxxxxxxxx
SetEnvIf Remote_Addr "127\.0\.0\.1" dontlog
SetEnvIf Remote_Addr "192\.168\.2\.*" dontlog
SetEnvIf Remote_Addr "213\.219\.9\.70" dontlog
SetEnvIf Remote_Addr "139\.149\.1\.211" dontlog
CustomLog logs/access-bidnplay.log combined env=!dontlog
ProxyRequests On
<Proxy http://www.bidnplay.com>
Order deny,allow
Allow from 192.168.2.1
Allow from all
</Proxy>
ProxyPass /sudetp http://www.bidnplay.com:8080/sudetp/
ProxyPass / http://www.bidnplay.com:8080/sudetp/
ProxyPassReverse / http://www.bidnplay.com:8080/sudetp/
</VirtualHost>

However, I have a little issue with the log file
Before the proxy, I had the following line:
127.0.0.1 - - [01/May/2005:21:05:29 +0100] "GET / HTTP/1.1" 200 8201 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"
After the proxy, I have the following line:
218.5.84.204 - - [02/Jun/2005:21:30:58 +0100] "GET / HTTP/1.1" 302 - "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" The return size is '-'! The issue is that web stats (awstats) is relying on the returned sized?

Any idea why the returned size is now set to '-'

Thanks.
DvJ



---------------------------------------------------------------------
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