Re: [Question] Prototype Mismatch for Base64 under RunPerl

2003-02-17 Thread Stas Bekman
[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

Semi-complicated question: modifying the content of a request before passing to CGI?

2003-02-16 Thread Seldo
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

[Question] Prototype Mismatch for Base64 under RunPerl

2003-02-14 Thread john . everitt
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

[Question] Prototype mismatch from MIME::Base64 under RunPerl

2003-02-14 Thread john . everitt
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

Re: mod_perl 2.0 question about $r-connection-auth_type

2003-02-13 Thread Brian P Millett
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

mod_perl 2.0 question about $r-connection-auth_type

2003-02-12 Thread Brian Millett
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?

Re: mod_perl 2.0 question about $r-connection-auth_type

2003-02-12 Thread Stas Bekman
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

RAW_ARGS question

2003-02-11 Thread Yuriy Syrota
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

Re: RAW_ARGS question

2003-02-11 Thread Stas Bekman
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 is lastest stable version of mod_perl? newbie question.

2003-02-10 Thread Charlie Smith
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

Re: What is lastest stable version of mod_perl? newbie question.

2003-02-10 Thread Nick Tonkin
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

Re: What is lastest stable version of mod_perl? newbie question.

2003-02-10 Thread Stas Bekman
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

Re: mysql question

2003-01-23 Thread Jason Galea
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

Re: mysql question

2003-01-23 Thread Huili_Liu
: mysql question 01/23/2003 09:10 AM

RE: mysql question

2003-01-23 Thread Joe Palladino
: 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

Re: mysql question

2003-01-23 Thread Nick Tonkin
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

Re: mysql question

2003-01-23 Thread Perrin Harkins
-etiquette.html Please take care to choose the right place to ask this sort of question in the future. Thanks, Perrin

Re: mysql question

2003-01-23 Thread Martin Moss
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

Re: mysql question

2003-01-23 Thread Stas Bekman
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

Question from a newbie regarding apache and mod_perl

2003-01-06 Thread sireesha vudatha
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

Re: Question from a newbie regarding apache and mod_perl

2003-01-06 Thread Ken Y. Clark
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

Re: Question on possible effects of mod_perl on mod_cgi

2003-01-03 Thread Terra Info
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:

Question on possible effects of mod_perl on mod_cgi

2003-01-02 Thread Terra Info
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

Re: Question on possible effects of mod_perl on mod_cgi

2003-01-02 Thread Stas Bekman
[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

Re: Question on possible effects of mod_perl on mod_cgi

2003-01-02 Thread Terra Info
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

Re: Question on possible effects of mod_perl on mod_cgi

2003-01-02 Thread Stas Bekman
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

Re: Question on possible effects of mod_perl on mod_cgi

2003-01-02 Thread Terra Info
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

Re: Question on possible effects of mod_perl on mod_cgi

2003-01-02 Thread Stas Bekman
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

Re: Question on possible effects of mod_perl on mod_cgi

2003-01-02 Thread Terra Info
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

Stupid newbie question: where is .?

2002-12-13 Thread Stephen Walton
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

Re: Stupid newbie question: where is .?

2002-12-13 Thread Stas Bekman
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

Re: [mp2] Documentation/LogHandler question

2002-12-05 Thread Geoffrey Young
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

Re: [mp2] Documentation/LogHandler question

2002-12-05 Thread David Wheeler
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:

[mp2] Documentation/LogHandler question

2002-12-04 Thread Beau E. Cox
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

Re: [mp2] Documentation/LogHandler question

2002-12-04 Thread Stas Bekman
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

RE: [mp2] Documentation/LogHandler question

2002-12-04 Thread Hsiao, Chang-Ping
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. .

Apache perl question. May be off topic.

2002-11-28 Thread John Michael
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

Re: General interest question: PDF contents handling in PostgreSQL.

2002-11-27 Thread Fabián R. Breschi
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

Re: General interest question: PDF contents handling in PostgreSQL.

2002-11-27 Thread Fabián R. Breschi
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

General interest question: PDF contents handling in PostgreSQL.

2002-11-26 Thread Fabián R. Breschi
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

Re: General interest question: PDF contents handling in PostgreSQL.

2002-11-26 Thread Rob Nagler
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

Re: General interest question: PDF contents handling in PostgreSQL.

2002-11-26 Thread Perrin Harkins
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

Re: Migrating from CGI.pm to Apache::Request question.

2002-11-21 Thread Stas Bekman
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

Migrating from CGI.pm to Apache::Request question.

2002-11-19 Thread Coexec
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

Re: Migrating from CGI.pm to Apache::Request question.

2002-11-19 Thread Ken Y. Clark
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

RE: Migrating from CGI.pm to Apache::Request question.

2002-11-19 Thread Jesse Erlbaum
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

RE: URI escaping question

2002-11-15 Thread Narins, Josh
, $_ } 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

DBI question

2002-11-15 Thread Brett . Gillett
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

RE: DBI question

2002-11-15 Thread Narins, Josh
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

URI escaping question

2002-11-14 Thread Ray Zimmerman
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] /

