Debugging for mod_perl

2004-12-17 Thread Sean Davis
I am a new user to mod_perl. I have a module that does some computation and has methods for generating png (using GD) and html. I wrapped it in a thin content handler. It works as expected except that when I include it in the httpd.conf file, I start noticing that the png colors are altered

Apache::Cookie question

2004-12-28 Thread Sean Davis
I am having trouble with Apache::Cookie. I keep getting errors like: Can't locate object "new" via package "Apache::Cookie" The code looks like: sub session { my $self = shift; return $self->{_session} if ($self->{_session}); my %cookie = Apache::Cookie->new($self->query)->parse;

Re: Apache::Cookie question

2004-12-28 Thread Sean Davis
On Dec 28, 2004, at 1:57 PM, Malcolm J Harwood wrote: On Tuesday 28 December 2004 01:41 pm, Sean Davis wrote: I am having trouble with Apache::Cookie. I keep getting errors like: Can't locate object "new" via package "Apache::Cookie" The code looks like: Checking t

Re: Apache::Cookie question

2004-12-28 Thread Sean Davis
On Dec 28, 2004, at 2:08 PM, Skylos wrote: Okay, checking another fairly obvious. Do you have libapreq installed? Skylos sdavis% perl -MApache::Request -e '0' sdavis% perl -MApache::Cookie -e '0' sdavis% perl -MApache::libapreq -e '0' All execute without errors. Do these need a valid request to b

Re: Apache::Cookie question

2004-12-29 Thread Sean Davis
On Dec 28, 2004, at 3:44 PM, Stas Bekman wrote: Sean Davis wrote: On Dec 28, 2004, at 1:57 PM, Malcolm J Harwood wrote: On Tuesday 28 December 2004 01:41 pm, Sean Davis wrote: I am having trouble with Apache::Cookie. I keep getting errors like: Can't locate object "new" via

clearing a parameter using Apache::Request

2005-01-06 Thread Sean Davis
I have a script that can submit back to itself. If the script is being entered from somewhere else, then the "submitted" form parameter is not present and the form is presented. If the parameter "submitted" is present, then I want to process the form. However, if the processing "fails", I wa

Re: maintaining state between request cycles....

2005-01-06 Thread Sean Davis
Greger, This is some simple code I put in my modules that uses Apache::Session and Apache::Cookie. $self->query is an Apache::Request object. The first time this is called, it checks if a cookie (you could use a form hidden field or a parameter in url to store the ID) exists and gets a sessio

Re: Overriding PerlAuthenHandler in sub-directories

2005-01-10 Thread Sean Davis
On Jan 10, 2005, at 8:54 AM, Martin Moss wrote: I was looking into this a while back, and came across several posts that described using a PerlAccessHandler to determine if PerlAuthenHandler should be set or not. You could then setup PerlSetVar Require_Auth '0' in any sublocations that didn't need

Re: Semi-OT usetrack_log analysis tools

2009-09-23 Thread Sean Davis
On Wed, Sep 23, 2009 at 7:45 AM, Igor Chudov wrote: > I already use google analytics, but I want to do my special analysis. > > i > > On Wed, Sep 23, 2009 at 3:43 AM, Clinton Gormley wrote: > >> On Tue, 2009-09-22 at 22:12 -0500, Igor Chudov wrote: >> > I have started collecting usertrack data, a

Re: Filter out error log by IP address?

2010-01-28 Thread Sean Davis
On Thu, Jan 28, 2010 at 1:52 AM, Michael A. Capone wrote: > Hello, > > I'm not sure this is a mod_perl question per se, but I'm hoping there's > a mod_perl solution to our problem. > > We currently use a 3rd party security company to do a nessus-type > security audit on our site for PCI compliance

Output a page for download

2005-01-12 Thread Sean Davis
A basic question, but I would like to output tab-delimited text (from a database lookup) to the user as an application/octet-stream with the name "tissue_dump.txt". I can't figure out the correct way to set the headers under mod_perl. Any help? Thanks, Sean

Re: Output a page for download

2005-01-12 Thread Sean Davis
good question. If you want to force user to download this file try to set the header 'Content-disposition' to the value 'attachment; filename=tissue_dump.txt' $r->content_type('text/plain') $r->headers_out->set('Content-disposition' => 'attachment; filename=tissue_dump.txt'); worked. Thanks Roman

