Re: Mailman + Apache + Cookies + FreeBSD

2008-10-14 Thread Benjamin Lee
On 10/09/08 14:59, Grant Peel wrote:
 Hi all,
 
 I am not a fan of cross posting, but, I have to make a exception in this
 case as I can't seem to nail down whether its the software or OS causing
 me the problem.
 
 Software: Apache 2.2, Python 2.5, Mailmain 2.1.11
 OS: FreeBSD 6.2 Release #0
 
 Apache and Python were built from ports, Mailman was built from source.
 
 Problem: I can't stay logged into the Mailman web interface. Each time I
 submit a form, I am logged out. When I do log in, If I look on my local
 machine, I cant find a session cookie anywhere. It like is never set.
 And the Mailman documentation clearly states that none of the changes
 will be saved in that scenario.
 
 Question: are there any people out there who can point me in the right
 direction? I assume that Python should be setting a cookie, but thats
 just a guess ... could it be OS related?

Is your Mailman web interface served over https?  If so, you might want
to check that DEFAULT_URL_PATTERN is set correctly in mm_cfg.py, for
instance:

DEFAULT_URL_PATTERN = 'https://%s/mailman/'


-- 
Benjamin Lee



signature.asc
Description: OpenPGP digital signature


Re: Mailman + Apache + Cookies + FreeBSD

2008-10-12 Thread Grant Peel

Jeff,

are you running apache with Suexec? If so I would realy like to expand in 
this with you.


-Grant

- Original Message - 
From: Jeffrey Goldberg [EMAIL PROTECTED]

