Re: Apache::TestRequest + Cookies

2004-11-24 Thread Stas Bekman
Christopher H. Laco wrote: Has anyone used ApacheTestRequest to test pages using cookiessessions? I'm writing some quick and dirty tests for an AxKit session module I've adopted. I've got everything up and running config wise and the pages are getting run through AxKit just fine. The first two

Re: Apache-TestItSelf

2004-11-24 Thread Stas Bekman
Stas Bekman wrote: Before we can try to improve the problems with A-T config issues, we need a test suite. Since until now, every fix was breaking 10 other things. So I've started working on one. It's probably going to change a lot, but I have a working prototype. In order to use it apply the

Re: Apache::TestRequest + Cookies

2004-11-24 Thread Michael Peters
Stas Bekman wrote: Christopher H. Laco wrote: Has anyone used ApacheTestRequest to test pages using cookiessessions? I'm writing some quick and dirty tests for an AxKit session module I've adopted. I've got everything up and running config wise and the pages are getting run through AxKit just

Re: Apache::TestRequest + Cookies

2004-11-24 Thread Christopher H. Laco
Thanks. I'll give that a whirl tonight. I finally got the hack approach working by calling $apacheRequestResponse-headers(Set-Cookie) and passing that result right back into the [scantily mentioned] second param of Apache::TestRequest::GET 'url', headername = headervalue Since I only had on

Re: Apache::TestRequest + Cookies

2004-11-24 Thread Christopher H. Laco
[snip] Or more to the point: my $r = GET 'url', Cookie = $apacheRequestResponse-headers(Set-Cookie);

Re: Apache::TestRequest + Cookies

2004-11-24 Thread Stas Bekman
Christopher H. Laco wrote: Thanks. I'll give that a whirl tonight. I finally got the hack approach working by calling $apacheRequestResponse-headers(Set-Cookie) and passing that result right back into the [scantily mentioned] second param of Apache::TestRequest::GET 'url', headername =

is it safe to enable Lockfile for all mpms across all apache generations?

2004-11-24 Thread Stas Bekman
It looks like some poeple have a problem with LockFile directive being compiled to a hardcoded value. The problem: [Tue Nov 02 17:16:22 2004] [emerg] (13)Permission denied: Couldn't create accept lock Is it safe to set LockFile for all mpms? For apache 1.3? If yes, I'm going to add it to test

Re: Apache::TestRequest + Cookies

2004-11-24 Thread Christopher H. Laco
if you could also contribute the cookie test that would be handy too. I'm feeling a bit dense at the moment. To the list, or to the forthcoming [self] test suite? I'm not sure I understand the request. P.S. Sorry about my list replies full of headers. I need to unsubscribe from Hotmail and use

Re: Apache::TestRequest + Cookies

2004-11-24 Thread Stas Bekman
Christopher H. Laco wrote: if you could also contribute the cookie test that would be handy too. I'm feeling a bit dense at the moment. To the list, or to the forthcoming [self] test suite? I'm not sure I understand the request. Either way if you find how to use A-T to handle cookies or fix it

Re: Apache::TestRequest + Cookies

2004-11-24 Thread Christopher H. Laco
Either way if you find how to use A-T to handle cookies or fix it to do so, it's be handy to add a new A-T tests (in addition to existing ones in Apache-Test/t/) so we don't break this feature in the future, which is easily possible sans having a test. Plus it'll be great to have this