Loading modules

2001-07-04 Thread Bird Lei
How can I tell if a module is compiled and loaded into the memory properly when the server starts? Would it not be loaded even if I have put use My::ModuleName in the startup.pl? Bird

Re: Loading modules

2001-07-04 Thread Bird Lei
Thanks. At 11:56 AM 2001/7/5 +0800, Stas Bekman wrote: On Thu, 5 Jul 2001, Bird Lei wrote: How can I tell if a module is compiled and loaded into the memory properly when the server starts? Would it not be loaded even if I have put use My::ModuleName in the startup.pl? use the Apache

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.

Re: Help with Cookie

2001-06-04 Thread Bird Lei
Goldstand wrote: 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 Cookie

Re: Content-Disposition to change type and action?

2001-05-29 Thread Bird Lei
. For example, if my script is called image.cgi, the file name, when being saved, will be image.cgi instead of the desired filename. However, I ran into Jay's problem if I specify the Content-Disposition header. Anyone knows a way to do this right? Thanks. Bird Lei

These are probably simple questions.

2001-05-25 Thread Bird Lei
If I upgraded Perl, do I need to recompile mod_perl? And if I have multiple Perls on a machine (eg 5.6.0 and 5.6.1. maybe in some non-standard directories), how can I tell mod_perl which one to use? Where is the place to check for Perl's config such as @INC? Thanks in advance. Bird Lei

RE: Connection to MySQL DB fails when mod_perl enabled...

2001-05-22 Thread Bird Lei
At 03:28 AM 2001/5/22 +0100, you wrote: Incidentally, I am using the following module versions: DBD-MySQL [1.2214]; DBI [1.13] Does this have any bearing on my problem? Does reinstalling the DBI help? I had problem with DBI before. I just reinstalled it and it works fine. (I can just

Free Memory

2001-05-13 Thread Bird Lei
I was using ApacheBench to test my site. When it's running (-n 100 -c 10), I see that the Free memory grew about 40MB. Why does this happen? It uses less memory when serving? Bird

Re: vhost and mod_perl

2001-05-11 Thread Bird Lei
, ___cliff rayman___ wrote: check out this section in the guide: http://thingy.kcilink.com/modperlguide/config/A_Script_From_One_Virtual_Host_C.html Bird Lei wrote: I use vhost_alias_module to set up subdomains for different users. -- at my httpd.conf VirtualDocumentRoot /home/%-4/web

vhost and mod_perl

2001-05-07 Thread Bird Lei
I use vhost_alias_module to set up subdomains for different users. -- at my httpd.conf VirtualDocumentRoot /home/%-4/web And use Apache::Registry to run the *.cgi script. I got problem with the following situation Script 1: /home/user1/web/index.cgi Address: http://user1.level3.level2.com

Re: mod_perl DSO leaking on restart?

2001-04-26 Thread Bird Lei
Same here. I did a few graceful restarts and the usage jumped to 80M from 10M... Then I apachectl stop and apachectl start to get a clean restart, it works fine. I am new to this list. Maybe this problem has been addressed... At 10:40 PM 2001/4/25 -0400, Philip Mak wrote: On Thu, 26 Apr

Re: Child keeps seg faulting

2001-04-26 Thread Bird Lei
I have the following config: Solaris 2.7, perl 5.6, php4 and mod_perl 1.25 compiled statically into Apache 1.3.19. This exact same config works flawlessly on several Suse machines and a few Red Hat machines. After building and testing the server, I get the following error when