RE: Apache::Reload???

2001-08-01 Thread Bryan Coon
That worked :) Ahh, at least I solved ONE problem! Thanks! Bryan The solution is to extend @INC at the server startup to include directories you load the files from which aren't in @INC. For example, if you have a script which loads MyTest.pm from /home/stas/myproject: use lib

One more small Apache::Reload question

2001-08-01 Thread Bryan Coon
First, thanks to all the great suggestions, it looks like it works fine. However, now my logs are loaded with a ton of subroutine redefined warnings (which is normal I suppose?). I can certainly live with this in a development environment, but thought I would check to see if it is expected,

Help needed with OO and mod_perl!

2001-07-31 Thread Bryan Coon
Hi, I am trying to convert some of my scripts into a more oo friendly style, and use them under mod_perl. For the very simple scripts below, when I run them through the browser I get the following errors: From my apache logs: [Tue Jul 31 11:25:18 2001] null: Attempt to free unreferenced scalar

Apache::Reload???

2001-07-31 Thread Bryan Coon
I must have missed something in setting up Apache::Reload. What I want is simple that when I make a change in my scripts I dont have to restart the Apache server... I put PerlInitHandler Apache::Reload in my httpd.conf, and added 'use Apache::Reload' to the modules that I want to be reloaded on

Porting CGI scripts help needed

2001-07-26 Thread Bryan Coon
Hi, I have (happily) compiled and configured Apache with mod_perl, mod_ssl, mod_php and DSO. Whee! Now I am working on porting my scripts over... I have always used strict and perl -w, so for the most part, I think I can just pop my cgis in the /perl directory as Ive defined it in httpd.conf.

Help needed with compile

2001-07-25 Thread Bryan Coon
Hi, I am trying to compile Apache with a bunch of modules and DSO. I cant find any documentation that covers all of this though. perl.apache.org/guide/ give lots of combination examples, but not all. I would like to build Apache 1.3.20 with mod_ssl, mod_perl, mod_php and DSO support, and for

Setup help needed

2001-07-24 Thread Bryan Coon
Hi, I am having trouble figuring out what is up with mod_perl. I currently have apache 1.3.20 running on RH6.2, compiled with mod_ssl, mm 1.1.3 and DSO support enabled. What is the method to install mod_perl? Is it not already included with apache 1.3.20? I may have misunderstood this... I