How can I get the Apache server number?

2009-10-14 Thread Adam Woodworth
Say you're using the prefork MPM and you have 200 Apache children. Is there a way, within mod_perl, to find out what the server number is for the apache child in which mod_perl is running? Not the PID number, but the server number (or whatever it's called) -- i.e., a number between 1 and 200 that

Re: Configuring virtual hosts on the fly

2009-10-14 Thread Scott Gifford
Scott Gifford writes: [...] > I see some hooks in PerlTransHandler and PerlMapToStorageHandler that > seem like they can almost do what I want, but I don't see how to set > other virtual host parameters, like ServerAdmin, UseCanonicalName, > etc. I was able to get something I like working in Pe