Re: CGI::Session or CGI::Application

2005-01-15 Thread Sean Davis
On 1/15/05 0:29, "Octavian Rasnita" <[EMAIL PROTECTED]> wrote: > Hi, > > If I want to use CGI::Session or CGI::Application, can I do it if I use > mod_perl or there are better modules for using with MP? > > Thanks. > > Teddy > Both work quite well under mod_per. The CGI in both of those does

Re: [mp2] working directory of scripts

2005-01-15 Thread Sean Davis
Geoff, You may want to set an alias for the directory for your scripts. You could do something like (from apache2 docs): the Alias directive will map any part of the filesystem into the web space. For example, with Alias /docs /var/web the URL http://www.example.com/docs/dir/file.html will be

Re: [mp2] working directory of scripts

2005-01-15 Thread Sean Davis
of my filesystem pointing down to where stuff is. That doesn't seem like a good idea, and there'd have to be one pointing to each directory where there was a script that used relative pathnames. --Geoff Mishkin <[EMAIL PROTECTED]> Sean Davis wrote: Geoff, You may want to

Re: DBI memory usage

2005-01-18 Thread Sean Davis
On Jan 17, 2005, at 11:44 PM, Chris Ochs wrote: Also ask yourself if you really need all of the data at once. You may be able to filter it down in the query or build some incremental data structures using row-by-row iteration instead of fetchall_arrayref. Ya I do, it's basically a customer list exp

Auth handler and Registry scripts

2005-01-19 Thread Sean Davis
This is a simple not-understanding-the-issues question, I'm sure. I have an authen handler (that used Apache::Request, Apache::Cookie, and Apache::Session) in front of a uri serving a Registry script that runs using CGI. The script works fine without the handler in place, but when I put the h

Re: Auth handler and Registry scripts

2005-01-19 Thread Sean Davis
On Jan 19, 2005, at 10:11 AM, Sean Davis wrote: This is a simple not-understanding-the-issues question, I'm sure. I have an authen handler (that used Apache::Request, Apache::Cookie, and Apache::Session) in front of a uri serving a Registry script that runs using CGI. The script works

Re: Auth handler and Registry scripts

2005-01-19 Thread Sean Davis
On Jan 19, 2005, at 11:03 AM, Joe Schaefer wrote: Sean Davis <[EMAIL PROTECTED]> writes: On Jan 19, 2005, at 10:11 AM, Sean Davis wrote: This is a simple not-understanding-the-issues question, I'm sure. I have an authen handler (that used Apache::Request, Apache::Cookie, and Apache::

Re: Auth handler and Registry scripts

2005-01-19 Thread Sean Davis
On Jan 19, 2005, at 1:45 PM, Joe Schaefer wrote: Sean Davis <[EMAIL PROTECTED]> writes: [...] Thanks Joe, Tom, and Geoff for the replies. To answer all of you: I am NOT using mp2 and I think the behavior is documented for mp1, as others have suggested. True, you can't share the post

Re: AuthenHandler talking to ErrorDocument

2005-01-26 Thread Sean Davis
David, As another approach to the same problem, I created a custom response for FORBIDDEN. I use a template to customize the response to the situation. In some cases, it simply presents a login page (if no parameters are passed in). In others (bad form parameters), it gives the appropriate e

Re: Trying mod_perl for the first time - how to enable it?

2005-01-27 Thread Sean Davis
On Jan 26, 2005, at 9:21 AM, Edward Wijaya wrote: Thanks so much for the reply Sean, On Wed, 26 Jan 2005 20:58:02 -0500, Sean Davis <[EMAIL PROTECTED]> wrote: Edward, Did you look at the server log? Sean,here is my error server log: http://pastebot.nd.edu/127?tx=on&submit=Format+it%21

Re: securing web form interaction

2005-02-15 Thread Sean Davis
On Feb 15, 2005, at 1:02 PM, Jonathan Vanasco wrote: Can anyone give me some tips for securing web form interaction? I'm looking specifically for 2 things: preemptive defense of potential SQL injection attacks See CGI::Untaint on CPAN for routine untainting. Sean

setting user and logging

2005-02-18 Thread Sean Davis
I am using mod_perl 1.29 and apache 1.33 on macos. I have a content handler that does its own authen and authz. I would like to log the username. When I set the user using $r->user($username) in the content handler, I don't see the username in my log. I thought log handlers came after conte

