RE: [EMAIL PROTECTED] Help with re-write rules

2006-08-15 Thread Foster, Stephen (ASPIRE)
Hi robert, thanks for this, it has been a great help. It now serves the pages as i want them without any extraneous entries in the log files. Our application proxies directly to weblogic using the /home context which is why i want all requests to land at that point except , obviously, for the

RE: [EMAIL PROTECTED] Help with re-write rules

2006-08-15 Thread Foster, Stephen (ASPIRE)
hi joshua, yes i guess it doesn't read very well, basically i was trying to say that the pages are being served okay and the browser does not get re-directed to our /home application however apache seems to continue to process the rules and connect to the application but doesn't pass it back to

Re: [EMAIL PROTECTED] can php module be compiled like this

2006-08-15 Thread Nick Kew
On Tuesday 15 August 2006 03:28, Joshua Slive wrote: and when I tried to start apache, it says can't load php4.so? If your apache httpd was not originally compiled with mod_so included, then there is no way to load dso modules. You will need to recompile apache httpd, either to add

Re: [EMAIL PROTECTED] can php module be compiled like this

2006-08-15 Thread g xy
Thanks for all your kindly reply I think what nick said is right, it should be oraiginally compiled with mod_so, to be more clear, I'll show the details here in fact, the production server is oracle's html_db companion CD, it supports jsp and php ,oracle use apache 1.37 as its embeded http server

[EMAIL PROTECTED] Restricting indexes to authenticated users

2006-08-15 Thread Rich Thomas
Hi, Im running Server version: Apache/1.3.26 (Unix) and Im trying to figure out how I can allow anonymous access to the files in a directory yet restrict the Directory index listing only to a few authenticated users. I know Ill probably need to use an .htaccess file with the Options

[EMAIL PROTECTED] How to detect failed authentification ?

2006-08-15 Thread Marc MENDEZ
Hi, On one of my website, the access is controled with a .htaccess file. I defined my own 401 document At the top of this file, I added a php code which sends a mail to the administrator as soon as a user failed to log. I was very surprised to receive mail everytime ! Even if the user

RE: [EMAIL PROTECTED] How to detect failed authentification ?

2006-08-15 Thread Boyle Owen
-Original Message- From: Marc MENDEZ [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 15, 2006 2:32 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] How to detect failed authentification ? Hi, On one of my website, the access is controled with a .htaccess file. I

Re: [EMAIL PROTECTED] Restricting indexes to authenticated users

2006-08-15 Thread Joshua Slive
On 8/15/06, Rich Thomas [EMAIL PROTECTED] wrote: I'm running Server version: Apache/1.3.26 (Unix) and I'm trying to figure out how I can allow anonymous access to the files in a directory yet restrict the Directory index listing only to a few authenticated users. I know I'll probably need to

RE: [EMAIL PROTECTED] grab header to redirect

2006-08-15 Thread Declerck Michael-W30479
Can you be a bit more specific? The examples show how to redirect a file access to a specific URL. I want a specific URL to redirect to a file (a different page than the DirectoryIndex). Michael -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua

Re: [EMAIL PROTECTED] grab header to redirect

2006-08-15 Thread Joshua Slive
On 8/15/06, Declerck Michael-W30479 [EMAIL PROTECTED] wrote: Can you be a bit more specific? The examples show how to redirect a file access to a specific URL. I want a specific URL to redirect to a file (a different page than the DirectoryIndex). Michael -Original Message- From:

Re: [EMAIL PROTECTED] How to detect failed authentification ?

2006-08-15 Thread Marc MENDEZ
thanks for your answer, that's what I thought. But, is there a solution to get a mail *only* when the login failed ? - Original Message - From: Boyle Owen [EMAIL PROTECTED] To: users@httpd.apache.org Sent: Tuesday, August 15, 2006 3:04 PM Subject: RE: [EMAIL PROTECTED] How to detect

[EMAIL PROTECTED] auth not working with ssl

2006-08-15 Thread lists
Hello, I have a virtual host and I'd like to require basic auth for a directory and everything under it. The following works, goodUser can login and access everythin in www.foo.com/private and all directories below: VirtualHost *:80 DocumentRoot /www/foo.com/htdocs ServerName

Re: [EMAIL PROTECTED] auth not working with ssl

2006-08-15 Thread Joshua Slive
On 8/15/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, I have a virtual host and I'd like to require basic auth for a directory and everything under it. The following works, goodUser can login and access everythin in www.foo.com/private and all directories below: VirtualHost *:80

[EMAIL PROTECTED] How to get APXS to work on window xp

2006-08-15 Thread Cairen Lajia
Hi all, This could be a newbie question for most of you. I am trying to authenticate users using mod-auth_mysql on windox xp (apache 2.2.3). It seems that I need use apache extension tool (apxs) to compile and install the mod_auth_mysql. Thought on my unix box, the apxs is at

RE: [EMAIL PROTECTED] How to detect failed authentification ?

2006-08-15 Thread Boyle Owen
-Original Message- From: Marc MENDEZ [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 15, 2006 5:00 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] How to detect failed authentification ? thanks for your answer, that's what I thought. But, is there a solution to get

Re: [EMAIL PROTECTED] How to detect failed authentification ?

