Re: Perl section and request object

2007-09-20 Thread antoine7
Many thanks all, I've phone to a local Sysop who give me a VirtualHost solution. I'll take a look at mod-perl2 for some future project. Antoine -- View this message in context: http://www.nabble.com/Perl-section-and-request-object-tf4479522.html#a12804695 Sent from the mod_perl

Re: Perl section and request object

2007-09-20 Thread Philippe M. Chiasson
antoine7 wrote: > I've an SVN server on the same machine, at each commit the svn server update > the changes to a local directory /www with this structure > > [...] > > I've all working, except I don't know what Host is asked by the developper > on the apache server, You mean, $r->hostname ?

Re: Perl section and request object

2007-09-19 Thread antoine7
e solution to read the /www directory and generate dynamicly some VHost but the server will have to be restarted each time a directory is added to /www ... it's not a good option in my point of view antoine -- View this message in context: http://www.nabble.com/Perl-section-and-request-obje

Re: Perl section and request object

2007-09-19 Thread Malcolm J Harwood
On Wednesday 19 September 2007 4:43:25 am antoine7 wrote: > > use Apache2::RequestUtil (); > my $r = Apache2::RequestUtil->request; > [...] > > > But when I restart the server I get the following error message > etch:~# /etc/init.d/apache2 restart > Forcing reload of web

Re: Perl section and request object

2007-09-19 Thread antoine7
I've just test, changing the directive to a section in apache conf, but I've always the same error. -- View this message in context: http://www.nabble.com/Perl-section-and-request-object-tf4479522.html#a12774905 Sent from the mod_perl - General mailing list archive at Nabble.com.

Re: Perl section and request object

2007-09-19 Thread bharanee rathna
or on line 7 of > /etc/apache2/sites-enabled/999-vhost: > \t(in cleanup) Global $r object is not available. Set:\n\tPerlOptions > +GlobalRequest\nin httpd.conf at /etc/apache2/sites-enabled/999-vhost line > 9.\n > failed! > > But I've already add PerlOptions +GlobalRequest

Perl section and request object

2007-09-19 Thread antoine7
cleanup) Global $r object is not available. Set:\n\tPerlOptions +GlobalRequest\nin httpd.conf at /etc/apache2/sites-enabled/999-vhost line 9.\n failed! But I've already add PerlOptions +GlobalRequest ... Has anyone got an idea ? Thanks -- View this message in context: http://www.nabble.com/P