Re: setting user and logging

2005-02-18 Thread Sean Davis
On Feb 18, 2005, at 9:16 AM, Geoffrey Young wrote: Sean Davis wrote: I am using mod_perl 1.29 and apache 1.33 on macos. I have a content handler that does its own authen and authz. I would like to log the username. When I set the user using $r->user($username) in the content handler, I do

Re: Question about Files directive

2005-03-02 Thread Sean Davis
On Mar 2, 2005, at 9:37 AM, Jain, Abhay K, ALABS wrote: I just compiled mod_perl 1.29 with apache. As I understand from the documentation that with use of directive "Files", Apache caches the perl cgi code so that on next invocation it does not to reparse it. If I want to specify more than one cgi

Re: P3P XML inclusion

2005-06-10 Thread Sean Davis
On Jun 10, 2005, at 8:07 AM, Sean Davis wrote: I have a P3P XML file that I want to include in the META section of all HTML generated from certain locations. Unfortunately, this is a recently changed policy and I obviously do not want to go back to change all relevant HTML and dynamically

P3P XML inclusion

2005-06-10 Thread Sean Davis
I have a P3P XML file that I want to include in the META section of all HTML generated from certain locations. Unfortunately, this is a recently changed policy and I obviously do not want to go back to change all relevant HTML and dynamically generated code. Is there a way to do this after-th

Re: P3P XML inclusion

2005-06-10 Thread Sean Davis
On Jun 10, 2005, at 9:50 AM, Frank Wiles wrote: On Fri, 10 Jun 2005 08:20:10 -0400 Sean Davis <[EMAIL PROTECTED]> wrote: On Jun 10, 2005, at 8:07 AM, Sean Davis wrote: I have a P3P XML file that I want to include in the META section of all HTML generated from certain loc

Re: Apache::DBI and mod_perl

2005-06-23 Thread Sean Davis
On Jun 23, 2005, at 5:29 AM, Jan Eden wrote: Hi, please accept my apologies for spamming this list - I need to get mod_perl up and running quickly and will be more quiet in the future. The README of Apache::DBI tells me to configure mod_perl using perl Makefile.PL PERL_CHILD_INIT=1 PERL_

Re: Apache::DBI and mod_perl

2005-06-24 Thread Sean Davis
On Jun 24, 2005, at 5:43 AM, Jan Eden wrote: Perrin Harkins wrote on 24.06.2005: On Fri, 2005-06-24 at 10:02 +0200, Jan Eden wrote: What is the overload message supposed to tell me? That you called disconnect but Apache::DBI prevented the handle from being disconnected. The "overload" mes

Re: maintaining shared memory size (was: Re: swamped withconnection?)

2005-08-24 Thread Sean Davis
On 8/23/05 10:04 PM, "Perrin Harkins" <[EMAIL PROTECTED]> wrote: > On Wed, 2005-08-24 at 10:31 +1000, Badai Aqrandista wrote: >> Anyway, to fix this, I'm trying to make my onw shared memory with >> Apache::SharedMem. > > You can share read-only data by loading it into normal variables during > st

Re: DBD:ORACLE test failing

2005-09-07 Thread Sean Davis
On 9/7/05 11:28 AM, "raja agireddy" <[EMAIL PROTECTED]> wrote: > Hello! > > I have modepler2.0,Apache2.0.53 ,Perl5.8 on Sun OS 5.9. > I have successfully installed DBI 1.48 and currently in the process of > installing DBD-Oracle-1.16. > > I am getting the following error while running "make test

Libapreq-2.0.6 build issue

2005-09-12 Thread Sean Davis
I am trying to build libapreq2 on macos 10.3.9, apache2.0.54, mod_perl 2.0.1 (perl 5.8.1). I am doing the following and getting these results. libexpat is in /usr/local/apache2/lib. Any suggestions? Thanks, Sean % ./configure --with-apache2-apxs=/usr/local/apache2/bin/apxs --enable-perl-glue

Re: Libapreq-2.0.6 build issue

2005-09-12 Thread Sean Davis
On 9/12/05 9:47 AM, "Philip M. Gollucci" <[EMAIL PROTECTED]> wrote: > Sean Davis wrote: >> % ./configure --with-apache2-apxs=/usr/local/apache2/bin/apxs >> --enable-perl-glue >> % make test > > % ./configure --with-apache2-apxs=/usr/local/apache2/bin

