Re: Converting section variables into plain text directives

2001-08-25 Thread Cees Hek
On Fri, 24 Aug 2001, Eric Hammond wrote: > Is there any way to take the Apache::ReadConfig name space > (variables set in sections) and generate plain text > Apache directives? I don't know if there is a simple answer to this one, but the way I would handle it is to scrap the Perl sections, and

Re: Connection Reset on Mandrake Linux 8.0 / Apache 1.3.20 / ModPerl 1.26

2001-08-25 Thread Joshua Chamas
Tom Allen wrote: > ... > >AllowOverride None >Options ExecCGI Indexes >SetHandler perl-script >PerlHandler Apache::Registry >PerlSendHeader Off > > > It appears to work ( I get a webpage that says Hello!), in a Mozilla > browser, but httperf shows a connection reset instead

RE: URI munging and Referer headers

2001-08-25 Thread Geoffrey Young
>I did some experimental work like this back when I first >implemented the cookiless session stuff for Apache::ASP, >and I found the same thing, that the meta refresh was really >the only way to go with redirecting offsite. This would >probably be the same for a javascript redirect too ( untest

Re: perlmagick and leaking memory

2001-08-25 Thread Joshua Chamas
Jon Molin wrote: > > Hi list, > > I've done a scripts that builds an calender and colours the days with > different colours depending on the status of the day. I've got 6 colours > and one to just fill out so the month starts with the correct day, ie > i've got 6 * 31 + 1 = 187 images and each i

Re: URI munging and Referer headers

2001-08-25 Thread Joshua Chamas
Geoffrey Young wrote: > > hi mungers... > > it there a more reliable way to not have your session id's show up in > Referer headers than using a refresh tag? I've played around with various > redirect methods, but both MSIE5 and Netscape4.7 hold on to the Referer from > the original page and

Converting section variables into plain text directives

2001-08-25 Thread Eric Hammond
Is there any way to take the Apache::ReadConfig name space (variables set in sections) and generate plain text Apache directives? For example, assuming some_function() returns "myhost", I would like to convert the variables generated by: $ServerName = some_function();

Re: Connection Reset on Mandrake Linux 8.0 / Apache 1.3.20 / ModPerl1.26

2001-08-25 Thread Stas Bekman
> I guess the only thing I don't understand is why > with PerlSendHeader Off, isnt the webserver supposed to send headers? > Does it not because it doesn't know what kind of content a .pl file is? > In that case, shouldn't it send DefaultType (text/plain) ? http://perl.apache.org/guide/config.htm

Re: Connection Reset on Mandrake Linux 8.0 / Apache 1.3.20 / ModPerl1.26

2001-08-25 Thread Stas Bekman
On Sat, 25 Aug 2001, Philip Mak wrote: > I tried telneting to your web server to see what's going on. Look at this: > > $ telnet www.nonserviam.net 80 > Trying 65.34.152.103... > Connected to nonserviam.net. > Escape character is '^]'. > GET /modperl/index.pl HTTP/1.1 > Host: www.nonserviam.net >

Re: Connection Reset on Mandrake Linux 8.0 / Apache 1.3.20 / ModPerl 1.26

2001-08-25 Thread Tom Allen
Philip Mak wrote: > I tried telneting to your web server to see what's going on. Look at this: > > $ telnet www.nonserviam.net 80 > Trying 65.34.152.103... > Connected to nonserviam.net. > Escape character is '^]'. > GET /modperl/index.pl HTTP/1.1 > Host: www.nonserviam.net > > Hello!Connection

Re: Connection Reset on Mandrake Linux 8.0 / Apache 1.3.20 / ModPerl1.26

2001-08-25 Thread Philip Mak
I tried telneting to your web server to see what's going on. Look at this: $ telnet www.nonserviam.net 80 Trying 65.34.152.103... Connected to nonserviam.net. Escape character is '^]'. GET /modperl/index.pl HTTP/1.1 Host: www.nonserviam.net Hello!Connection closed by foreign host. The HTTP serv

Connection Reset on Mandrake Linux 8.0 / Apache 1.3.20 / ModPerl 1.26

2001-08-25 Thread Tom Allen
I installed ModPerl today, am excited, it seems to *mostly* work, however, every request is ending in a connection reset error. This is difficult to search for, since this is apparently a common problem in NT under some situations. I am running : Mandrake Linux 8.0 (kernel 2.4.3-20mdk) Apache

Re: Modules `use`d by PerlModule vanishing after startup? (resend)

2001-08-25 Thread Ken Williams
[EMAIL PROTECTED] (Stephen Clouse) wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >On Fri, Aug 24, 2001 at 03:46:07PM -0700, ___cliff rayman___ wrote: >> 'PerlModule' in httpd.conf and 'use' in startup.pl perform the same >> purpose. if you are going to 'use' in startup.pl, comment out t

Re: [ADMIN] can we have a reply-to header?

2001-08-25 Thread Ask Bjoern Hansen
On Wed, 15 Aug 2001, Thomas Eibner wrote: > Am I the only one that always have to go *doh* after I replied to a > message here? Well, the harm is much less than when you go *doh* after realizing that you sent something to thousands of people. In any case, the answer is "No." as long as I have a

Re: Do virtual hosts need their own servers?

2001-08-25 Thread Ask Bjoern Hansen
On Thu, 16 Aug 2001, Dave Baker wrote: [...] > p.s. The processes could also be large because of suboptimal > coding, Scalability problems are almost never due to bad code and almost always due to bad design. > or (if they grow over time) memory leaks ... with possibly that as the exception. :

Re: Do virtual hosts need their own servers?

2001-08-25 Thread Ask Bjoern Hansen
On Thu, 16 Aug 2001, Jonathan Edwards wrote: > Related to this topic, I have a question about multiple > instances of Apache. We run two mod_perl enabled sites on two > separate IPs. These sites rely on mod_perl heavily. Each site > has a unique perl script that handles just about everything. > C