RE: index.pl not default, even when specified

2005-09-27 Thread Matthew Ryan
Dickon Wrote: >2. No matter what I try to do, index.pl does not show up as the default >page. Instead, Apache gives me a directory listing. I've tried >searching various lists and forums but I cannot find a straightforward >solution. Hello Dickon, I was intrigued by your dilemma and I trie

RE: index.pl not default, even when specified

2005-09-27 Thread Frank Maas
> Changing the extension does not allow the page to come up as default > (even when changing the DirectoryIndex to reflect the extension > change). Now I know you don't want this in the end, but what happens if you add 'AddHandler perl-script .pl' to your configuration? And are you sure no other

Re: Installing Modperl problem

2005-09-27 Thread Philip M. Gollucci
Brenda Washington wrote: # By Brandon S. Allbery # # Usage: $cwd = getcwd(); Try the Cwd from here instead: http://search.cpan.org/~kwilliams/PathTools-3.11/Cwd.pm -- END What doesn't kill us can only make us stronger.

Re: Installing Modperl problem

2005-09-27 Thread Geoffrey Young
Brenda Washington wrote: > I upgraded the Cwd.pm v. 2.04 which was shipped with perl 5.6.1. because I > received > errors to upgrade to the 2.06 version of Cwd.pm. I download the Cwd.pm 2.06 > version > and replaced the Cwd.pm 2.04 version with the upgraded 2.06 version. That's > why > you a

Re: Installing Modperl problem

2005-09-27 Thread Brenda Washington
I upgraded the Cwd.pm v. 2.04 which was shipped with perl 5.6.1. because I received errors to upgrade to the 2.06 version of Cwd.pm. I download the Cwd.pm 2.06 version and replaced the Cwd.pm 2.04 version with the upgraded 2.06 version. That's why you are seeing comments in your Cwd.pm v. 2.04

Re: index.pl not default, even when specified

2005-09-27 Thread Dickon Newman
Changing the extension does not allow the page to come up as default (even when changing the DirectoryIndex to reflect the extension change). However, loading the page with a cgi extension works fine just as it did with a pl extension. The script doesn't have a problem executingmy perl mo

Re: index.pl not default, even when specified

2005-09-27 Thread Dickon Newman
Frank, What happens if you move (or copy) the DirectoryIndex definition into the directory container for the perl scripts. Thus: Problem persistsI also tried placing the DirectoryIndex into the Vhost config lines.no luck... Dickon...

RE: index.pl not default, even when specified

2005-09-27 Thread Frank Maas
Dickon, > I'm having trouble with my default index file (DirectoryIndex) in > Apache What happens if you move (or copy) the DirectoryIndex definition into the directory container for the perl scripts. Thus: > > ServerName 10.1.1.249 > DocumentRoot /usr/local/www/data/ > UseCanon

Re: Installing Modperl problem

2005-09-27 Thread Geoffrey Young
Philip M. Gollucci wrote: > Brenda Washington wrote: > >> With or without the, "apxs" location, I'm still getting these error >> when I run this command. I upgraded >> the Cwd.pm version 2.04 to 2.06, and I also installed Apache 2.0.54 >> with no problem, and it works find. > > Is it possible

Re: Installing Modperl problem

2005-09-27 Thread Brenda Washington
I'm using HPUX 11.0 >>> "Philip M. Gollucci" <[EMAIL PROTECTED]> 09/27/05 3:01 PM >>> Brenda Washington wrote: > With or without the, "apxs" location, I'm still getting these error when I > run this command. I upgraded > the Cwd.pm version 2.04 to 2.06, and I also installed Apache 2.0.54 with no

Re: Installing Modperl problem

2005-09-27 Thread Philip M. Gollucci
Brenda Washington wrote: With or without the, "apxs" location, I'm still getting these error when I run this command. I upgraded the Cwd.pm version 2.04 to 2.06, and I also installed Apache 2.0.54 with no problem, and it works find. Is it possible that Cwd doesn't define abs_path on your platf

Re: Installing Modperl problem

2005-09-27 Thread Brenda Washington
With or without the, "apxs" location, I'm still getting these error when I run this command. I upgraded the Cwd.pm version 2.04 to 2.06, and I also installed Apache 2.0.54 with no problem, and it works find. bash-2.02# perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs Un

Re: index.pl not default, even when specified

2005-09-27 Thread Dickon Newman
The directory only contains index.pl, not index.html or any other index type. Just to try, I have also attempted to rearrange the location of "index.pl" in the DirectoryIndex line (1st, 2nd, 3rd, only) and this has not resolved the problem either. Dickon... Chris Croome wrote: Hi On Tue

Re: index.pl not default, even when specified

2005-09-27 Thread Chris Croome
Hi On Tue 27-Sep-2005 at 01:59:10PM -0400, Dickon Newman wrote: > > DirectoryIndex index.html index.html.var index.pl The line above, with the DocumentRoot pointing to a directory with an index.html and a index.pl will resut if the index.html being served -- try putting index.pl first. Chris -

Re: Installing Modperl problem

2005-09-27 Thread Philip M. Gollucci
Brenda Washington wrote: Undefined subroutine &Cwd::abs_path called at /opt/perl5/lib/5.6.1/Cwd.pm Do you have Cwd installed ? if not, perl -MCPAN -e 'install("Cwd")' Cwd 2.04 comes with 5.6.2 You need 2.06 or higher. FYI, this doesn't happen to me with Cwd upgraded to be new enough. ~/perl

Installing Modperl problem

2005-09-27 Thread Brenda Washington
I have been working on installing Apache-2.0.54, Mod_perl-2.0.1 with perl-5.6.1 for a week now with little or no success. Is there anyone who can give me any help with the problem I'm experiencing? When I run perl Makefile.PL command, I get the following error messages. How can I resolve these erro

index.pl not default, even when specified

2005-09-27 Thread Dickon Newman
Hi everyone, I'm having trouble with my default index file (DirectoryIndex) in Apache 2. No matter what I try to do, index.pl does not show up as the default page. Instead, Apache gives me a directory listing. I've tried searching various lists and forums but I cannot find a straightforward

RE: handler object: data sometimes resetting

2005-09-27 Thread Frank Maas
Hi, I think you've just come accross the fact that in a normal setup there is more than one httpd process (and thus more than one perl interpreter) that is serving your requests. As each process starts at the same time and each perl interpreter has its own memory space, the fact that both creation

Re: Reference to: mod_perl2 bug report [message #924360]

2005-09-27 Thread Philip M. Gollucci
Hi, [EMAIL PROTECTED] wrote: http://www.issociate.de/board/post/244105/mod_perl2_bug_report.html >1. Problem Description: > >I'm trying to install mod_perl2, but i've got a problem. > >I've successfully compiled apache 2.054, mod_perl2, and the next step >is running 'make test' command into fo

Re: is apache using modperl?

2005-09-27 Thread Geoffrey Young
>> How can I be sure that is being run by mod_perl and not by perl? >> >>http://perl.apache.org/docs/1.0/guide/install.html#How_can_I_tell_whether_mod_perl_is_running_ > > > httpd -l doesn't show mod_perl. > As I understand it: httpd -l only shows the statically linked modules. > I obviously

Re: handler object: data sometimes resetting

2005-09-27 Thread Damyan Ivanov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Taras Yurij Vasylovitch wrote: > And now i'll try to open this page (localhost/projects/tracadmin) in the > same time in 3 browser windows. After many times of "Refresh" hitting i > have such log: > Edited:0 at /home/yura/mod_perl/trac/admin/main.pm li