[OT] PDFs and apache 2.0.54

2005-10-12 Thread Sean Davis
This is really off-topic, but I haven't found a good place to look into this issue. I have a set of pdfs on my server (2.0.54, macos 10.4.2) that I am serving statically, some of which I can download appropriately. However, it appears that PDFs with images (?) do not download properly and are cor

Re: [OT] PDFs and apache 2.0.54

2005-10-12 Thread Sean Davis
On 10/12/05 5:48 PM, "Perrin Harkins" <[EMAIL PROTECTED]> wrote: > On Wed, 2005-10-12 at 17:05 -0400, Sean Davis wrote: >> Any ideas, or direct me to the appropriate forum (I >> tried comp.infosystems.www.servers.unix to no avail) if possible. > > I think

Re: Getting started with Apache::AuthCookie

2005-11-02 Thread Sean Davis
On 11/2/05 12:22 PM, "Dan Axtell" <[EMAIL PROTECTED]> wrote: > Hi, > > I'm new to mod_perl programming, and I'm trying to write an > authentication/authorization system under mod_perl 2.0. I've been suing > mod_auth, but I need a database-driven system and mod_auth_mysql won't > complie on my s

Re: mailing list does NOT work

2005-12-23 Thread Sean Davis
On 12/23/05 6:48 AM, "Gordon Stewart" <[EMAIL PROTECTED]> wrote: > List > > TO WHO IT MAY CONCERN > > GET ME OFF THIS LIST > > Gordon You can see how to do this yourself here. Probably faster than waiting for another person to respond to your request? http://perl.apache.org/maillist/modperl.

Re: Adding customs httpd.conf data in mod_perl 2.0

2005-12-30 Thread Sean Davis
On 12/30/05 1:39 PM, "Frank Wiles" <[EMAIL PROTECTED]> wrote: > On Fri, 30 Dec 2005 10:32:49 -0800 > Curtis Poe <[EMAIL PROTECTED]> wrote: > >> Hi all, >> >> I've been searching like mad through the docs for how to do something >> that I know must be really simple. Let's say that I've added

Apache::AuthDBI problem when using grp_table

2006-01-11 Thread Sean Davis
Using Apache::AuthDBI-0.9901. I get the following error in the error log (and a 500 Server error) if I include a grp_table, but it works fine without the grp_table. Undefined subroutine &Apache::Constants::OK called at /Library/Perl/5.8.6/Apache/AuthDBI.pm line 742.\n This is line 742 from Aut

Re: reload or restart httpd

2006-02-06 Thread Sean Davis
On 2/6/06 7:10 AM, "Ken Perl" <[EMAIL PROTECTED]> wrote: > When code is updated during developing period, httpd progress must be > reload or restart so that to see the change. If is it possible to see > the change without reload httpd? You didn't say which version of mod_perl you are using, but

Re: reload or restart httpd

2006-02-06 Thread Sean Davis
On 2/6/06 9:06 AM, "Ken Perl" <[EMAIL PROTECTED]> wrote: > Yes, I am using Apache2, the doc is very useful. > in httpd.conf file, I use PerlInitHandler example.pm's handler() as > starting point, when I update the code in handler(), I didn't see the > updates, so I asked previous question. > Af

Re: Modperl2 question

2006-03-13 Thread Sean Davis
On 3/13/06 3:07 PM, "Boysenberry Payne" <[EMAIL PROTECTED]> wrote: > Since we're on the subject of CGI vs libapreq. I've moved to using > Apache2::Request > and APache2::Cookie with no problems. Now I'm wondering if there > isn't an equivalent > for the rest of what CGI.pm offers. In partic

Re: No image creation in mod_perl (was RE: Apache2/MP2 Segfaults ...)

2006-03-27 Thread Sean Davis
On 3/27/06 6:21 AM, "Tom Schindl" <[EMAIL PROTECTED]> wrote: > Please note that this is not only true for Image-Creation but also if > you are restoring large string contents in a variable (e.g. after > processing a file-upload). > > Tom > > Frank Maas wrote: >> Tom, >> >> >>> As a sidenote

Re: Database transaction across multiple web requests

2006-03-31 Thread Sean Davis
On 3/31/06 6:59 AM, "Tomas Zerolo" <[EMAIL PROTECTED]> wrote: > Howdy, > > this is not strictly a modperl question, but I'm sure some of you are > downright experts on this. > > We have a modperl2 applicattion with a database backend (PostgreSQL, > DBI). For session management we use Apache::

