Alias

2009-11-11 Thread Idel Fuschini
Hi, i've got in httpd.conf this directive Alias /dummy/ "/var/local/apache2/example" How can I take the real path value ? Idel

alias command in modperl environment

2012-12-19 Thread Feng He
PerlResponseHandler Handler2 Alias /zzz/ "/var/www/zzz/" Options FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all ErrorLog /var/log/apache2

Problems with SetEnv and Alias

2009-05-24 Thread Geoff Toogood
that would be good! I am running mod_perl 2 on a debian server using apache2 I have a directive which incorporates a mod_perl PerlTransHandler. This VirtualHost block of the config also has some Alias and SetEnv directives defined. The PerlTransHandler module behaves correctly and works well b

Re: alias command in modperl environment

2012-12-19 Thread Jie Gao
What's the error message in your errlog.log? -Jie Please think of our environment and only print this e-mail if necessary. * Feng He wrote: > Date: Wed, 19 Dec 2012 16:40:13 +0800 > From: Feng He > To: modperl@perl.apache.org > Subject: alias command in modperl environ

Re: alias command in modperl environment

2012-12-19 Thread Feng He
于 2012-12-19 16:47, Jie Gao 写道: What's the error message in your errlog.log? it simply said access reject.

Re: alias command in modperl environment

