simran wrote:
Further to my previous email (as below), i have noticed that
if i set the document_root to something that does not exist
(eg. "/blahblah") - then in the PerlCleanupHandler, the document root (before reset) is
set to "/blahblah" - if i had set it to something that existed, then was i set it to 
is not maintained!!!

I have also tried to putting in handlers of every sort and logging what they see, and
PerlAccessHandler, PerlTypeHandler and PerlFixupHandler all see the correct document root (the one i have set), the PerlHandler
invoked after the PerlFixupHandler and everything thereafter, do not see the document root i had set.



the best thing you can do for us at this point is to reduce the situation down as far as possible so others can easily reproduce it.


my suggestion is to use Apache-Test to create a self-contained tarball that exhibits the behavior you describe. you can use this as a starting point:

http://www.modperlcookbook.org/~geoff/bug-mp2.tar.gz

although geared toward mod_perl 2.0, Apache-Test can be used with mp1 as well. see the following for more examples

http://www.modperlcookbook.org/~geoff/perl.com/Apache-Clean-1.0.tar.gz
http://www.perl.com/pub/a/2003/05/22/testing.html
http://perl.apache.org/docs/general/testing/testing.html
http://www.modperlcookbook.org/~geoff/slides/OSCon/2003/OSCon2003-test-printable.ppt

basically, if you create a tarball that others can use to reproduce the problem, it's more likely to get pinpointed and addressed. you might even "fix" the bug in the process (by removing something that was interfering), or even learn something both useful and fun :)

oh, and please post a link to the tarball, rather than including it in an email to the list ;)

--Geoff




Reply via email to