Re: Database transaction across multiple web requests

2006-03-31 Thread Sean Davis
On 3/31/06 10:01 AM, "Frank Wiles" <[EMAIL PROTECTED]> wrote: > On Fri, 31 Mar 2006 14:47:37 +0200 > Issac Goldstand <[EMAIL PROTECTED]> wrote: > >> Granted, I use a few MySQL features for this; I'm not sure if LIMIT >> exists in postgresql, and I'm fairly sure that the SQL_CALC_FOUND_ROWS >>

Re: mod_perl 2.0 - redirect

2006-04-06 Thread Sean Davis
I think it would help if you could give some more information (like how you are writing the index.html file). Some code? Sean On 4/6/06 7:32 AM, "Graf László" <[EMAIL PROTECTED]> wrote: > Hi all, > > I made a mod_perl 2.0 module that connects to an IMAP server, > retrieves the undeleted mails

Re: anyone with pgpool experience?

2006-04-26 Thread Sean Davis
On 4/26/06 2:15 PM, "Tom Schindl" <[EMAIL PROTECTED]> wrote: > Joachim Zobel wrote: >> On Tue, 18 Apr 2006 08:17:47 +0200 >> Tom Schindl <[EMAIL PROTECTED]> wrote: >> >> >>> The better approach seems to me using mod_dbd which has the draw back >>> that it is only available on apache-2.2 at le

Re: Oracle DBF Tablespaces and Perl

2006-05-01 Thread Sean Davis
On 5/1/06 11:00 AM, "Mark Galbreath" <[EMAIL PROTECTED]> wrote: > Our Oracle team exports 8 DBF files to a local directory. Is it possible to > use perl to query these tablespace files directly? Using perl, how would I > get them into a MySQL database? Do I need anything besides DBI.pm? I t

Re: Oracle DBF Tablespaces and Perl

2006-05-01 Thread Sean Davis
On 5/1/06 11:37 AM, "Mark Galbreath" <[EMAIL PROTECTED]> wrote: > Unfortunately, direct access to the Oracle database is not possible as it is > off-site. All I have to work with are the 8 DBF files and DBI.pm. So a search of cpan turns up: http://search.cpan.org/~clotho/CAM-DBF-1.01/lib/CAM

Re: Installing mod-perl on Tiger

2006-06-01 Thread Sean Davis
On 5/31/06 11:35 PM, "Jonathan Vanasco" <[EMAIL PROTECTED]> wrote: > > On May 31, 2006, at 10:11 PM, Rebecca Lovelace wrote: >> >> Any advice would be appreciated, even if it's just as simple as a >> recommendation for me to understand the underlying integration. > > my advice (apologies if

Re: Authentication

2006-08-03 Thread Sean Davis
On 8/3/06 7:51 AM, "Vladimir S. Tikhonjuk" <[EMAIL PROTECTED]> wrote: > Hi all! > > I'm thinking about 2 methods of authentication users for my site. > May be you'll help me to choose one of them, or advice me something else. > > The first method: using PerlAuthenHandler on '/' Locati

Re: HTTP Proxy using MOD_PERL

2006-09-06 Thread Sean Davis
On Wednesday 06 September 2006 16:26, Sumit Shah wrote: > Charles, > > Thanks for the information. I will surely take a look at mod_proxy in > detail. I believe I would still need to use mod_perl to invoke the perl > script I have to do the processing. > > So if I understand, I could use mod_proxy

Re: [CGI] Can't Execute Script on Apache

2006-09-18 Thread Sean Davis
On Monday 18 September 2006 07:18, Simon Wray wrote: > Hi > > > > I'm trying to execute a simple Perl and/or Python script on Apache2.2 > from within an HTML document, but with no success. What does your error_log say? Also, it looks like you are using SSI, so you will need to make sure SSI is

Re: [CGI] Can't Execute Script on Apache

2006-09-18 Thread Sean Davis
On Monday 18 September 2006 07:46, Simon Wray wrote: > The error log contains no entry pertaining to the loading of the page. > Which makes me think the script has been located & executed... > > I didn't think I needed to set up SSI because I'm using exec and I have > ExecCGI configured. I.e. I'm n

Re: Logging to a file

