[EMAIL PROTECTED] cmd.shtml test failing

2006-08-23 Thread john blair
Hi,I am running the test suite for apache 2.0.55 on rhel4 and I am not able to figure out why the following test is failing:# testing : GET /modules/include/exec/on/cmd.shtml# expected: pass# received: not ok 15Can any one help me in debugging out why is this test failing?

[EMAIL PROTECTED] HTTP Status Code

2006-08-23 Thread Kaushal Shriyan
Hi ALL I have a query here how do i get various status code on the browser, For example 403 Forbidden How do i simulate (get ) all the status code from the httpd webserver in the form of a script or a simple program Thanks and Regards Kaushal

Re: [EMAIL PROTECTED] redirect only if a URL does not exists

2006-08-23 Thread Lothar Krenzien
Hi Joshua, What I saw are the following lines in the logfile : ... initial (5) RewriteCond URI (-U) check: path=/conergy/Welcome.do - status=200 initial (4) RewriteCond: input='/conergy/Welcome.do' pattern='!-U' = not-matched initial (2) rewrite '/conergy/Welcome.do' -

Re: [EMAIL PROTECTED] redirect only if a URL does not exists

2006-08-23 Thread Bob Ionescu
Lothar Krenzien wrote: Hi there, Now I want to redirect a request *ONLY* if the URL does not exist. I know the !-U flag for a RewriteCond but can't get it working. -U checks only access controls and not if your URL-path resolves to an existing resource.

Re: [EMAIL PROTECTED] apache ./configure problems

2006-08-23 Thread Shawn Beard
Thank you! This worked. Shawn Beard Web Administrator, MCSE, MCSA, MCP Iowa Foundation for Medical Care Information Systems [EMAIL PROTECTED] Office: 515-440-8581 [EMAIL PROTECTED] 8/22/2006 2:30:43 PM Richard de Vries wrote: Have a look at http://www.sunfreeware.com And if you want to

Re: [EMAIL PROTECTED] HTTP Status Code

2006-08-23 Thread Joshua Slive
[This message was abusively cross-posted. There is no reason to send it to so many very busy groups. Try one at a time and, if you don't get a response, then try another.] On 8/23/06, Kaushal Shriyan [EMAIL PROTECTED] wrote: Hi ALL I have a query here how do i get various status code on the

[EMAIL PROTECTED] A question about website authorization

2006-08-23 Thread Tal Cohen
Hi, I am new to this group, so please be kind J I have a small family website, running Apache 2.0 on RHE8, that I password protected with AuthType Basic at /. How can I now open /pub to public access? Thanks, Tal -- No virus found in this outgoing message. Checked by

Re: [EMAIL PROTECTED] A question about website authorization

2006-08-23 Thread Joshua Slive
On 8/23/06, Tal Cohen [EMAIL PROTECTED] wrote: I am new to this group, so please be kind J I have a small family website, running Apache 2.0 on RHE8, that I password protected with AuthType Basic at /. How can I now open /pub to public access? Directory /path/to/pub Satisfy any Allow from

RE: [EMAIL PROTECTED] A question about website authorization

2006-08-23 Thread Tal Cohen
Thanks Joshua, that did the trick! Regards, Tal Cohen tel 617/859-1900 ext. 705 fax 617/848-5837 Please note that the information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an

Re: [EMAIL PROTECTED] apache ./configure problems

2006-08-23 Thread Shawn Beard
Looks like I spoke to soon. Syncing the system headers did get rid of most of the errors not not all. Here are the errors I get now: checking netinet/sctp.h presence... yes configure: WARNING: netinet/sctp.h: present but cannot be compiled configure: WARNING: netinet/sctp.h: check for

[EMAIL PROTECTED] Digest authentication with mod_authn_dbd + MySQL driver

2006-08-23 Thread Luca Meneghesso
Hi everybody! I finally managed to compile Apache 2.2.3/OpenSSL to perform Authentication and Authorization with mod_authn_dbd/mod_authz_dbd/apr_dbd_mysql. Everything works correctly when using Basic Authentication but when I switch to Digest Authentication the server returns this error message:

Re: [EMAIL PROTECTED] apache ./configure problems

2006-08-23 Thread Richard de Vries
Well, in all fairness, this screenshot only lists warnings. Granted, preferably you have none, but did this prevent you from actually compiling and running apache? --- Shawn Beard [EMAIL PROTECTED] wrote: Looks like I spoke to soon. Syncing the system headers did get rid of most of the

Re: [EMAIL PROTECTED] apache ./configure problems

2006-08-23 Thread Shawn Beard
Yes it did. We went ahead with the make and the make install. Then tried to start apache and it didnt start. Didnt give any errors. Just didnt start. We verified this by doing a grep for the httpd process. Shawn Beard Web Administrator, MCSE, MCSA, MCP Iowa Foundation for Medical Care

Re: [EMAIL PROTECTED] apache ./configure problems

2006-08-23 Thread Richard de Vries
No errors in the log file I assume? Are you starting apache via apachectl? Have you tried a truss -f on your apachectl to see what's going on. --- Shawn Beard [EMAIL PROTECTED] wrote: Yes it did. We went ahead with the make and the make install. Then tried to start apache and it didnt

Re: [EMAIL PROTECTED] Digest authentication with mod_authn_dbd + MySQL driver

2006-08-23 Thread Nick Kew
On Wednesday 23 August 2006 16:15, Luca Meneghesso wrote: Hi everybody! I finally managed to compile Apache 2.2.3/OpenSSL to perform Authentication and Authorization with mod_authn_dbd/mod_authz_dbd/apr_dbd_mysql. Everything works correctly when using Basic Authentication but when I switch

RE: [EMAIL PROTECTED] Digest authentication with mod_authn_dbd + MySQL driver

2006-08-23 Thread Luca Meneghesso
Nick, You're trying to do Digest authentication with a Basic authn configuration by just switching AuthType. You need an AuthDBDUserRealmQuery, and you'll need to populate your database with md5 digests. See the digest authn documentation. It works now. I didn't realize that my query must

[EMAIL PROTECTED] Secure or not?

2006-08-23 Thread kloomis
Hello: On my secure site the php code print Port:.$_SERVER['SERVER_PORT']); prints port:80 when accessing the site with https:// The little padlock is showing at the bottom of the page and the router is set to send 443 to the server. In httpd.conf I have: NameVirtualHost *:80