URI escaping question

2002-11-14 Thread Ray Zimmerman
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

Re: URI escaping question

2002-11-14 Thread Kyle Oppenheim
, 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

Re: URI escaping question

2002-11-14 Thread Kyle Oppenheim
[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

Cleanup question

2002-11-13 Thread Jan Theofel
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

Re: Cleanup question

2002-11-13 Thread Stas Bekman
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

Perl Configured VirtualHost question

2002-10-30 Thread siberian
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

Re: Perl Configured VirtualHost question

2002-10-30 Thread fliptop
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 :...

Re: FW: mod_perl / PerlAuthenHandler question

2002-10-29 Thread Geoffrey Young
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

RE: FW: mod_perl / PerlAuthenHandler question

2002-10-29 Thread Mitchel, Jennifer (Jem)
/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

Re: FW: mod_perl / PerlAuthenHandler question

2002-10-29 Thread Geoffrey Young
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 =

RE: FW: mod_perl / PerlAuthenHandler question

2002-10-29 Thread Mitchel, Jennifer (Jem)
: '[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

Re: FW: mod_perl / PerlAuthenHandler question

2002-10-29 Thread Geoffrey Young
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

Re: FW: mod_perl / PerlAuthenHandler question

2002-10-29 Thread Ruslan U. Zakirov
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

RE: FW: mod_perl / PerlAuthenHandler question

2002-10-29 Thread Mitchel, Jennifer (Jem)
: 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

FW: mod_perl / PerlAuthenHandler question

2002-10-28 Thread Mitchel, Jennifer (Jem)
/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

Re: FW: mod_perl / PerlAuthenHandler question

2002-10-28 Thread Alfred Vahau
: 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

Re: FW: mod_perl / PerlAuthenHandler question

2002-10-28 Thread 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, Jennifer (Jem) wrote: Steve, I read your reply to a POST: http://mathforum.org/epigone/modperl/flygrexspir/3D447423.895BFCB5

question about using a proxy with mod_perl

2002-10-18 Thread Brian Hirt
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

Re: question about using a proxy with mod_perl

2002-10-18 Thread Charlie Garrison
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 ^/(.*)

Re: question about using a proxy with mod_perl

2002-10-18 Thread Lyle Brooks
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

AuthCookieDBI semi working, one more testing question

2002-10-18 Thread George Valpak
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

AuthCookieDBI Question

2002-10-16 Thread Gabriel C Millerd
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 |

Re: Another Apache.pm failed to load!. question....

2002-10-08 Thread Andrew McCall
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

Another Apache.pm failed to load!. question....

2002-10-07 Thread Andrew McCall
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

Re: Another Apache.pm failed to load!. question....

2002-10-07 Thread Axel Gerstmair
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

Re: Another header question

2002-10-05 Thread Randy Kobes
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

Another header question

2002-10-04 Thread Paul Simon
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!

Re: Easy internal redirect question

2002-10-03 Thread Geoffrey Young
[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

RE: Easy internal redirect question

2002-10-03 Thread FFabrizio
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

Easy internal redirect question

2002-10-02 Thread FFabrizio
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

Re: Easy internal redirect question

2002-10-02 Thread Geoffrey Young
[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

RE: Easy internal redirect question

2002-10-02 Thread FFabrizio
[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

Daft question - preventing the username password box from appearing.

2002-10-01 Thread Martin Moss
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

Re: Daft question - preventing the username password box from appearing.

2002-10-01 Thread Geoffrey Young
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'

Re: Daft question - preventing the username password box from appearing.

2002-10-01 Thread Lupe Christoph
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

Re: Daft question - preventing the username password box from appearing.

2002-10-01 Thread Martin Moss
] 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

Authentication Question

2002-08-28 Thread Brett Hales
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

Re: Authentication Question

2002-08-28 Thread Per Einar Ellefsen
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

Re: Authentication Question

2002-08-28 Thread Per Einar Ellefsen
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

Module dependency testing question

2002-08-20 Thread Matthew Pressly
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

Re: Module dependency testing question

2002-08-20 Thread Geoffrey Young
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

Re: Handler Concept / Question

2002-08-13 Thread Thomas Whitney
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

Re: Handler Concept / Question

2002-08-12 Thread 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. -

Re: Handler Concept / Question

2002-08-12 Thread Rick Myers
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.

Re: Handler Concept / Question

2002-08-12 Thread Stas Bekman
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',

Handler Concept / Question

2002-08-08 Thread David Cumming
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

Re: apache mod_perl + suid question

2002-07-30 Thread Stas Bekman
[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

RE: apache mod_perl + suid question

2002-07-30 Thread pandit_tushar
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

RES: apache mod_perl + suid question

2002-07-29 Thread Vitor
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

RES: apache mod_perl + suid question

2002-07-29 Thread Vitor
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

<    1   2   3   4   5   6   7   8   9   10   >