[us...@httpd] mod_cache: possible bug with cache-control max-age vs expires (rfc2616)

2010-10-12 Thread frank goossens
Morning list; While playing around with mod_cache & Drupal (Pressflow actually) I think I may have found a problem in mod_cache's implementation of the http/1.1 cache expiration mechanism. According to the spec (rfc 2616, 14.9.3), cache-control max-age overrules expires: "If a response includes bo

Re: [us...@httpd] Identifying banned networks correctly, but unable to block access

2010-10-12 Thread Philip Prindeville
On 10/12/10 10:32 AM, Eric Covener wrote: On Tue, Oct 12, 2010 at 12:42 PM, Philip Prindeville wrote: I'm trying to use mod_geoip and mod_setenvif to blacklist certain countries. The tests seem to work an correctly identify the sources... it's the mod_authz_host part that's tripping me up.

Re: [us...@httpd] Apache port redirection

2010-10-12 Thread Igor Galić
- "Manimaran Velayutham" wrote: > Dear All, > > > > How can we force a specific request to go to a specific URL with a > port? Apache listens on 2043 and some requests are coming to 443 which > we want to forward it to 2043. How can we do that? Proxypass/Rewrite > or Vhost? ProxyPass. se

[us...@httpd] Apache port redirection

2010-10-12 Thread Velayutham, Manimaran
Dear All, How can we force a specific request to go to a specific URL with a port? Apache listens on 2043 and some requests are coming to 443 which we want to forward it to 2043. How can we do that? Proxypass/Rewrite or Vhost? Thanks

Re: [us...@httpd] Identifying banned networks correctly, but unable to block access

2010-10-12 Thread Eric Covener
On Tue, Oct 12, 2010 at 12:42 PM, Philip Prindeville wrote: >  I'm trying to use mod_geoip and mod_setenvif to blacklist certain > countries.  The tests seem to work an correctly identify the sources... it's > the mod_authz_host part that's tripping me up. > > And the end of my mod_setenvif.conf I

[us...@httpd] debugging mod_proxy performance with WireShark

2010-10-12 Thread Dustin Chesterman
Hi all- I am new to Apache httpd and have gotten about as far as I can debugging some performance problems we are having on a machine. It is a VM with Fedora 13 installed. I am running a stand alone JIRA Tomcat installation on port 8080 and running httpd with mod_proxy as a reverse proxy on the

Re: [us...@httpd] problem with authn_dbd / auth digest and sqlite3

2010-10-12 Thread Igor Galić
- "startx" wrote: > On Tue, 12 Oct 2010 09:38:12 -0700 > Dave Mansfield wrote: > > > > > > > > > Sorry - your problem is your AuthDBDUserRealmQuery - the params are > > > '%s', not @USERNAME, etc: > > > > AuthDBDUserRealmQuery "Select password FROM user WHERE > username=%s > > and r

Re: [us...@httpd] problem with authn_dbd / auth digest and sqlite3

2010-10-12 Thread startx
On Tue, 12 Oct 2010 09:38:12 -0700 Dave Mansfield wrote: > > > > > Sorry - your problem is your AuthDBDUserRealmQuery - the params are > '%s', not @USERNAME, etc: > > AuthDBDUserRealmQuery "Select password FROM user WHERE username=%s > and realm=%s" > cheers, you are right. i got misguid

[us...@httpd] Identifying banned networks correctly, but unable to block access

2010-10-12 Thread Philip Prindeville
I'm trying to use mod_geoip and mod_setenvif to blacklist certain countries. The tests seem to work an correctly identify the sources... it's the mod_authz_host part that's tripping me up. And the end of my mod_setenvif.conf I have: LogFormat "is_a_bogon=%{is_a_bogon}e CC=%{GEOIP_COUNTRY_COD

Re: [us...@httpd] problem with authn_dbd / auth digest and sqlite3

2010-10-12 Thread Dave Mansfield
startx wrote: On Tue, 12 Oct 2010 08:52:31 -0700 Dave Mansfield wrote: startx wrote from my vhost: ## from my vhost file DBDriver sqlite3 DBDParams "/home/myself/web/authn.db" STW for examples of SQLite connection strings. hi. STW

Re: [us...@httpd] problem with authn_dbd / auth digest and sqlite3

2010-10-12 Thread startx
On Tue, 12 Oct 2010 08:52:31 -0700 Dave Mansfield wrote: > startx wrote > > from my vhost: > > > > ## from my vhost file > > > > DBDriver sqlite3 > > DBDParams "/home/myself/web/authn.db" > > > STW for examples of SQLite connection strings. hi. > STW i did, for quite a while ac

Re: [us...@httpd] problem with authn_dbd / auth digest and sqlite3

2010-10-12 Thread Dave Mansfield
startx wrote: hello. i am trying to set up AuthDigest against a sqlite3 database using mod_authn_dbd ( system is Debian squeeze) and it seems i am missing something. i created a user database for a user "myself" with password "foobar" in realm "admin". the password prompt shows up but any lo

[us...@httpd] Using mod_negotiation with RewriteMap for language based redirect?

2010-10-12 Thread Isenberg, Holger
Hi, to provide virtual URLs which are redirected by content negotiation based on the Browsers accept-language header, I use PHP files as follows for example for http://hostname.domain/shorturl which is redirected to http://hostname.domain/de/path/to/file.html for German readers, http://hostnam

[us...@httpd] problem with authn_dbd / auth digest and sqlite3

2010-10-12 Thread startx
hello. i am trying to set up AuthDigest against a sqlite3 database using mod_authn_dbd ( system is Debian squeeze) and it seems i am missing something. i created a user database for a user "myself" with password "foobar" in realm "admin". the password prompt shows up but any login attempt fails

[us...@httpd] Re: mod_dav - practical use

2010-10-12 Thread Hajo Locke
Hello, http://wiki.apache.org/httpd/ExtendingPrivilegeSeparation ahh,thanks a lot for your help. now i can go on... Thanks, Hajo - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.

RE: [us...@httpd] Java Server socket behind apache

2010-10-12 Thread bharath.krishnappa
Hi Joost, Thanks for the response. I am actually working on adding a new feature to an existing product which is behind apache/IIS ( we leverage these webservers for handling SSL/TLS). Introducing a new proxy wouldn't work for us. I am exploring for options within apache and IIS to handle raw