RE: Speed of downloading problem.

2002-02-05 Thread Purcell, Scott
ike below ThreadsPerChild 50 -Original Message- From: Perrin Harkins [mailto:[EMAIL PROTECTED]] Sent: Monday, February 04, 2002 10:10 AM To: Purcell, Scott; [EMAIL PROTECTED] Subject: Re: Speed of downloading problem. > I have Apache/mod_perl installed on a NT box, and I am allowing cu

Speed of downloading problem.

2002-02-04 Thread Purcell, Scott
Hello, I have Apache/mod_perl installed on a NT box, and I am allowing customers to do downloads of High-Resolution assets. My problem is the speed of downloads is about 1/3 slower than the same box running IIS. IT dept, has confirmed that the network is not the issue, and we have ran tests for t

Multiple Sites

2001-12-03 Thread Purcell, Scott
Hello, I have the need to create 10 web sites off my Apache web server. I do not want to use 10 IP addresses. So I am doing to cheeze and do a URL/directory/index.html foreach site. Then I would give each customer a URL of URL/directory and I would like the index.html or the default.html to com

RE: [OT] What hourly rate to charge for programming?

2001-10-10 Thread Purcell, Scott
What kind of thread is this? I ask a question about modperl on NT and I get riddled from the list for using NT. Then we have a thread that goes for two days about hourly charges? What's up with this ..This should be for questions about modperl. Give it a rest, I'm tired of throwing that thread a

Virtual Host?

2001-09-10 Thread Purcell, Scott
Hello, I have Apache w/modperl running on my NT box. The box has Samba on it, and I can see my Unix volumes from my SGI box. There is a volume there /DISK7 and I would like to be able to use that as a kind of Virtual host through the Apache Web server. /DISK7 has a bunch of .mov files that inste

nph- in url on NT gives error

2001-08-20 Thread Purcell, Scott
Hello, I was trying to do an exercise from TPJ Issue#5 (vol2.,no2) Rating Web Page Tastefulness with a Perl Agent, and it uses nph- in the URL. (Steins column). Anyway, I am running Apache 1.3.20 and just began coding a few lines. I noticed errors in the log file: "couldn't spawn child process:

Path Issue mod_perl vs cgi-bin?

2001-08-17 Thread Purcell, Scott
Hello, I am running Apache w/mod_perl on a NT box. Location = D:/Apache I have created some modules and put the modules in a folder D:/Apache/vb_modules I set my PATH on the NT box to look in D:/Apache/vb_modules and all is good when I use those modules under mod_perl folder. But today, I have th

Socket Nightmare On NT.

2001-08-15 Thread Purcell, Scott
Hello, I am running mod_perl 1.2 on NT. I have been working with it for over 4 months, and am beginning to understand it. But for the past 4 months, I have complained about a socket problem using IO socket. The only answer I got was to turn the max child from 50 to 1. When I do that the IO::Socket

RE: Apache::Reload???

2001-08-01 Thread Purcell, Scott
Does that work under Unix only? I am on NT and it does not appear to work. Can someone clarify. Thanks Scott -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 9:38 PM To: Bryan Coon Cc: Matt Sergeant; '[EMAIL PROTECTED]' Subject: Re: Apache::Rel

RE: Newbie question

2001-07-12 Thread Purcell, Scott
Yes, Go to Ron Savages site. He has a binary build of Apache + mod_perl and also the latest perl. http://www.savage.net.au go to the navigation and press on Perl, and look under Perl Modules and look three bullet items down ... It is there. Follow along. I have used it twice and it gets you opera

RE: re rand bug?

2001-07-09 Thread Purcell, Scott
Birznieks [mailto:[EMAIL PROTECTED]] Sent: Friday, July 06, 2001 6:22 PM To: Purcell, Scott; '[EMAIL PROTECTED]' Subject: Re: rand bug? Your problem is likely that the use of a global my is creating a closure (see mod_perl guide). Replace it with use vars qw($rand); and don't declar

rand bug?

2001-07-06 Thread Purcell, Scott
Hello, rand bug with mod_perl? "my $rand = int(rand(1000)) always produces '2'" under mod_perl. I have noticed that if I ask for the line above, it always puts $rand at a '2'? So I did some test below, looping through and the first time through with mod_perl, the number is always 2? Under inve

Tutorials Need To Learn More

2001-07-06 Thread Purcell, Scott
Hello, I am working with mod_perl and apache on NT (No ripping please ... it is a political issue here at my work.). Anyway, I have been trying to learn more about taking advantage of handlers, etc. I purchased the book "Writing Apache Modules with Perl and C", but it is NOT NT friendly. Most of

Apache V2 and Mod_Perl Question

2001-07-05 Thread Purcell, Scott
Hello, NT question. I believe that Apache 2 is out for NT, and was wondering if apache 2 works with mod_perl? I am running Apache 1.3.20 and mod_perl 1.25_01-dev. Can or should we start converting to Apache 2? Just curous about some time frames for this. Thanks Scott Purcell

StatINC Reload on NT

2001-06-27 Thread Purcell, Scott
I have begun development on a new project and I am using Apache on NT with mod_perl. I have created a lot of modules and I am using them in my code. The problem is that as I continue to develop, some modules keep changing, and I am getting tired of restarting the server. I have read the mod_perl C

Startup.pl File Q

2001-06-27 Thread Purcell, Scott
Mod_perl version: 1.25_01-dev Perl version: 5.6.1 Apache Version: 1.3.20 OS:NT I am in the apache book and I am doing some hacking. In my startup.pl file, I put 'use CG qw(:standard); along with some other modules. Anyway, then I typed that little dittie below, and co

mod_perl install

