[EMAIL PROTECTED] wrote:
OS: Windows2000
Apache: 1.3.27
ModPerl: 1.27_01-dev
I have a script that ran perfectly well when not run under ModPerl but
have recently tried to run it under modperl using the RunPerl module. It
still seems to run OK, however my error log now seems to being filled
only recently noticed that Stas, who helped me out with my last
question, is listed as the author/maintainer of the 2.0 documentation.
Cool! :-)
Seldo Voss: www.seldo.com
ICQ #1172379 or [EMAIL PROTECTED
OS: Windows2000
Apache: 1.3.27
ModPerl: 1.27_01-dev
I have a script that ran perfectly well when not run under ModPerl but have recently tried to run it under modperl using the RunPerl module. It still seems to run OK, however my error log now seems to being filled with the following error
OS: Windows2000
Apache: 1.3.27
ModPerl: 1.27_01-dev
I have a script that ran perfectly well when not run under ModPerl but have recently tried to run it under modperl using the RunPerl module. It still seems to run OK, however my error log now seems to being filled with the following error
Stas Bekman wrote:
Brian Millett wrote:
Hi,
I've just about got the Apache::AuthCookieDBI to work with Apache
2.0.44 mod_perl 1.99_09-dev, but I ran into a problem with the
$r-connection object not having auth_type or user defined. The
$r-auth_type work just fine. Are these the same
Hi,
I've just about got the Apache::AuthCookieDBI to work with Apache
2.0.44 mod_perl 1.99_09-dev, but I ran into a problem with the
$r-connection object not having auth_type or user defined. The
$r-auth_type work just fine. Are these the same reference? What
should I look for, or use?
Brian Millett wrote:
Hi,
I've just about got the Apache::AuthCookieDBI to work with Apache
2.0.44 mod_perl 1.99_09-dev, but I ran into a problem with the
$r-connection object not having auth_type or user defined. The
$r-auth_type work just fine. Are these the same reference? What
should I
Hello.
I want my modperl2 module to process RAW_ARGS configuration directives
like this.
AxMediaType screen
AxStyleName #default
AxAddProcessor text/xsl /styles/webpage_screen.xsl
/AxStyleName
AxStyleName printable
AxAddProcessor text/xsl
Yuriy Syrota wrote:
Hello.
I want my modperl2 module to process RAW_ARGS configuration directives
like this.
AxMediaType screen
AxStyleName #default
AxAddProcessor text/xsl /styles/webpage_screen.xsl
/AxStyleName
AxStyleName printable
What's the latest stable version of mod_perl?
I believe the latest stable version of Apache is 1.3.19, which is what I am
running.
I am at mod_perl version 1.25.
As I understand it, I need to recompile mod_perl with Apache 1.3.19 and
perl 5.8 on sun box in order to get perl 5.8 (hitting an
On Mon, 10 Feb 2003, Charlie Smith wrote:
What's the latest stable version of mod_perl?
Always available at http://perl.apache.org/download
I believe the latest stable version of Apache is 1.3.19, which is what I am
running.
No, the latest stable Apache version is 2.0.44. However, you
Nick Tonkin wrote:
[...]
I am not aware that you _need_ perl
5.8 to compile the latest apache and mod_perl...
You need 5.8 only to work with threaded mpm (Apache 2.0) and mod_perl 1.99_08.
http://perl.apache.org/docs/2.0/user/install/install.html#Prerequisites
you better duck dude.
slightly is slightly understating the off-topicness of your post..
Martin Moss wrote:
slightly off topic,
but is it possible to grant permissions to a user on multiple tables in one
sql statement in mysql?
From mysql.com:-
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP
: mysql question
01/23/2003 09:10
AM
: Martin Moss [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 9:10 AM
To: [EMAIL PROTECTED]
Subject: mysql question
slightly off topic,
but is it possible to grant permissions to a user on multiple tables in one
sql statement in mysql?
From mysql.com:-
GRANT SELECT,INSERT,UPDATE,DELETE
On Thu, 23 Jan 2003, Martin Moss wrote:
slightly off topic,
but is it possible to grant permissions to a user on multiple tables in one
sql statement in mysql?
This is not slightly off topic. It has nothing to do with mod_perl. You
are being selfish, rude and stupid. Especially since MySQL
-etiquette.html
Please take care to choose the right place to ask this sort of question
in the future.
Thanks,
Perrin
oooh handbags!
Apologies to the group this is my last email on this topic.
You're all assuming I posted a question about mysql at random.
Please see my previous post which is to do with encryption of mysql
passwords so that the password for Apache Authentication and multiple other
mysql database
Martin Moss wrote:
oooh handbags!
Apologies to the group this is my last email on this topic.
Apologies accepted ;) As Perrin said, we all do mistakes. Now let's move on to
the fun with mod_perl.
__
Stas BekmanJAm_pH
Hi all,
I am a beginnerand am doing a course project for which I want to know if mod_perlissuitable for my problem athand.
My problem is:When a user types in a question, then my perl program(or whatever) has to go to the database and return theanswerback to the user. If its not able to find
On Mon, 6 Jan 2003, sireesha vudatha wrote:
Date: Mon, 6 Jan 2003 16:25:04 -0800 (PST)
From: sireesha vudatha [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Question from a newbie regarding apache and mod_perl
Hi all,
I am a beginner and am doing a course project for which I want
That was it. I redefined Sig{__WARN__} to drop all STDERR output and my
script output everything it was supposed to and exited cleanly. Now
there is another bug that undoubtedly came from my trying to track down
the original issue...
Thanks. That saved me a ton of time.
Tom
Terra Info wrote:
I am debugging a particularly nasty issue right now on a perl script
that when written 2+ yrs ago worked fine. NB: It does not run under
mod_perl and it has not been modified since then. I run it from the cmd
line (with the identical query string and all referenced %ENV vars set
identical as
[When starting a new thread, please remember to create a new mail,
rather than doing a reply to one of the threads. If you don't do that,
your mail software attaches reference ids to the original thread and
your post gets folded into the thread you've replied to. people may
delete the whole
The threads issue is my bag. I know better but was busy and distracted,
hence I just did a reply to all and trimmed out the excess. Anyhow, I
think you may have misunderstood my question. Although I have a specific
issue at hand, my question was more generic. My questions are more
related
Terra Info wrote:
The threads issue is my bag. I know better but was busy and distracted,
hence I just did a reply to all and trimmed out the excess.
No prob. the comment was addressed to all subscribers.
Anyhow, I
think you may have misunderstood my question. Although I have a specific
Stas Bekman wrote:
I still don't understand you. When do you see the problem? When you
run the script under mod_cgi or mod_perl? I don't understand why do
you keep referring to mod_cgi.
And we are talking about Apache/mod_perl 2.0 here, right?
No. I am talking about mod_cgi when I say
OK, now it's clear, thanks for the explanation. FWIW, there were
discussions of possible pipes read/write deadlocks in the current
mod_cgi implementation in Apache 2.0, so you may experience just that.
Check the httpd-dev list archives.
[...]
* Given that, I noticed PerlRun was no longer
Ugh! I checked the users list archives but I never checked the dev
archives. I liked p5p back in the day because it was all one in the
same. Chaos, but oddly efficient. Thanks for the pointer.
As for the docs, I freely admit I missed it. I was not looking for
PerlRun stuff when I went through
So, I'm using mod_perl as installed via RPMS on RedHat 8.0, and can't
believe that an hour of hunting hasn't netted an answer to this
apparently simple problem. Perl scripts seem not to have . set to
~user/public_html, as use() and require() fail on files which are in the
same directory as the
Stephen Walton wrote:
Please state [mp2] or something in the subject or at least in the message so
we don't have to guess what version you are talking about.
So, I'm using mod_perl as installed via RPMS on RedHat 8.0, and can't
believe that an hour of hunting hasn't netted an answer to this
Hsiao, Chang-Ping wrote:
p.s. Geoff, we need a short acronym for your book so it's
easy to refer
to it, (a new eagle), I've called it RW (RedWhite), if you have a
better idea, please suggest.
Right, an animal is much easier to remember. Wish it had one on its
cover like books from
On Wednesday, December 4, 2002, at 06:14 PM, Stas Bekman wrote:
Think of 2.0 as 1.0 on mushrooms.
I need to give some thought as to how I can include quote gems like
this in my sig. For now, though, I'll leave it to Schwern.
David
--
David Wheeler AIM:
Hi -
In: http://perl.apache.org/docs/2.0/user/handlers/http.html#PerlLogHandler,
the PerlLogHandler documentation, the configuration file sample setup is
given as:
Location /users/
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlLogHandler MyApache::LogPerUser
Beau E. Cox wrote:
Hi -
In: http://perl.apache.org/docs/2.0/user/handlers/http.html#PerlLogHandler,
the PerlLogHandler documentation, the configuration file sample setup is
given as:
Location /users/
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlLogHandler
p.s. Geoff, we need a short acronym for your book so it's
easy to refer
to it, (a new eagle), I've called it RW (RedWhite), if you have a
better idea, please suggest.
Right, an animal is much easier to remember. Wish it had one on its
cover like books from O'reilly.
.
would just like to pass it back to apache. I know
that this will be possible with modperl by returning DECLINED.
Directory "/home/usr1/digital/html/protected"
AddHandler RTS-protected-htm htm
Action RTS-protected-htm /cgi-bin/content_manager/handler.pl
/Directory
My question: Is it poss
Thanks a lot for the advise,
Let you know.
Fabian.
Perrin Harkins wrote:
Fabián R. Breschi wrote:
I wonder if using ModPerl and PostgreSQL there's any possibility
to resemble what in Oracle is called 'Intermedia', in this particular
case parsing/indexing content of PDF files inside
Rob Nagler wrote:
I agree with you with the overhead provoked by the Oracle solution. Particularly, using intermedia with the 'Internet File System' option of 8i/9i things get extremely complex in terms of manageability. On the other hand, the user friendly interface that allows to drop
Dear Group,
I wonder if using ModPerl and PostgreSQL there's any possibility to
resemble what in Oracle is called 'Intermedia', in this particular case
parsing/indexing content of PDF files inside PostgreSQL as a LOB or
alternatively as a flat OS file with metadata parsed/indexed from it
Fabián R. Breschi writes:
I wonder if using ModPerl and PostgreSQL there's any possibility to
resemble what in Oracle is called 'Intermedia', in this particular case
parsing/indexing content of PDF files inside PostgreSQL as a LOB or
alternatively as a flat OS file with metadata
Fabián R. Breschi wrote:
I wonder if using ModPerl and PostgreSQL there's any possibility to
resemble what in Oracle is called 'Intermedia', in this particular case
parsing/indexing content of PDF files inside PostgreSQL as a LOB or
alternatively as a flat OS file with metadata
Jesse Erlbaum wrote:
Hi Coexec --
I am experienced with using the CGI.pm, and now I want
to rewrite all of my CGI's using mod_perl and
Apache::Request.
Maybe a silly question: What are you hoping to gain by doing this?
Speed. Apache::Request's guts are implemented in C, CGI.pm is Perl
Hello all, I have been searching through the mailing
list archives for the answer to my question, but I
have not found it.
I am experienced with using the CGI.pm, and now I want
to rewrite all of my CGI's using mod_perl and
Apache::Request. According to everything that I have
been reading
On Tue, 19 Nov 2002, Coexec wrote:
Date: Tue, 19 Nov 2002 15:40:37 -0800 (PST)
From: Coexec [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Migrating from CGI.pm to Apache::Request question.
Hello all, I have been searching through the mailing
list archives for the answer to my question
Hi Coexec --
I am experienced with using the CGI.pm, and now I want
to rewrite all of my CGI's using mod_perl and
Apache::Request.
Maybe a silly question: What are you hoping to gain by doing this?
If you're already using Apache::Registry, then your CGI.pm apps are ALREADY
running
, $_
} unpack 'C*', shift
}
-Original Message-
From: Kyle Oppenheim [mailto:kyleo;tellme.com]
Sent: Thursday, November 14, 2002 7:11 PM
To: modperl List
Subject: Re: URI escaping question
According to RFC 2396 (http://www.ietf.org/rfc/rfc2396.txt) the reserved
characters in the query component
Hiya everyone,
I am new to mod_perl and have a question about generating dynamic webpages
from a mysql database. I have a script that queries a IDS database
and generates results such as Top 5 Signatures, etc. The problem is when I
pass the results to the web interface it seems to be looping
this will definitely be helpful...
http://perl.apache.org/docs/1.0/guide/porting.html
-josh
-Original Message-
From: [EMAIL PROTECTED] [mailto:Brett.Gillett;tsx.ca]
Sent: Friday, November 15, 2002 4:00 PM
To: [EMAIL PROTECTED]
Subject: DBI question
Hiya everyone,
I am new to mod_perl and have
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
, November 14, 2002 12:25 PM
Subject: URI escaping question
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
[EMAIL PROTECTED]
Sent: Thursday, November 14, 2002 4:10 PM
Subject: Re: URI escaping question
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
Hello,
I have a shop system wirtten in Perl which I now must switch to mod_perl
bevor going live. The code is written with use strict and I think it
is in biggest parts a good source. ;-)
The question I have now is, that I have to switch the error handling.
Until now, I display an error message
Jan Theofel wrote:
Hello,
I have a shop system wirtten in Perl which I now must switch to mod_perl
bevor going live. The code is written with use strict and I think it
is in biggest parts a good source. ;-)
The question I have now is, that I have to switch the error handling.
Until now, I
Typically my manually configured vhosts look like this :
NameVirtualHost 10.0.0.20:80
VirtualHost 10.0.0.20:80
ServerName BladeBla.com
DocRoot
...
...
/VirtualHost
VirtualHost 10.0.0.20:80
...
/VirtualHost
This works great for my statically configured hosts. How
do you
On Wed, 30 Oct 2002 at 02:24, [EMAIL PROTECTED] opined:
:Typically my manually configured vhosts look like this :
:
:NameVirtualHost 10.0.0.20:80
:
:VirtualHost 10.0.0.20:80
: ServerName BladeBla.com
: DocRoot
: ...
: ...
:/VirtualHost
:VirtualHost 10.0.0.20:80
:...
Mitchel, Jennifer (Jem) wrote:
Steve,
I have no objection to replying to the mod_perl list. I have no idea what is wrong I
am so new at all of this that the more people who might have an idea the better.
I am running Apache 1.3.22 and mod_perl 1.21 on a Sun Solaris 2.6 machine. I'm
/src
SSL_BASE =
Jem
-Original Message-
From: Geoffrey Young [mailto:geoff;modperlcookbook.org]
Sent: Tuesday, October 29, 2002 7:14 AM
To: Mitchel, Jennifer (Jem)
Cc: '[EMAIL PROTECTED]'
Subject: Re: FW: mod_perl / PerlAuthenHandler question
Mitchel, Jennifer (Jem) wrote:
Steve
Mitchel, Jennifer (Jem) wrote:
The machine does belong to my org my login does not have root access. I will do the
/perl-status?hooks as soon as I can be let onto the machine with root access.
I did print out the global hash %Apache::MyConfig::Setup and here is the result
Apache_Src =
: '[EMAIL PROTECTED]'
Subject: Re: FW: mod_perl / PerlAuthenHandler question
Mitchel, Jennifer (Jem) wrote:
The machine does belong to my org my login does not have root access. I will do
the
/perl-status?hooks as soon as I can be let onto the machine with root access.
I did print out
Mitchel, Jennifer (Jem) wrote:
the line shift-send_http_header('text/plain');
is giving me the error:
Can't call method send_http_header on an undefined value
it's not a normal cgi script - you need to run it from a /perl-bin or other Location
where you already have an Apache::Registry
MJJ Mitchel, Jennifer (Jem) wrote:
MJJ The machine does belong to my org my login does not have root access. I
will do the
MJJ /perl-status?hooks as soon as I can be let onto the machine with root access.
MJJ
MJJ I did print out the global hash %Apache::MyConfig::Setup and here is the
: Tuesday, October 29, 2002 7:14 AM
To: Mitchel, Jennifer (Jem)
Cc: '[EMAIL PROTECTED]'
Subject: Re: FW: mod_perl / PerlAuthenHandler question
Mitchel, Jennifer (Jem) wrote:
Steve,
I have no objection to replying to the mod_perl list. I have no idea what is wrong
I
am so new at all
/1.3.22
(Unix) mod_perl/1.21'. What else can I do to see if mod_perl works?
Jem
-Original Message-
From: Steve Piner [mailto:stevep;marketview.co.nz]
Sent: Monday, October 28, 2002 3:30 PM
To: Mitchel, Jennifer (Jem)
Subject: Re: mod_perl / PerlAuthenHandler question
Mitchel
: Steve Piner [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 28, 2002 3:30 PM
To: Mitchel, Jennifer (Jem)
Subject: Re: mod_perl / PerlAuthenHandler question
"Mitchel, Jennifer (Jem)" wrote:
>
> Steve,
>
> I read your reply to a POST: [EMAIL PROTECTED]">http://mathforu
[mailto:stevep;marketview.co.nz]
Sent: Monday, October 28, 2002 3:30 PM
To: Mitchel, Jennifer (Jem)
Subject: Re: mod_perl / PerlAuthenHandler question
Mitchel, Jennifer (Jem) wrote:
Steve,
I read your reply to a POST:
http://mathforum.org/epigone/modperl/flygrexspir/3D447423.895BFCB5
I have a question about setting up a proxy for a mod_perl server. I've
got a simple proxy set up that listens on port 80 and proxies to the
mod_perl server running on a different port.
For example. http://blah.blah.com/anything/ will go to
http://blah.blah.com:4374/anything/ and the rules
Good afternoon,
On 17/10/02 at 2:46 PM, Lyle Brooks [EMAIL PROTECTED] wrote:
To do what you are trying to do, I believe you'll need to use some RewriteCond
directives, something like (read: I'm just doing this from memory, you'll
need to test)...
RewriteCond %{HTTP_HOST} ^b
RewriteRule ^/(.*)
a question about setting up a proxy for a mod_perl server. I've
got a simple proxy set up that listens on port 80 and proxies to the
mod_perl server running on a different port.
For example. http://blah.blah.com/anything/ will go to
http://blah.blah.com:4374/anything/ and the rules to do
to be for now because I have to move on.
My question today is - is there a way to do a command line test of a pretected web
page now? With Basic authentication I could use lwp-rget and wget etc, but those
return 403 forbidden now, even when passing the username/pw.
Thanks in advance for any
Is there any thinking about there being a security problem or the
potential for one with Apache::AuthCookieDBI's Cookie name of
Apache::AuthCookieDBI_[NAMEHERE] I from time to time look at the cookies
my browsers collect and i have never seen anything simular.
--
Gabriel C. Millerd |
On Monday 07 October 2002 11:05 am, Axel Gerstmair wrote:
Hello Andrew,
it seems like the Perl side of mod_perl is not installed. As far as I
know, you must always do a make and make install in the directory
where you untarred your mod_perl sources, so that the Perl modules get
installed
Hi All,
I have searched around the archives, but haven't been able to find an answer
to my problem (flame me if I have totally overlooked something! :) )
I have two machines, ones a Dell 1650 dual P4 processor 1Gb RAM, and the
second is a Dell 2450 dual P3 processor 1Gb RAM, both have RAID
Hello Andrew,
it seems like the Perl side of mod_perl is not installed. As far as I
know, you must always do a make and make install in the directory
where you untarred your mod_perl sources, so that the Perl modules get
installed correctly.
If you want to make Apache separately, you must leave
On Fri, 4 Oct 2002, Paul Simon wrote:
Is it possible for me to create a Content-Length header for a
CGI script via ModPerl::Registry or Apache?
Take a look at
http://perl.apache.org/docs/general/correct_headers/correct_headers.html
for a discussion of headers in general and how in particular
Is it possible for me to create aContent-Length header for aCGI script via ModPerl::Registry or Apache?
PaulDo you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
[EMAIL PROTECTED] wrote:
I've got a bit of a better grasp on the problem nowI think it's an
interaction with POST data...
I have a form in foo.html
form action=/rms/admin method=post
input type=hidden name=task value=process_config
...other form fields...
/form
I submit
After further review, the problem was CGI.pm. CGI.pm doesn't appear to get
'reset' on an internal_redirect (I'm not familiar with CGI's support for
mod_perl, so maybe this should have been obvious!) so it was still holding
the old parameter values. A quick install of Apache::Request and a
I call a page, /my/script1?task=foo which does some things and then needs to
redirect to /my/script2?task=bar. However, putting
$r-internal_redirect('/my/script2?task=bar');
doesn't seem to work as script2 is seeing task=foo rather than task=bar.
Looks like the internal_redirect is also
[EMAIL PROTECTED] wrote:
I call a page, /my/script1?task=foo which does some things and then needs to
redirect to /my/script2?task=bar. However, putting
$r-internal_redirect('/my/script2?task=bar');
doesn't seem to work as script2 is seeing task=foo rather than task=bar.
Looks like
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 1:06 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Easy internal redirect question
[EMAIL PROTECTED] wrote:
I call a page, /my/script1?task=foo which does some things and then needs
to
redirect to /my/script2?task=bar
All,
How do I change the behaviour of get_basic_auth_passwd()
I do not wish to have the prompt box appear, I want to have a dynamically
produced login form which when submitted carries out the users previous
command (I have an authentication system which 'times out' a user)
the problem I have
Martin Moss wrote:
All,
How do I change the behaviour of get_basic_auth_passwd()
I do not wish to have the prompt box appear, I want to have a dynamically
produced login form which when submitted carries out the users previous
command (I have an authentication system which 'times out'
On Tuesday, 2002-10-01 at 14:16:47 +0100, Martin Moss wrote:
I do not wish to have the prompt box appear, I want to have a dynamically
produced login form which when submitted carries out the users previous
command (I have an authentication system which 'times out' a user)
You can't in
]
Cc: modperl [EMAIL PROTECTED]
Sent: Tuesday, October 01, 2002 3:06 PM
Subject: Re: Daft question - preventing the username password box from
appearing.
On Tuesday, 2002-10-01 at 14:16:47 +0100, Martin Moss wrote:
I do not wish to have the prompt box appear, I want to have a
dynamically
I have a mod_perl cgi script that I would like to get the username from
the Apache server. The apache server successfully authenticates the
client using Apache::AuthenSmb.
How do I get this environment variable (the username) from apache into a
variable in the perl script.
Thanks,
Brett
At 09:55 28.08.2002, Brett Hales wrote:
I have a mod_perl cgi script that I would like to get the username from
the Apache server. The apache server successfully authenticates the
client using Apache::AuthenSmb.
How do I get this environment variable (the username) from apache into a
variable in
Please do not send replies directly to me, Cc the list.
At 13:40 28.08.2002, Brett Hales wrote:
On Wed, 2002-08-28 at 17:47, Per Einar Ellefsen wrote:
At 09:55 28.08.2002, Brett Hales wrote:
I have a mod_perl cgi script that I would like to get the username from
the Apache server. The
If module A depends on module B (uses methods or subroutines from module
B), is there a good way to test that module A loads module B (i.e. has a
use statement)? I frequently run into the following scenario:
1. Write one or more new modules plus a handler that uses them.
2. One or more of
Matthew Pressly wrote:
If module A depends on module B (uses methods or subroutines from module
B), is there a good way to test that module A loads module B (i.e. has a
use statement)? I frequently run into the following scenario:
1. Write one or more new modules plus a handler that
You were close. It's default-handler.
http://httpd.apache.org/docs/handler.html
And in mod_perl docs:
http://perl.apache.org/docs/1.0/guide/config.html#Overriding_E_lt_LocationE
_gt__Setting_in__Sub_Location_
__
Thanks, that was what I was looking for.
Thomas Whitney
If I do set my script to answer all requests, how do I tell the
webserver to show the static content that exists under the requested
url?
You have to make the default handler pick it up. I forget the exact
syntax, but there were some examples posted to the mailing list a while
back.
-
On Aug 12, 2002 at 11:50:56 -0600, Thomas Whitney wrote:
I was following this thread with interest because I want to do something
like this. I started searching on list archive for the above mentioned
syntax, I searched for 'static content', then 'default handler', but with
no luck.
Rick Myers wrote:
On Aug 12, 2002 at 11:50:56 -0600, Thomas Whitney wrote:
I was following this thread with interest because I want to do something
like this. I started searching on list archive for the above mentioned
syntax, I searched for 'static content', then 'default handler',
The basic concept I want
to accomplish isto allow for static and dynamic content to be accessed
from any url and be transparent to the
visitor.
i.e
publish a static page
called /foo/bar.htm
have a dynamic page
called /foo/foobar.htm
I imagine there are a
couple of different ways to do
[EMAIL PROTECTED] wrote:
Hello,
I am trying to write a password changing program.
this article by Lincoln Stein should resolve most of your problems:
http://www.samag.com/documents/s=1286/sam03020006/
and no, don't try to disable the taint mode,
instead read the perlsec manpage to learn
Thanks a lot. That really does help.
regards,
-Tushar
-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 30, 2002 6:36 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: apache mod_perl + suid question
[EMAIL PROTECTED] wrote:
Hello,
I
mod_perl + suid question
Tushar,
It's not recommeded to run apache as root. (Security issues).
I have some applications that uses system command under mod_perl without
problems.
Try to execute you wrapper script in command line. Execute it with
/usr/bin/perl -T (tainted mode), that checks if your
PROTECTED]; [EMAIL PROTECTED]
Assunto: RE: apache mod_perl + suid question
Vitor,
The thing is also that I can run the wrapper from the command line without
the
-T switch, and I do succeed, i.e. the password does get changed. Seems like
mod_perl by default has the taint mode on.
How do I get rid
101 - 200 of 956 matches
Mail list logo