2012-12-19 Thread Jie Gao
Raise loglevel to debug and see what you get in the log then. -Jie * Feng He wrote: > Date: Wed, 19 Dec 2012 17:05:20 +0800 > From: Feng He > To: Jie Gao > CC: modperl@perl.apache.org > Subject: Re: alias command in modperl environment > User-Agent: Mozilla/5.0 (Windows NT 5

Re: alias command in modperl environment

2012-12-19 Thread André Warnier
modperl PerlResponseHandler Handler2 Alias /zzz/ "/var/www/zzz/" Options FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all ErrorLog /var/l

Re: alias command in modperl environment

2012-12-19 Thread Andy Colson
SetHandler modperl PerlResponseHandler Handler2 Alias /zzz/ "/var/www/zzz/" Options FollowSymLinks MultiViews AllowOverride None Order allow,deny allo

Re: alias command in modperl environment

2012-12-19 Thread Feng He
PerlResponseHandler Handler1 SetHandler modperl PerlResponseHandler Handler2 Alias /zzz/ "/var/www/zzz/" Options FollowSymLinks MultiViews AllowOve

Apache::DBI - alias disconnect before overload?

2006-05-25 Thread Jonathan Vanasco
I need to re-integrate disconnect back into Apache::DBI managed connections my choices are either: a- do it in some hacktastical manner that is useful only to me, but takes 20 minutes to implement b- do it as an actual reintegration/patch to Apache::DBI that others can use , but takes w

Re: Problems with SetEnv and Alias

2009-05-27 Thread Fred Moyer
on and if there is a > relevant part of it you can point me to regarding my issue that would be > good! > > I am running mod_perl 2 on a debian server using apache2 > > I have a directive which incorporates a mod_perl > PerlTransHandler. This VirtualHost block of the config also has s

Re: Problems with SetEnv and Alias

2009-05-27 Thread Perrin Harkins
On Mon, May 25, 2009 at 2:30 AM, Geoff Toogood wrote: > I have a directive which incorporates a mod_perl > PerlTransHandler. This VirtualHost block of the config also has some Alias > and SetEnv directives defined. > > The PerlTransHandler module behaves correctly and works we

Re: Problems with SetEnv and Alias

2009-06-01 Thread Geoff Toogood
Perrin Harkins wrote: On Mon, May 25, 2009 at 2:30 AM, Geoff Toogood wrote: I have a directive which incorporates a mod_perl PerlTransHandler. This VirtualHost block of the config also has some Alias and SetEnv directives defined. The PerlTransHandler module behaves correctly

OT hint on FTPD with 'Alias Match'

2004-01-19 Thread c . hauser
Hello I'm using happily 'Alias Match' in Apache and dynamic handlers in Mason. For the content contributors we use MM Contribute via FTP. When they browse to a page which is represented by a file, they can edit directly. Assume that they visit: /fr/path/index.html

Re: Apache::DBI - alias disconnect before overload?

2006-05-25 Thread Perrin Harkins
On Thu, 2006-05-25 at 18:32 -0400, Jonathan Vanasco wrote: > I need to re-integrate disconnect back into Apache::DBI managed > connections What problem are you trying to solve? You might find it more useful to replace Apache::DBI with DBI->connect_cached. Keep in mind though, you will have to

Re: Apache::DBI - alias disconnect before overload?

2006-05-25 Thread Jonathan Vanasco
On May 25, 2006, at 6:52 PM, Perrin Harkins wrote: What problem are you trying to solve? You might find it more useful to replace Apache::DBI with DBI->connect_cached. Keep in mind though, you will have to take care of not opening connections during startup and doing safety rollbacks in a

Re: Apache::DBI - alias disconnect before overload?

2006-05-25 Thread Perrin Harkins
On Thu, 2006-05-25 at 19:18 -0400, Jonathan Vanasco wrote: > closing read-only connections opened / closed at startup Connections opened during startup shouldn't be persisted by Apache::DBI. Maybe you've found a bug. > depending on the project's load order, Apache::DBI is sometimes > loaded bef

Re: Apache::DBI - alias disconnect before overload?

2006-05-25 Thread Clinton Gormley
> On Thu, 2006-05-25 at 19:18 -0400, Jonathan Vanasco wrote: > > closing read-only connections opened / closed at startup > > Connections opened during startup shouldn't be persisted by Apache::DBI. > Maybe you've found a bug. > There is indeed a bug under Apache 2 - I submitted a patch for this

Re: Apache::DBI - alias disconnect before overload?

2006-05-25 Thread Jonathan Vanasco
perhaps its a bug. i don't know. basically, i have this: BEGIN { use MyApp::DB::Config; my $DB_config = MyApp::DB::Config->new(); $DB_config->dbconnect(); # connects and stores a dbh in a wrapper class $DB_config->{'DBH'} =snip pull some startup config vars =

Re: Apache::DBI - alias disconnect before overload?

2006-05-25 Thread Philip M. Gollucci
Clinton Gormley wrote: On Thu, 2006-05-25 at 19:18 -0400, Jonathan Vanasco wrote: closing read-only connections opened / closed at startup Connections opened during startup shouldn't be persisted by Apache::DBI. Maybe you've found a bug. There is indeed a bug under Apache 2 - I submitted a pa

Alias and PerlOutputFilterHandler in virtual host configuration

2009-02-15 Thread Roger Munk
I have the following directives in my sites-available/default configuration: DocumentRoot /var/www/ Alias /portal/ /var/www/drupal6/ PerlRequire "/etc/apache2/ModPerl/TE/ST.pm" SetHandler modperl PerlOutputFilterHandler TE::ST

Re: Alias and PerlOutputFilterHandler in virtual host configuration

2009-02-15 Thread Torsten Foertsch
On Sun 15 Feb 2009, Roger Munk wrote: > I have the following directives in my sites-available/default > configuration: > >        DocumentRoot /var/www/ >        Alias /portal/ /var/www/drupal6/ >        PerlRequire "/etc/apache2/ModPerl/TE/ST.pm" >         &

Re: Alias and PerlOutputFilterHandler in virtual host configuration

2009-02-15 Thread Roger Munk
On Sun, Feb 15, 2009 at 4:05 PM, Torsten Foertsch wrote: > If your page is generated by php and you only want to postprocess it on > its way out then drop the SetHandler. The PerlOutputFilterHandler does > not need a "SetHandler modperl". Thanks, that was perfect. One more follow-up question. I

Re: Alias and PerlOutputFilterHandler in virtual host configuration

2009-02-15 Thread André Warnier
Roger Munk wrote: I have the following directives in my sites-available/default configuration: DocumentRoot /var/www/ Alias /portal/ /var/www/drupal6/ PerlRequire "/etc/apache2/ModPerl/TE/ST.pm" SetHandler modperl PerlOutputFilter

Re: Alias and PerlOutputFilterHandler in virtual host configuration

2009-02-15 Thread André Warnier
Roger Munk wrote: On Sun, Feb 15, 2009 at 4:05 PM, Torsten Foertsch wrote: If your page is generated by php and you only want to postprocess it on its way out then drop the SetHandler. The PerlOutputFilterHandler does not need a "SetHandler modperl". Thanks, that was perfect. One more follow

Re: Alias and PerlOutputFilterHandler in virtual host configuration

2009-02-15 Thread Roger Munk
On Sun, Feb 15, 2009 at 5:12 PM, André Warnier wrote: > see http://perl.apache.org/docs/2.0/api/APR/Table.html#C_get_ > (you only get the first one this way) > my @cookies = $f->r->headers_out->get("Set-Cookie"); > would get you an array with both. Thanks, when I tried receiving the cookies in an

Re: Alias and PerlOutputFilterHandler in virtual host configuration

2009-02-15 Thread Torsten Foertsch
On Sun 15 Feb 2009, Roger Munk wrote: > On Sun, Feb 15, 2009 at 5:12 PM, André Warnier wrote: > > see http://perl.apache.org/docs/2.0/api/APR/Table.html#C_get_ > > (you only get the first one this way) > > my @cookies = $f->r->headers_out->get("Set-Cookie"); > > would get you an array with both. >

Alias is not being recognized undet the Directory Directive

2005-04-06 Thread raja agireddy
I have installed modperl 2.0, Apache 2.0 and AuthenSmb. Alias is not being recognized under the "Directory" directive in the httpd.conf file. The same alis works for "Location" directive. The work around I am using is giving the full path of the directory and it works. Pleas

Problem running Perl scripts with mod_perl from Alias directory

2008-02-19 Thread Billeb, Andrew (ATS, IT)
in/ridhwan/script_name.pl I would like to use mod_perl to handle these scripts. So, rather than set up a new directory on the filesystem, I have put the following in the httpd.conf file. Note that it is supposed to remove the /cgi-bin/ part of the path: Alias /ridhwan/ "C:/Apache2/

Re: Alias really helpful -- Any more good tips like this?

2004-07-04 Thread Stas Bekman
'remote_ip' add: use Apache::Connection (); % alias lookup perl -MApache2 -MModPerl::MethodLookup -e print_method Any more good ones like this you want to share? When I gave you these examples I've quoted the URL of the manpage which gives you all the information that you

Re: Problem running Perl scripts with mod_perl from Alias directory

2008-02-19 Thread Colin Wetherbee
it's the *same script* as in the first link. It's just being accessed through the alias. So, I don't understand why it doesn't work. Could you be more specific here? For example, "doesn't do anything" and "redisplays the same page" are contradictory statements. What exactly happens? Colin

RE: Problem running Perl scripts with mod_perl from Alias directory

2008-02-20 Thread Billeb, Andrew (ATS, IT)
t appeared before I even selected the value from the popup_menu.) Note: The same script works fine when called from the non-alias path. Thanks, Andrew Andrew Billeb | ATS - Config | 860-547-5983 | [EMAIL PROTECTED] -Original Message- From: Colin Wetherbee [mailto:[EMAIL PROTECTED] Sen