Hi all, 

I've a strange situation here

I have a trac installation which works well if it is accessed within the 
same network or even if we login via vpn.

But if we access it via the firewall from outside it works not correctly.
It looks like if the response is not correct.

For example: 
After a login (via AccountManager Plugin) the result side is the page from 
bevor, and seem not to be authenticated.
But if we change the URL directly to a target (ex. http://host/wiki) the 
correct, logged in page is shown.

If we now log out, the page says logged in. A manual change do a not 
visited target says logged out again.
The log on the apache webserver says also different things for requests 
inside or outside the network

Login process from inside:
myhost.lan:80 10.134.0.10 - - [23/Sep/2012:17:13:05 +0200] "GET /login 
HTTP/1.1" 200 1674 "http://myhost.net/"; "Mozilla/5.0 (Windows NT 6.1) 
AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1"
myhost.lan:80 10.134.0.10 - - [23/Sep/2012:17:13:15 +0200] "POST /login 
HTTP/1.1" 303 581 "http://myhost.net/login"; "Mozilla/5.0 (Windows NT 6.1) 
AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1"
myhost.lan:80 10.134.0.10 - - [23/Sep/2012:17:13:15 +0200] "GET / HTTP/1.1" 
200 2630 "http://myhost.net/login"; "Mozilla/5.0 (Windows NT 6.1) 
AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1"


Login process from outside:
myhost.lan:80 213.162.68.19 - - [23/Sep/2012:17:13:36 +0200] "GET /login 
HTTP/1.1" 200 1677 "http://myhost.net/"; "Mozilla/5.0 (Windows NT 6.1) 
AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1"
myhost.lan:80 213.162.68.19 - - [23/Sep/2012:17:13:44 +0200] "POST /login 
HTTP/1.1" 303 582 "http://myhost.net/login"; "Mozilla/5.0 (Windows NT 6.1) 
AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1"

The firewall used is a pfSense 2.0 with a direct NAT Rule to forward the 
requests to the trac server,
Trac Version is 1.0 with python 2.6 (debian linux) with apache2

May anyone can help?
Regards,
Gernot

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/trac-users/-/Q1aCMVo6piMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to