RE: Securing two scripts with mod_ssl

2004-10-27 Thread Tony Clayton
You can use mod_rewrite to force a redirect to the SSL port for requests coming in to port 80: RewriteEngine on RewriteRule ^/foo https://%{HTTP_HOST}/foo [L,R] -Tony Quoting Tim Howell <[EMAIL PROTECTED]>: > Philippe M. Chiasson wrote: > : Tim Howell wrote: > :: I've got several application

Re: [mod_perl 1.99_17] make test fails

2004-10-27 Thread Stas Bekman
Torsten Förtsch wrote: "make test" for 1.99_17 generates this error: - --- t/apr-ext/finfo.Insecure dependency in require while running with -T switch at /usr/src/packages/BUILD/mod_perl-1

RE: Securing two scripts with mod_ssl

2004-10-27 Thread Tim Howell
Philippe M. Chiasson wrote: : Tim Howell wrote: :: I've got several applications running under mod_perl 1.99. Two of my :: scripts need to be secured using mod_ssl. I think that I have things :: mostly setup correctly, and my server now allows me to request any :: document/script that was previou

Re: pb setting NLS_LANG with mod_perl 1.99_14et DBD::Oracle

2004-10-27 Thread Stas Bekman
Jean-Paul COGNET wrote: A problem with mod_perl 1.99 et DBD::Oracle. I cannot set the value of NLS_LANG If I set it to any value different from '' then I cannot connect, having this log in Apache : [Tue Oct 26 12:48:30 2004] [notice] Apache/2.0.47 (Fedora) configured -- resuming normal operations

Re: Securing two scripts with mod_ssl

2004-10-27 Thread Philippe M. Chiasson
Tim Howell wrote: I've got several applications running under mod_perl 1.99. Two of my scripts need to be secured using mod_ssl. I think that I have things mostly setup correctly, and my server now allows me to request any document/script that was previously available over either a regular or sec

Re: [mp2] Report on mp2 accessors in apache_structures.map

2004-10-27 Thread Stas Bekman
Stas Bekman wrote: [...] To be really explicit, I have 2 requirements: 1) back-end server should log the client's IP address in the server logs. 2) All the mod_perl scripts on the back-end server should be able to see the client's IP address without taking any extra steps. So yes, you have a soli

Securing two scripts with mod_ssl

2004-10-27 Thread Tim Howell
I've got several applications running under mod_perl 1.99. Two of my scripts need to be secured using mod_ssl. I think that I have things mostly setup correctly, and my server now allows me to request any document/script that was previously available over either a regular or secure connection. I

Re: [mp2] $filter->remove patch

2004-10-27 Thread Stas Bekman
Stas Bekman wrote: [...] The attached patch contains the updated Apache__Filter.h and a test that removes INCLUDES from the output chain and DEFLATE from input. Excellent. I've massaged both quite a bit to adher to the style and simplify where it made sense (And found a perl bug in regex qr//m o

Re: (very important ) You don't have permission to access /index.pl on this server.

2004-10-27 Thread Philippe M. Chiasson
mahboobeh soleimani wrote: Hi every body. I have installed apache 1.3.31 and mod_perl 1.28 and I have used PerlModule Apache::DBI SetHandler perl-script PerlHandler Apache::PerlRun PerlSendHeader On Options +ExecCGI [...] "You don't have permission to access /index.pl

Re: Apache::DBI, Postgresql, and transactions

2004-10-27 Thread Brian Dimeler
Thanks! It seems to be working correctly after implementing your changes. Brian Perrin Harkins wrote: I plan to submit a patch for Ima::DBI to fix this, but in the meantime I am handling it by overriding db_Main and doing the connections myself. Here's the code I use: my $db_options = { Raise

Re: very very important and emergency (The requested URL /index.pl was not found on this server.)

2004-10-27 Thread Emil Perhinschi
in console check the permissions on index.pl: ls -l /usr/local/apache/piwi/test/index.pl you should see something like: -rwxr-xr-x 1 username groupname 11 Oct 27 16:27 index.pl the "-rwxr-xr-x" part tels you who can r(ead), w(rite) and e(xecute) the file index.pl. If instead of "x" and "r" you

Re: very very important and emergency (The requested URL /index.pl was not found on this server.)

2004-10-27 Thread Arnaud Blancher
mahboobeh soleimani wrote: Hi every body. I have installed apache 1.3.31 and mod_perl 1.28 and I have used PerlModule Apache::DBI SetHandler perl-script PerlHandler Apache::PerlRun PerlSendHeader On in http.conf but when i enter: http://localhost/index.pl apache says

very very important and emergency (The requested URL /index.pl was not found on this server.)

2004-10-27 Thread mahboobeh soleimani
Hi every body. I have installed apache 1.3.31 and mod_perl 1.28 and I have used PerlModule Apache::DBI > > > SetHandler perl-script > PerlHandler Apache::PerlRun > PerlSendHeader On > > > in http.conf > > but when i enter: http://localhost/index.pl apache says :

(very important ) You don't have permission to access /index.pl on this server.

2004-10-27 Thread mahboobeh soleimani
Hi every body. I have installed apache 1.3.31 and mod_perl 1.28 and I have used PerlModule Apache::DBI > > > SetHandler perl-script > PerlHandler Apache::PerlRun > PerlSendHeader On > > > in http.conf > > but when i enter: http://localhost/index.pl apache says :

Re: Apache::DBI, Postgresql, and transactions

2004-10-27 Thread Martin Moss
Heyho, I spent ages trying to track down a mysql/Apache::DBI bug, and whilst I'm not sure what's going wrong with your system, I found it useful to add the PID of the individual mysql process (not sure if you can do this with postgresql) to the $dbh and then implement a error handler which logs th