Re: [EMAIL PROTECTED] Secure or not?

2006-08-23 Thread herauthon
remove :*80 ? or forward to 443 - Original Message - From: kloomis [EMAIL PROTECTED] To: users@httpd.apache.org Sent: Wednesday, August 23, 2006 7:29 PM Subject: [EMAIL PROTECTED] Secure or not? Hello: On my secure site the php code print Port:.$_SERVER['SERVER_PORT']); prints

Re: [EMAIL PROTECTED] redirect only if a URL does not exists

2006-08-23 Thread Steve Swift
The simplest way to achieve what you want would be with ErrorDocument 404 /where/you/want/to/goOn 23/08/06, Bob Ionescu [EMAIL PROTECTED] wrote:Lothar Krenzien wrote: Hi there, Now I want to redirect a request *ONLY* if the URL does not exist. I know the !-U flag for a RewriteCond but can't get

Re: [EMAIL PROTECTED] mod_deflate questions

2006-08-23 Thread Joshua Slive
On 8/23/06, Chris Price [EMAIL PROTECTED] wrote: Hey all; I have some questions about mod_deflate; Specifically, in my 8 years of using apache, I had never heard of it until a few weeks ago. Google shows plenty of howto implement and man page sites, but few

Re: [EMAIL PROTECTED] Secure or not?

2006-08-23 Thread kloomis
At 07:37 PM 8/23/2006 +0200, you wrote: remove :*80 ? or forward to 443 Thanks for your reply. There is no VH for this ServerName at :*80. You can't get in with http. (There are other VHs at port 80.) The https is getting handled by the VH at :*443, but the header says it's port 80? Ken

Re: [EMAIL PROTECTED] mod_security general question...

2006-08-23 Thread Jignesh Badani
Thanks to Nick, Joshua William for your responses. Keep up the good work. regards -Jignesh William A. Rowe, Jr. [EMAIL PROTECTED] 08/22/2006 07:58 PM Please respond to users@httpd.apache.org To users@httpd.apache.org cc Subject Re: [EMAIL PROTECTED] mod_security general question...

[EMAIL PROTECTED] Is this possible ?

2006-08-23 Thread Jignesh Badani
Hello all, let me try again. I have the following restriction in place: SetEnvIf X-FORWARDED-FOR ^10.161 let_10161_in SetEnvIf COOKIE ^XSESSION let_xuser_in Location / Order Deny,Allow Deny from all Allow from env=let_10161_in Allow from env=let_xuser_in /Location It basically means users

Re: [EMAIL PROTECTED] Is this possible ?

2006-08-23 Thread Joshua Slive
On 8/23/06, Jignesh Badani [EMAIL PROTECTED] wrote: Hello all, let me try again. I have the following restriction in place: SetEnvIf X-FORWARDED-FOR ^10.161 let_10161_in SetEnvIf COOKIE ^XSESSION let_xuser_in Location / Order Deny,Allow Deny from all Allow from env=let_10161_in Allow from

Re: [EMAIL PROTECTED] Is this possible ?

2006-08-23 Thread Jignesh Badani
Awesome, just trying to understand the syntax of the last SetEnvIf: SetEnvIf let_10161_in ^0$ !let_xuser_in -- If the env variable let_10161_in is 0 - meaning the request is not from 10.161, unset (make it 0?) the let_xuser_in env variable ? And mod_rewrite for this, how ? Thanks - - - - - -

Re: [EMAIL PROTECTED] mod_deflate questions

2006-08-23 Thread Chris Price
Once again my many thanks to Joshua for providing concise and extremely informative responses on this list. Joshua; Its people like you that make open-source communities *work*. Cheers from Calgary, Chris Price Plenty of people use mod_deflate (and the older

Re: [EMAIL PROTECTED] Is this possible ?

2006-08-23 Thread Joshua Slive
On 8/23/06, Jignesh Badani [EMAIL PROTECTED] wrote: Awesome, just trying to understand the syntax of the last SetEnvIf: SetEnvIf let_10161_in ^0$ !let_xuser_in -- If the env variable let_10161_in is 0 - meaning the request is not from 10.161, unset (make it 0?) the let_xuser_in env variable ?

Re: [EMAIL PROTECTED] Is this possible ?

2006-08-23 Thread Jignesh Badani
Thanks Joshua for the Rewrite syntax, Wow, I didn't know you could achieve what I want using Rewrite. I seriously need to give mod_rewrite some more thorough study. BTW, this logic is just to prevent casual script kiddies to get to a certain login page. If the conditions below hold, then only