2006-09-22 Thread Sean Davis
On Friday 22 September 2006 03:34, James Smith wrote: > Can you get away with using the apache logs to do this - use > mod_log_config and add save your information in a sub_process_env > variable - and add a %{my_env_var} entry into the logging directive? > > James > > On Fri, 22 Sep 2006, Jonathan

Re: Problem with webdav and mod_perl

2006-09-28 Thread Sean Davis
On Thursday 28 September 2006 00:36, Sangameshwara Kudapali wrote: > hello, > > I am accessing an webdav folder from windows which is mapped to the > apache server directory example usr/local/../webdav. When i accessing the > webfolder, all the folders under the webdav folder in linux are getti

Re: perl script doesn't work under apache2

2006-11-08 Thread Sean Davis
On Wednesday 08 November 2006 07:59, Kari wrote: > Hi, > > We have a Debian 3.1 Sarge with 2.6 kernel and apache2. The perl > modul is loaded. (we checked it with phpinfo()) We want to execute a > html which contains a perl script in th home/public_html directory, but > we received an error message

Re: saving userid

2007-01-08 Thread Sean Davis
On Monday 08 January 2007 08:00, Malka Cymbalista wrote: > I am running Apache 2.0.55 with mod_perl 2.0.1 and Perl 5.8.1 on a Sun > Solaris machine. I am writing a perl script that requires the user to > log in with a userid and password in order to access the pages the > script creates. We plan on

Re: Making .pm files run.

2007-01-15 Thread Sean Davis
iNetForce wrote: I got a website from a friend and I was trying to get it to work on server running FREEBSD with Apache and modperl. The website was coded to run an Alias called go and has several .pm files. I got the alias go by adding a line of configuration to the httpd.conf file but I've had

Re: http authentication via a secure LDAP server

2007-01-16 Thread Sean Davis
On Tuesday 16 January 2007 05:35, Malka Cymbalista wrote: > I am running Apache 2.0.55 with mod_perl 2.0.1 and Perl 5.8.1 on a Sun > Solaris machine. We would like to do http authentication via our ldap > server which is installed with SSL. Are there perl modules that have to be > installed or mus

Re: Making .pm files run.

2007-01-16 Thread Sean Davis
On Tuesday 16 January 2007 12:03, iNetForce wrote: > Now im getting this error on the httpd-error.log file: > > Syntax error on line 691 of /usr/local/etc/apache/httpd.conf: > Can't locate Image/Magick.pm in @INC Looks like your code depends on Image::Magick. You will probably need to install

Re: Making .pm files run.