2006-08-15 Thread Joshua Slive
On 8/15/06, Marc MENDEZ [EMAIL PROTECTED] wrote: thanks for your answer, that's what I thought. But, is there a solution to get a mail *only* when the login failed ? If you are using php as a module, you could probably check $_SERVER['PHP_AUTH_USER'] as described here:

Re: [EMAIL PROTECTED] How to detect failed authentification ?

2006-08-15 Thread Steve Swift
There was a time when I thought that the environment variable REMOTE_USER was set so the code handling the 401 condition could distinguish between the initial 401response and the 401 sent in response to an invalid username/password. Of course, you still couldn't distinguish the case where the user

Re: [EMAIL PROTECTED] How to detect failed authentification ?

2006-08-15 Thread Marc MENDEZ
Hum, that's a very good idea ! May be not a perfect, but very interesting ! Thanks a lot ! - Original Message - From: Joshua Slive [EMAIL PROTECTED] To: users@httpd.apache.org Sent: Tuesday, August 15, 2006 5:47 PM Subject: Re: [EMAIL PROTECTED] How to detect failed authentification ?

Re: [EMAIL PROTECTED] problem with apache and php files

2006-08-15 Thread Alain Wolf
Scott Bowden wrote: I'm having some difficulty getting apache2 configured, and after doing quite a lot of googling, I'm pretty well stumped as to where to go. Let me preface this by saying that it's entirely possible I've done something very, very stupid. That said: I recently moved to a

[EMAIL PROTECTED] Can I add personal data into WEB-INF/web.xml?

2006-08-15 Thread Nir Nußbaum
Hi, Is it possible to add more info into WEB-INF/web.xml?What I need to do is storing an array of directories in the application memory so I can retrieve it by various web pages without reading them again and again from a file. Is it possible to do it? How can it be retrieved? (I write in Java,

Re: [EMAIL PROTECTED] Can I add personal data into WEB-INF/web.xml?

2006-08-15 Thread Joshua Slive
On 8/15/06, Nir Nußbaum [EMAIL PROTECTED] wrote: Hi, Is it possible to add more info into WEB-INF/web.xml? What I need to do is storing an array of directories in the application memory so I can retrieve it by various web pages without reading them again and again from a file. Is it possible

[EMAIL PROTECTED] Apache upgrade problem

2006-08-15 Thread Shawn Beard
We upgraded a server from 2.0.49 to 2.0.58. It seemed to go fine. However after a short while it locks up. In the error log I get this: piped log program '/usr/local/apache2/bin/rotatelogs /usr/local/apache2/logs/qnettech-test-access.log 86400' failed unexpectedly ld.so.1: rotatelogs: fatal:

[EMAIL PROTECTED] What log analyzing program ?

2006-08-15 Thread Charles Michener
What log analyzing programs do you use/recommend. I have daily access files that have combined virtual sites - 8 meg per day.Charles Get your email and more, right on the new Yahoo.com

Re: [EMAIL PROTECTED] What log analyzing program ?

2006-08-15 Thread Marc MENDEZ
Hi, I use analog (www.analog.cx). It's a perl program, very efficient. I developped a few shell scripts to generate automatically stat pages, and it works fine - Original Message - From: Charles Michener [EMAIL PROTECTED] To: users@httpd.apache.org Sent: Tuesday, August 15, 2006

[EMAIL PROTECTED] Dynamically creating php files and serving in apache

2006-08-15 Thread Ryan McDonald
Right now using Apache 2.0.54 and mod_jk to connect with Tomcat 5.0.28. We have a requirement that the pages served by tomcat be php, these pages should then be handled by mod_php then sent back to the client. Is this possible? If so what should I be using. I've been playing around with

Re: [EMAIL PROTECTED] Dynamically creating php files and serving in apache

2006-08-15 Thread Joshua Slive
On 8/15/06, Ryan McDonald [EMAIL PROTECTED] wrote: Right now using Apache 2.0.54 and mod_jk to connect with Tomcat 5.0.28. We have a requirement that the pages served by tomcat be php, these pages should then be handled by mod_php then sent back to the client. Is this possible? If so what

[EMAIL PROTECTED] RE: DBD: driver

2006-08-15 Thread Spence
Thanks for the pointer. I think the problem was that in apu.h after running configure, I had: #define APU_HAVE_PGSQL 0 #define APU_HAVE_MYSQL 0 #define APU_HAVE_SQLITE3 0 #define APU_HAVE_SQLITE2 0 (I changed the second line to #define APU_HAVE_MYSQL 1) which was

RE: [EMAIL PROTECTED] Proxy config not acting as expected

2006-08-15 Thread Julian Melville
The backend server is a Domino server. ... With the reverse proxy server in the way I get a 404 error and the resulting address looks like this: http://192.168.1.2/cob/bid.nsf/frmWebSignUp?OpenFormSeq=1bid_number=77 B-2006 We had this issue when proxying to a Domino server a while back.

Re: [EMAIL PROTECTED] auth not working with ssl

2006-08-15 Thread lists
Thanks, Joshua, moving the Directory section out of vhosts solved all the problems. Thanks, Lajos Quoting Joshua Slive [EMAIL PROTECTED]: On 8/15/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, I have a virtual host and I'd like to require basic auth for a directory and