In module require configuration file

2001-06-04 Thread Wang Xingyu 王兴宇 [上海]
Hi all: In mod-perl,my module (mymodule.pm) will read config var from a file ( require conf.pm).I put the require in my new() function. In one instance,they will work well. But ,I will run two or more instance (the two conf.pm is different.),the mymodule.pm will have error.Be

Re: Help with Cookie

2001-06-04 Thread Bird Lei
However, I have set the path to "/" Wondering if it causes any problem if I am using CGI.pm to read the cookie when CGI::Cookie and Apache::Cookie both provide a way of fetching the cookie. my $q = new CGI; my %cookie_info = $q->cookie('cookie_name'); Bird At 09:38 PM 2001/6/4 +0200, Issac Gold

Re: Help with Cookie

2001-06-04 Thread Issac Goldstand
Sometimes, that's a result of setting the path of the cookie incorrectly...  see CGI::Cookie or Apache::Cookie for details on how to set them...     Issac   - Original Message - From: Bird Lei To: [EMAIL PROTECTED] Sent: Monday, June 04, 2001 09:54 Subject: Help with

Re: HTTP 1.1

2001-06-04 Thread Andrew Ho
Hello, RS>Strange numbers appeares, when I use HTTP 1.1 protocol to get response RS>from my mod_perl server... RS> RS>What does mean number 1 before line "1234567"? And what does mean 0 RS>after all? Is there a way to cut off the line with number "1" and cut RS>off the line with number "0"? I nee

Re: HTTP 1.1

2001-06-04 Thread will trillich
On Mon, Jun 04, 2001 at 07:53:59PM +0400, Ruslan V. Sulakov wrote: > Strange numbers appeares, when I use HTTP 1.1 protocol to get response from my >mod_perl server. > The test.pl script: > use strict; > use Apache::Request(); > my $r = shift; > my $apr = Apache::Request->new($r); > $apr->send_ht

HTTP 1.1

2001-06-04 Thread Ruslan V. Sulakov
Strange numbers appeares, when I use HTTP 1.1 protocol to get response from my mod_perl server. The test.pl script: use strict; use Apache::Request(); my $r = shift; my $apr = Apache::Request->new($r); $apr->send_http_header('text/html'); print "1234567"; Now look to HTTP 1.1. response of this

[Take23] Jobs Page online

2001-06-04 Thread Matt Sergeant
Take23 now has a jobs page, thanks to Ask's efforts on jobs.perl.org, we mirror their RSS feed. http://take23.org/jobs/ -- /||** Founder and CTO ** ** http://axkit.com/ ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** **

Re: Compile Problem with Apache + mod_ssl + mod_perl

2001-06-04 Thread Ged Haywood
Hi there, On Thu, 31 May 2001, Ian Chilton wrote: > Please reply to [EMAIL PROTECTED] as I am not on the list!!! (Why not?! :) > This is what I get: [snip] > Creating Makefile > Creating Configuration.apaci in src > Error: Cannot find SSL binaries under /usr/local/ssl Is that a clue? 73, GEd

Compile Problem with Apache + mod_ssl + mod_perl

2001-06-04 Thread Ian Chilton
Hello, Please reply to [EMAIL PROTECTED] as I am not on the list!!! I am having a problem compiling Apache with mod_perl and mod_ssl. I am using a Sun Sparcstation 5 running Linux. The userland, bind and postfix all compiled fine. This is what I get:

Re: Getting the wrong URL

2001-06-04 Thread Chris Strom
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > OK, I think I have solved this problem, but I would like to run my solution by > you folks, and see if it makes any sense. What we found, on a more thorough > code review, was that a number of the handlers were doing a redirect by calling > send_c

How to change an SSIs Last-Modified

2001-06-04 Thread Joachim Zobel
Hi. I am using SSI a lot for 3 reasons: 1. Easy way to modularize static and generated HTML 2. XBitHack full + touch provides an easy way to have pages play the If-Modified-Since game. (If our catalog database is updated, the fame SSIs get a touch) 3. Performance Now I am implementing a way

Help with Cookie

2001-06-04 Thread Bird Lei
*Sometimes* my script cannot get the cookie info.  I just wondering if this could be problems *other than* my script (eg ISP's caching, and so on). I am using CGI.pm to read cookie.  The script that has problem is output the content of an image, that is, the users have to login to view the image.