Hi,
i've got in httpd.conf this directive
Alias /dummy/ "/var/local/apache2/example"
How can I take the real path value ?
Idel
PerlResponseHandler Handler2
Alias /zzz/ "/var/www/zzz/"
Options FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
ErrorLog /var/log/apache2
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
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
于 2012-12-19 16:47, Jie Gao 写道:
What's the error message in your errlog.log?
it simply said access reject.
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
modperl
PerlResponseHandler Handler2
Alias /zzz/ "/var/www/zzz/"
Options FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
ErrorLog /var/l
SetHandler modperl
PerlResponseHandler Handler2
Alias /zzz/ "/var/www/zzz/"
Options FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allo
PerlResponseHandler Handler1
SetHandler modperl
PerlResponseHandler Handler2
Alias /zzz/ "/var/www/zzz/"
Options FollowSymLinks MultiViews
AllowOve
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
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
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
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
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
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
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
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
> 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
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
=
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
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
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"
>
&
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
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
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
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
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.
>
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
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/
'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
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
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
32 matches
Mail list logo