To: Odhiambo Washington [EMAIL PROTECTED]
Cc: Grant Peel [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Sent: Saturday, October 11, 2008 11:10 PM
Subject: Re: Mailman + Apache + Cookies + FreeBSD



On Oct 10, 2008, at 1:45 AM, Odhiambo Washington wrote:


Could you downgrade Mailman and see if the problem still persists?
I run the combination you have (except Mailman is 2.1.9 and FreeBSD is
6.3) and I haven't had an issue. Might be a bug introduced in Mailman
2.1.11


I'm running mailman 2.1.11 (installed from ports) without the  described 
problem.


So in at least one case, Apache, FreeBSD and Mailman 2.1.11 work  without 
exhibiting the described problem.


-j

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mailman + Apache + Cookies + FreeBSD

2008-10-11 Thread Jeffrey Goldberg

On Oct 10, 2008, at 1:45 AM, Odhiambo Washington wrote:


Could you downgrade Mailman and see if the problem still persists?
I run the combination you have (except Mailman is 2.1.9 and FreeBSD is
6.3) and I haven't had an issue. Might be a bug introduced in Mailman
2.1.11


I'm running mailman 2.1.11 (installed from ports) without the  
described problem.


So in at least one case, Apache, FreeBSD and Mailman 2.1.11 work  
without exhibiting the described problem.


-j

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mailman + Apache + Cookies + FreeBSD

2008-10-10 Thread Odhiambo Washington
On Fri, Oct 10, 2008 at 12:59 AM, Grant Peel [EMAIL PROTECTED] wrote:
 Hi all,

 I am not a fan of cross posting, but, I have to make a exception in this
 case as I can't seem to nail down whether its the software or OS causing me
 the problem.

 Software: Apache 2.2, Python 2.5, Mailmain 2.1.11
 OS: FreeBSD 6.2 Release #0

 Apache and Python were built from ports, Mailman was built from source.

 Problem: I can't stay logged into the Mailman web interface. Each time I
 submit a form, I am logged out. When I do log in, If I look on my local
 machine, I cant find a session cookie anywhere. It like is never set. And
 the Mailman documentation clearly states that none of the changes will be
 saved in that scenario.

 Question: are there any people out there who can point me in the right
 direction? I assume that Python should be setting a cookie, but thats just a
 guess ... could it be OS related?


Could you downgrade Mailman and see if the problem still persists?
I run the combination you have (except Mailman is 2.1.9 and FreeBSD is
6.3) and I haven't had an issue. Might be a bug introduced in Mailman
2.1.11

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Oh My God! They killed init! You Bastards!
--from a /. post
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mailman + Apache + Cookies + FreeBSD

2008-10-09 Thread Grant Peel

Hi all,

I am not a fan of cross posting, but, I have to make a exception in this 
case as I can't seem to nail down whether its the software or OS causing me 
the problem.


Software: Apache 2.2, Python 2.5, Mailmain 2.1.11
OS: FreeBSD 6.2 Release #0

Apache and Python were built from ports, Mailman was built from source.

Problem: I can't stay logged into the Mailman web interface. Each time I 
submit a form, I am logged out. When I do log in, If I look on my local 
machine, I cant find a session cookie anywhere. It like is never set. And 
the Mailman documentation clearly states that none of the changes will be 
saved in that scenario.


Question: are there any people out there who can point me in the right 
direction? I assume that Python should be setting a cookie, but thats just a 
guess ... could it be OS related?


TIA,

-Grant 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mailman + Apache + Cookies + FreeBSD

2008-10-09 Thread Chuck Swiger

On Oct 9, 2008, at 2:59 PM, Grant Peel wrote:
Problem: I can't stay logged into the Mailman web interface. Each  
time I submit a form, I am logged out. When I do log in, If I look  
on my local machine, I cant find a session cookie anywhere. It like  
is never set. And the Mailman documentation clearly states that none  
of the changes will be saved in that scenario.


Question: are there any people out there who can point me in the  
right direction? I assume that Python should be setting a cookie,  
but thats just a guess ... could it be OS related?


Try restarting your browser, and double-checking that your preferences  
allow the webserver to set cookies.


Regards,
--
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mailman + Apache + Cookies + FreeBSD

2008-10-09 Thread Grant Peel

Thanks Chuck,

Tried all that several times.

My browser accepts cookies from many different (tested today and yesterday) 
sites.


-Grant

- Original Message - 
From: Chuck Swiger [EMAIL PROTECTED]

To: Grant Peel [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Thursday, October 09, 2008 6:09 PM
Subject: Re: Mailman + Apache + Cookies + FreeBSD



On Oct 9, 2008, at 2:59 PM, Grant Peel wrote:
Problem: I can't stay logged into the Mailman web interface. Each  time I 
submit a form, I am logged out. When I do log in, If I look  on my local 
machine, I cant find a session cookie anywhere. It like  is never set. 
And the Mailman documentation clearly states that none  of the changes 
will be saved in that scenario.


Question: are there any people out there who can point me in the  right 
direction? I assume that Python should be setting a cookie,  but thats 
just a guess ... could it be OS related?


Try restarting your browser, and double-checking that your preferences 
allow the webserver to set cookies.


Regards,
--
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mailman + Apache + Cookies + FreeBSD

2008-10-09 Thread Jerry
On Thu, 9 Oct 2008 17:59:52 -0400
Grant Peel [EMAIL PROTECTED] wrote:

Hi all,

I am not a fan of cross posting, but, I have to make a exception in
this case as I can't seem to nail down whether its the software or OS
causing me the problem.

Software: Apache 2.2, Python 2.5, Mailmain 2.1.11
OS: FreeBSD 6.2 Release #0

Apache and Python were built from ports, Mailman was built from source.

Problem: I can't stay logged into the Mailman web interface. Each time
I submit a form, I am logged out. When I do log in, If I look on my
local machine, I cant find a session cookie anywhere. It like is never
set. And the Mailman documentation clearly states that none of the
changes will be saved in that scenario.

Question: are there any people out there who can point me in the right 
direction? I assume that Python should be setting a cookie, but thats
just a guess ... could it be OS related?

Just out of morbid curiosity, why did you build it from source? Mailman
is available in the ports.


-- 
Jerry
[EMAIL PROTECTED]

The very remembrance of my former misfortune proves a new one to me.

Miguel de Cervantes


signature.asc
Description: PGP signature


Re: Mailman + Apache + Cookies + FreeBSD

2008-10-09 Thread Grant Peel

Jerry,

I tried a few times to build it from source but since I am using 
Apache+Suexec, I was stuck on how to 'make' it and pass the parms needed to 
set the user and home directory, i.e. I needed the install directory to be 
set to /home/mailmain when the ports version insisted on setting it to 
/usr/local/mailman.


-Grant

- Original Message - 
From: Jerry [EMAIL PROTECTED]

To: freebsd-questions@freebsd.org
Sent: Thursday, October 09, 2008 6:22 PM
Subject: Re: Mailman + Apache + Cookies + FreeBSD


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mailman + Apache + Cookies + FreeBSD

2008-10-09 Thread Paul Schmehl
--On October 9, 2008 7:58:49 PM -0500 Grant Peel [EMAIL PROTECTED] 
wrote:




Jerry,

I tried a few times to build it from source but since I am using
Apache+Suexec, I was stuck on how to 'make' it and pass the parms needed
to
set the user and home directory, i.e. I needed the install directory to
be
set to /home/mailmain when the ports version insisted on setting it to
/usr/local/mailman.


cd /usr/ports/mail/mailman

make install PREFIX=/home clean

Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: Mailman + Apache + Cookies + FreeBSD

2008-10-09 Thread mdh
--- On Thu, 10/9/08, Grant Peel [EMAIL PROTECTED] wrote:
 From: Grant Peel [EMAIL PROTECTED]
 Subject: Mailman + Apache + Cookies + FreeBSD
 To: freebsd-questions@freebsd.org
 Date: Thursday, October 9, 2008, 5:59 PM
 Hi all,
 
 I am not a fan of cross posting, but, I have to make a
 exception in this 
 case as I can't seem to nail down whether its the
 software or OS causing me 
 the problem.
 
 Software: Apache 2.2, Python 2.5, Mailmain 2.1.11
 OS: FreeBSD 6.2 Release #0
 
 Apache and Python were built from ports, Mailman was built
 from source.
 
 Problem: I can't stay logged into the Mailman web
 interface. Each time I 
 submit a form, I am logged out. When I do log in, If I look
 on my local 
 machine, I cant find a session cookie anywhere. It like is
 never set. And 
 the Mailman documentation clearly states that none of the
 changes will be 
 saved in that scenario.
 
 Question: are there any people out there who can point me
 in the right 
 direction? I assume that Python should be setting a cookie,
 but thats just a 
 guess ... could it be OS related?

In short, no, there's really no way that the OS could be at fault unless you 
had some weird TCP stack bug that caused it to drop the same packet every time, 
which someone else would've noticed by now.  ;)

The long answer is that Cookies are set by headers in the HTTP protocol 
response, and sent back to the server in the request headers of the clients 
subsequent requests.  Python doesn't set cookies, Apache does, but python can 
command Apache to do so, and Mailman can, as a python script, command python to 
do so.  Chances are mailman is what's misconfigured.  
- mdh



  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]