2001-06-26 Thread Purcell, Scott
Hello, I am trying a new install of mod_perl on my NT box here which is running apache. The last install I used Ron Savages NT binary distribution. And it was easy to install and worked. But I feel that I need to install mod_perl from scratch (I have to begin supporting it here at my shop). I down

Reload Modules on NT Apache

2001-06-26 Thread Purcell, Scott
Hello, I am using mod-perl, and I am in the development stages of coding. Each time I make a code change to a module, I must restart apache. I know there must be docs for this, but I cannot find them from the apache web site. Could someone assist me in finding those? Or if someone knows of a simpl

Socket On NT Resolved

2001-06-20 Thread Purcell, Scott
Hello, Well after two weeks of posting that socket issue up on this site, one member came forward with the following info: Set in httpd.conf ThreadsPerChild 1 This problem should go away. Its a bug I ran into for the first time a few years back, and seems to have to do with any network sockets

ModPerl package Q

2001-06-20 Thread Purcell, Scott
Hello, Well, this is the last time I am going to bring this up. I am on Apache NT, and I have the following .pm file that I believe I localized everything in order to create a socket. The code below does work. But it never makes a new socket. As you can see I print out the IO::Socket::GLOB and it

Curious About Require

2001-06-20 Thread Purcell, Scott
Hello, I have a question about require when using mod-perl. I produced four simple .pl files. main.pl, one.pl two.pl three.pl >From the main.pl you can link to either one two or three.pl. Pretty simple. The problem begins when I put a require in "one.pl, two.pl, and three.pl". If in each of thos

Cached Code Disappeared?

2001-06-19 Thread Purcell, Scott
Hello, Still seeking assistance form anyone who is experienced with sockets and mod-perl /apache on NT. Anyway, as my previous email showed, I built a site which used a global filehandle to a socket. It worked great for about two hours, and then all of a sudden stopped. After rebooting the apache

SocketConnect

2001-06-19 Thread Purcell, Scott
This replace my earlier WebSiteQuestion post, in which maybe the question was too broad. Would there be any issues if I had a perl module called that creates a global socket handle, and then use that handle throughout a bunch of different web pages? Or is there any concerns I should be aware of w

Web Site Question

2001-06-19 Thread Purcell, Scott
Hello, First: I am running apache/mod-perl on a NT box as a web server. Sorry it is not unix, it is the only tool I can have. Kind of a forward question, but I am curious about something. My large web site talks to a back-end product that uses an API and I use the IO::Socket to talk to it. It is

Forking Child 2

2001-06-18 Thread Purcell, Scott
Hello, I wrote a little bit ago about trying to not fork my Apache server. I want to run only a single child. Anyway, I got three terrific responses, but have no clue what they mean. I am on Apache NT4.0 and am learning. Anyway, some of the responses I got for setting a single process were: type

single process

2001-06-18 Thread Purcell, Scott
Hello, In the CGi to mod_perl porting coding guidelines, under the headline "sometimes it works, Sometimes it doesn't" It says to run the server (during testing) in a single process mode (httpd -X) I tried putting httpd 1 into the conf file, and it got mad at me. How does one set the process (sp

IOSocket Problem

2001-06-15 Thread Purcell, Scott
Hello, I could really use some help here. I have had the following outstanding problem for two weeks. I have read the mod_perl coding guidelines and the code below actually comes from page 7 the counter example. Background: My web site requires a login with a name and password, then I create a lo

Help Apache::Registry Setup

2001-06-15 Thread Purcell, Scott
Hello I am trying to learn how to configure and set up the Apache::Registry to cache a script And I am in the documentaton but still getting lost. I am here http://perl.apache.org/guide/porting.html#Before_you_start_to_code And looking at the Exposting Apache::Registry Secrets I entered the counte

Mod-Perl Installed next Q

2001-06-15 Thread Purcell, Scott
Hello, Thank you all and Ron for the link to savage.net to get my Apache/Perl/ModPerl installed. I was successful about 10 minutes ago and my machine looks happy. Well, now that the package is running, how do I use the persistant memory, do the .pl files need to be named something different. Or h

How To Turn On .pl files on Apache?

2001-06-14 Thread Purcell, Scott
Hello, Rookie here. Well I installed the Apache Web Server on my local NT box here and it runs. I have gone through the FAQ's but cannot find out how to turn on .pl files that are in the cgi-bin directory much less making other cgi-bin directories. Could some kind sole please assist me with gett

Questions Simple

2001-06-14 Thread Purcell, Scott
Hello, I am on IIS and fighting ActiveStates .plex. It appears so buggy and flaky that I am losing development time. I want to try some code that is flaky on the IIS/perl .plex on the Apache mod-perl. I know I can download the apache web server in binary form and install it pretty quickly. After

Check Persistance

2001-06-11 Thread Purcell, Scott
Hello, Newbie modperl guy has question about the code he created today. This is the beginning of a web site, and when the user logs in, I want to create a socket that will remain persistent in memory until the WebServer is started again. I do NOT want to keep opening up sockets each time this file

Questions Concerning Large Web-Site

2001-06-11 Thread Purcell, Scott
Hello, I have a large asset-management system that is web-based. In the past I have always used cgi and perl. I need to rewrite it so that it works with mod-perl or PerlEx Anyway, I used to tie my site together with a main, and a ton of requires (which required pages of subroutines). I would u

Single Process Mode IIS

2001-06-11 Thread Purcell, Scott
Hello, I joined the modperl line because I am trying to work with persistent web data. My problem is that I am forced into using PerlEx, which is basically activestates mod-perl. If this offends anyone on this list, please let me know. My hands are tired. I am a perl developer needing assistance.