2007-01-16 Thread Sean Davis
On Tuesday 16 January 2007 15:12, iNetForce wrote: > You got me lost there, the terminology you guys use really throw me off, > sorry :( > sendmail is installed on the system, what exactly do I need to do so I dont > get the sendmail error? Things that end in .pm are usually perl modules. So, you

Re: Charts and Graphs

2007-04-13 Thread Sean Davis
On Thursday 12 April 2007 19:15, Bill Whillers wrote: > Hello, > > I'm wondering what people are using for efficiently generating charts and > graphs on the fly from within a mod_perl environment. I've been using > GD::Graph for a while but I'm hoping to get a bit more feature-deep. I'm > not ter

Re: How to run perl in Oracle application server 10g release 2

2007-05-22 Thread Sean Davis
On Tuesday 22 May 2007 06:17, Sheeja anil wrote: > Dear All, > > How to run perl in Oracle Application server. > > I have to make a small web application in perl and run it in Oracle > Application server 10g release 2. > > Can any one let me know how to run perl in OAS ? Sheeja, This list is for

Re: Howto develop with modperl 2 ? (Restart Apache all the time ?)

2007-06-20 Thread Sean Davis
Jens Helweg wrote: > Thanks Linonel, Jonathan. > I have added this to my configuration and now get the error message: > > failed to resolve handler `Apache2:Reload': > > I haven't had the chance to look at this any closer. I will do this > tomorrow, though. I don't want to overstrain your help -

Re: Installing modperl when Apache is currently installed.

2007-07-23 Thread Sean Davis
Dan King wrote: > Hi list, > > > > I have a current build of apache on a Sun Solaris 9 and want to install > modperl as well. The instructions I have found use the apache source. > This is the part I am unsure about, do I need to have Apache source if > it is already installed? If I try to inst

Re: download apache

2007-08-09 Thread Sean Davis
prapulla rani wrote: > hi, > Where to download Apache source code . > > please send me reply it is very need to me. http://httpd.apache.org/

Re: All about CGI.pm

2007-08-17 Thread Sean Davis
Tracy12 wrote: > How can we install this seperately from where should we download this? CGI is available from CPAN. Sean

Re: [mp2] how to add data to posted form?

2007-10-07 Thread Sean Davis
newgaton new wrote: > > > 2007/10/7, Perrin Harkins <[EMAIL PROTECTED] >: > > On 10/6/07, newgaton new <[EMAIL PROTECTED] > > wrote: > > i have a question. i am coding a program. i must change / add some > > data to posted form fro

Re: [mp2] how to add data to posted form?

2007-10-08 Thread Sean Davis
newgaton new wrote: my pleasure for receiving your reply! Maybe I didn't describe clearly the question . now I give a example to show my question. First, browser post a form(the method of form is POST) data, and it include some input element. . client fill some data to the element,for exa

Re: Reload/Graceful Restart Apache

2008-04-03 Thread Sean Davis
On Tue, Apr 1, 2008 at 5:48 PM, xyon <[EMAIL PROTECTED]> wrote: > Hello all, > > I've got a modperl app that changes some apache configs (via text > files), but need to tell Apache to re-read its configuration files for > the changes to take effect. What might be the best way of going about > s

Re: Reload/Graceful Restart Apache

2008-04-03 Thread Sean Davis
On Tue, Apr 1, 2008 at 5:59 PM, xyon <[EMAIL PROTECTED]> wrote: > When you mean by hand, you mean something like: > > `/usr/sbin/httpd -k $action` > > Where $action could be "stop" and then "start"? I don't think this is > possible, I get permission denied on the socket: > > (13)Permission deni

Re: Beginner question re. mod_perl

2008-05-17 Thread Sean Davis
On Sat, May 17, 2008 at 11:04 AM, kropotkin <[EMAIL PROTECTED]> wrote: > > Hi > > I'm just trying to understand the basics, having set up my server to run > mod_perl. > > say a request is made which via a Location directive and PerlResponseHandler > directive is handled by my Perl module say Handle

[OT] connection limitation

2008-05-28 Thread Sean Davis
This is decidedly off-topic We run a pretty small website (multi-use) on Apache (2.2) and mod_perl (along with some php, cgi, and static content). Unfortunately, our organization has recently decided to institute the policy of scanning the site on a regular basis for security reasons. The sc

Re: [OT] connection limitation

2008-05-28 Thread Sean Davis
On Wed, May 28, 2008 at 1:19 PM, Fred Moyer <[EMAIL PROTECTED]> wrote: > Sean Davis wrote: >> >> This is decidedly off-topic >> >> We run a pretty small website (multi-use) on Apache (2.2) and mod_perl >> (along with some php, cgi, and static content).

Re: [OT] connection limitation

2008-05-28 Thread Sean Davis
by ip. Just to finalize, I ended up using: http://www.ivn.cl/apache#bandwidth This allows setting connection and bandwidth limits based on IP or across a site. Worked like a charm (webserver load down from 20 to 2). Sean > "Sean Davis" <[EMAIL PROTECTED]> > > 2008

Re: a require problem

2008-08-29 Thread Sean Davis
On Fri, Aug 29, 2008 at 9:54 AM, Jeff Pang <[EMAIL PROTECTED]> wrote: > I have began a project, but meet some problems,:) > > say there are three dirs: > > |- cgi-bin > |- cgi-bin - lib > |- cgi-bin - template > > > I have a script in cgi-bin, which requires the template file from template > dir. >

Re: question on downloading CGI

2008-09-05 Thread Sean Davis
On Fri, Sep 5, 2008 at 12:09 PM, <[EMAIL PROTECTED]> wrote: > Hello, > > I want to generate a data file which should be downloaded by clients. > Rather than generate this file and put it in a web dir and tell > clients to download it, is there any way to generate the content > dynamicly and put it

Re: Reg Web Page Creation in Mod Perl

2009-02-16 Thread Sean Davis
On Mon, Feb 16, 2009 at 9:32 AM, praba har wrote: > Hi, > > I am new to mod perl concept. I have installed everything in my machine. > But I don't how to create web page in mod perl. Please let me know how to > create web page in the mod perl. > Hello. A google search for mod_perl tutorials h