Hi All,
I have a auth protected area for the apache server:
Aka, the location /auth is password protected by Perl*Handlers and
usually i only write other PerlHandlers that do things under that
location.
However, i need to put a .shtml file into that diretory (it is also a
normal directory
simran wrote:
Hi All,
I have a auth protected area for the apache server:
Aka, the location /auth is password protected by Perl*Handlers and
usually i only write other PerlHandlers that do things under that
location.
However, i need to put a .shtml file into that diretory (it is also a
Ugggh: My software works with the 'original server settings', (apache
1.3.24/mod_perl 1.26) see below(1), under linux.
It doesn't work with 'new server settings', (apache 1.3.26 / mod_perl
1.26) see below(2), under freeBSD.
Symptoms:
With the new build, I get seg faults with 'some' of the
Rafiq Ismail (ADMIN) wrote:
Ugggh: My software works with the 'original server settings', (apache
1.3.24/mod_perl 1.26) see below(1), under linux.
It doesn't work with 'new server settings', (apache 1.3.26 / mod_perl
1.26) see below(2), under freeBSD.
Symptoms:
With the new build, I get seg
I've been having problems with use lib. I read the
extract at http://perl.apache.org/docs/1.0/guide/porting.html#_INC_and_mod_perland
realised that you can hardcode @INC via httpd.conf or startup.pl. however, i
tried adding PerlSetEnv PERL5LIB to a .htaccess file but that doesn't seem to
Better choice is add .shtml to server-parsed. See below:
#
# To use server-parsed HTML files
#
AddType text/html .shtml .html .htm
AddHandler server-parsed .shtml .html .htm
Willy
Hi!
I'm running into the:
Syntax error on line 1022 of c:/program files/apache/conf/httpd.conf:
Cannot load c:/program files/apache/modules/mod_perl.so into server: (126)
The specified module could not be found:
problem on NT 4 when trying to run Apache/mod_perl as a service.
(see:
On Thu, 14 Nov 2002, Scott Scecina wrote:
Hi!
I'm running into the:
Syntax error on line 1022 of c:/program files/apache/conf/httpd.conf:
Cannot load c:/program files/apache/modules/mod_perl.so into server: (126)
The specified module could not be found:
problem on NT 4 when trying
I have a few AccessHandlers that I'd like to redirect the user to the
correct page to get access if they don't have it. I tried
ErrorDocuments, but I have multiple layers of authentication, and
ErrorDocuments won't cascade. So I'm looking at switching the
ContentHandler. internal_redirect()
Pierre Smolarek wrote:
I've been having problems with use lib. I read the extract at
http://perl.apache.org/docs/1.0/guide/porting.html#_INC_and_mod_perl and
realised that you can hardcode INC via httpd.conf or startup.pl.
however, i tried adding PerlSetEnv PERL5LIB to a .htaccess file but
Assume I have a front-end (non-mod_perl) proxy server that supports both
HTTP and HTTPS. I want to know, from within my Perl code on the back-end
(HTTP-only) mod_perl server, if the current request was ProxyPass-ed to me
based on an original HTTP or HTTPS request from the user.
There doesn't
Brett Sanger wrote:
I have a few AccessHandlers that I'd like to redirect the user to the
correct page to get access if they don't have it. I tried
ErrorDocuments, but I have multiple layers of authentication, and
ErrorDocuments won't cascade. So I'm looking at switching the
ContentHandler.
I think I know this one.
#you might want to do this line, for edification if nothing else
my $list_ref = $r-get_handlers(PerlHandler);
$r-set_handlers('PerlHandler,\My::Package::handler);
-Original Message-
From: Brett Sanger [mailto:brs900;email1.dss.state.va.us]
Sent: Thursday,
Narins, Josh wrote:
I think I know this one.
#you might want to do this line, for edification if nothing else
my $list_ref = $r-get_handlers(PerlHandler);
$r-set_handlers('PerlHandler,\My::Package::handler);
sorry, I misread when I replied with internal_redirect_handler.
set_handlers()
Narins, Josh wrote:
I think I know this one.
#you might want to do this line, for edification if nothing else
my $list_ref = $r-get_handlers(PerlHandler);
$r-set_handlers('PerlHandler,\My::Package::handler);
Excellent! Thanks. One associated question: Is it possible to
manipulate
Has anyone solved this problem? Is there anyway to tell
mod_perl where perl
is without using the PATH variable?
Is it a problem just as a service, or does the same thing
occur running Apache from the console?
Does it help if you add, in httpd.conf, the directive
LoadFile
On Thu, 14 Nov 2002, John Siracusa wrote:
Assume I have a front-end (non-mod_perl) proxy server that
supports both HTTP and HTTPS. I want to know, from within my
Perl code on the back-end (HTTP-only) mod_perl server, if the
current request was ProxyPass-ed to me based on an original
HTTP or
On 11/14/02 2:12 PM, Randy Kobes wrote:
On Thu, 14 Nov 2002, John Siracusa wrote:
Assume I have a front-end (non-mod_perl) proxy server that
supports both HTTP and HTTPS. I want to know, from within my
Perl code on the back-end (HTTP-only) mod_perl server, if the
current request was
On Thu, 14 Nov 2002, John Siracusa wrote:
On 11/14/02 2:12 PM, Randy Kobes wrote:
If your front-end proxy server has 'ProxyVia on' enabled, a Via
header would get sent. According to rfc2068, the protocol name
should, and port may, be supplied in this header if these aren't
the
Hey,
I'm looking to get Apache::ASP to insert itself into the module
Server tokens with the add_version_component() API, so I call
it like this:
package Apache::ASP
...
Apache::add_version_component(Apache::ASP/$VERSION);
...
1;
but then it becomes the first header on the list!, and I
On 11/14/02 2:39 PM, Randy Kobes wrote:
On Thu, 14 Nov 2002, John Siracusa wrote:
I tried turning on ProxyVia, but all I got was the HTTP
protocol version (1.1) and the host (www.foo.com), but no
scheme string (e.g. http://; or https://;)
Were these from requests you know were made using
Josh Chamas wrote:
Hey,
I'm looking to get Apache::ASP to insert itself into the module
Server tokens with the add_version_component() API, so I call
it like this:
package Apache::ASP
...
Apache::add_version_component(Apache::ASP/$VERSION);
...
1;
but then it becomes the first
Suppose I have a hash of string values that I want to include in the
query string of a redirect URL. What is the accepted way of escaping
the values to be sure that they come through intact?
Specifically, it seems that Apache::Util-escape_uri()
--
Ray Zimmerman / e-mail: [EMAIL PROTECTED] /
Oops ... finger slipped before I was done typing ...
Suppose I have a hash of string values that I want to include in the
query string of a redirect URL. What is the accepted way of escaping
the values to be sure that they come through intact?
Specifically, it seems that
$r-set_handlers('PerlHandler,\My::Package::handler);
set_handlers() should work. keep in mind that it's current not
possible (IIRC) to set_handler() for the current phase. so, for the
PerlHandler you'd want to do it from someplace else, like your
PerlAccessHandler or something.
Which is
Minas wrote:
Recently I installed the Apache::Session module on my server in order
to give a kind of identity to my e-shop visitors, seems to work but
generates different session ids when I reload the bellow test cgi.
What can I do in order to have my visitor the same session id, up to
close his
Each of these:
$r-set_handlers(PerlHandler = 'My::Package');
$r-set_handlers(PerlHandler = 'My::Package::handler');
$r-set_handlers(PerlHandler = \My::Package);
$r-set_handlers(PerlHandler = \My::Package::handler);
give me:
[error] Can't set_handler with that value
Any ideas?
yeah, sorry.
Geoffrey Young wrote:
from what I remember, this method is very strange - it depends lots on
how your server is set up. for instance, whether you're using DSO (which
breaks down the interpreter on restarts) and/or whether you have
PerlFreshRestart On. both of these behaviors seem to affect
Even if I can get this to work through certain config tweaks,
I will not add this to Apache::ASP as I would need this to be
correct for all user configs, not just mine. I do not want to
preempt the Apache/... header!
Thanks for the follow up. Maybe I'll revist this in MP2.
sure.
it's
I have gotten file upload working using Apache::Request for
text files. But binary files seem to have other ideas :-)
For example, uploading a word doc, I get a success message,
but when I retrieve the doc after uploading it, and try to open it in
Word 2000, I get the popup error message:
The
valerian wrote:
I'm experiencing strange behavior with cookies when my scripts are
accessed in mod_perl (using Apache::Registry). Everything works fine so
long as my browser is configured to not go through a proxy (ie, in
Netscape 4.77, directly connected to the Internet option is selected).
John Siracusa [EMAIL PROTECTED] writes:
Assume I have a front-end (non-mod_perl) proxy server that supports both
HTTP and HTTPS. I want to know, from within my Perl code on the back-end
(HTTP-only) mod_perl server, if the current request was ProxyPass-ed to me
based on an original HTTP or
Hello Brett Sanger,
Friday, November 15, 2002, 1:25:19 AM, you wrote:
$r-set_handlers('PerlHandler,\My::Package::handler);
set_handlers() should work. keep in mind that it's current not
possible (IIRC) to set_handler() for the current phase. so, for the
PerlHandler you'd want to do it
On Thu, Nov 14, 2002 at 12:45:52PM -0500, John Siracusa wrote:
Assume I have a front-end (non-mod_perl) proxy server that supports both
HTTP and HTTPS. I want to know, from within my Perl code on the back-end
(HTTP-only) mod_perl server, if the current request was ProxyPass-ed to me
based on
According to RFC 2396 (http://www.ietf.org/rfc/rfc2396.txt) the reserved
characters in the query component of a URI are ;, /, ?, :, @,,
=, +, ,, and $.
Apache::Util-escape_uri() does not escape :, @, , =, +, ,, or
$.
Something like the following should work:
use URI::Escape qw(uri_escape);
Thanks Geoff, you are an absolute genius.
I wrote a little PerlFixupHandler to solve the issue as that was most
appropriate for the configuration i had.
thanks again,
simran.
On Fri, 2002-11-15 at 00:57, Geoffrey Young wrote:
simran wrote:
Hi All,
I have a auth protected area
On 11/14/02 5:48 PM, Marcin Kasperski wrote:
What about the simple manual solution: frontend server proxies
/some/url to /http/some/url on backend for HTTP and to /https/some/url
on backend for HTTPS. Or something similar...
On 11/14/02 6:56 PM, Carolyn Hicks wrote:
If you can proxy-pass HTTP
John Siracusa writes:
and that does the trick. The full code for the module is at the end of this
message. But I still think this is an ugly hack, and I'd like to be able to
do this using standard apache modules or config parameters...
Our hack is to forward 443 to port 81 on the middle
It looks like the default character class used by URI::Escape::uri_escape
changed in version 1.16 to be exactly the same as the one I suggested.
Older versions didn't escape the reserved characters.
- Kyle
- Original Message -
From: Kyle Oppenheim [EMAIL PROTECTED]
To: modperl List
On Thu, 14 Nov 2002, Dennis Daupert wrote:
I have gotten file upload working using Apache::Request for
text files. But binary files seem to have other ideas :-)
For example, uploading a word doc, I get a success message,
but when I retrieve the doc after uploading it, and try to open it in
Dennis Daupert [EMAIL PROTECTED] wrote:
I have gotten file upload working using Apache::Request for
text files. But binary files seem to have other ideas :-)
For example, uploading a word doc, I get a success message,
but when I retrieve the doc after uploading it, and try to open it in
Randy Kobes wrote:
The specified module could not be found:
problem on NT 4 when trying to run Apache/mod_perl as a service.
Does it help if you add, in httpd.conf, the directive
LoadFile C:/Path/to/Perl/bin/perl56.dll
before loading mod_perl.so?
Hi Randy,
I had the same problem with
Hi all,
I am still new to all of this.
I had Apache 1.3.22 with mod_perl included and the Authenitcation hook enabled.
Everything was fine.
Then I imstalled my OpenSSL and generated my key, got my server certificate from my
csr etc fine. The certificate has been verified.
I then
43 matches
Mail list logo