I have a mod_perl2 module that writes some files to the working directory. The standard working directory of mod_perl2 or Apache2 seems to be "/". Of course, Apache is not allowed to write files in this directory.
Can anyone tell me how I can change the working directory or the directory mod_perl2 writes to?
I use Apache2 Prefork on SLES 10.