Re: [us...@httpd] Etag suffixed with "-gzip" ?

2009-03-04 Thread Brian Mearns
On Wed, Mar 4, 2009 at 4:19 PM, Nick Kew wrote: > On Wed, 4 Mar 2009 15:45:49 -0500 > Brian Mearns wrote: > >> Hey folks, >> >> I just found that when I make a request to my server and specify >> "gzip" for the "Accept-Encoding" header, The value of the "ETag" >> header that gets sent back in the

Re: [us...@httpd] MOD_PROXY Reverse Proxy

2009-03-04 Thread Todd Simons
Nick- I assume that I would build a to match the ProxyPass/ProxyPassReverse path statements? I tried this and it didn't work. ~Todd __ Todd M. Simons Lead IT Engineer Delphi Technology, Inc New Brunswick, NJ From: Nick K

[us...@httpd] RE: [dtiSPAM] - Re: [us...@httpd] MOD_PROXY Reverse Proxy - control URI access byclient IP Address - Email has different SMTP TO: and MIME TO: fields in the email addresses

2009-03-04 Thread Todd Simons
Please confirm: Allow from 10.3.2.0/24 ProxyPass /dev3/app2/ http://internalhost3/dev3/app2/ ProxyPassReverse /dev3/app2/ http://internalhost3/dev3/app2/ ...when I made this modification, my apache fails to start -Original Message- From: Peter Schober [mailto:pe

Re: [us...@httpd] MOD_PROXY Reverse Proxy - control URI access by client IP Address

2009-03-04 Thread Peter Schober
* Todd Simons [2009-03-04 22:41]: > We'd like to utilize one public hostname "http://webservers.domain.com"; > to rewrite different web apps, but control the access to the web app by > ip address, similar to an "allow from" on a directory. You could wrap the ProxyPasses in elements and put the '

Re: [us...@httpd] MOD_PROXY Reverse Proxy - control URI access by client IP Address

2009-03-04 Thread Nick Kew
On Wed, 4 Mar 2009 16:40:36 -0500 "Todd Simons" wrote: > For example: > #this should only be available to 10.5.1.0/24 > ProxyPass /dev5/app1/ http://internalhost5/dev5/app1/ > ProxyPassReverse /dev5/app1/ http://internalhost5/dev5/app1/ > > #this should only be available

[us...@httpd] MOD_PROXY Reverse Proxy - control URI access by client IP Address

2009-03-04 Thread Todd Simons
Hello All We are using Apache as a reverse proxy solution. We present the apache to the public, then have a few back end webservers that it re-writes. We'd like to utilize one public hostname "http://webservers.domain.com"; to rewrite different web apps, but control the access to the web app by

Re: [us...@httpd] Etag suffixed with "-gzip" ?

2009-03-04 Thread Nick Kew
On Wed, 4 Mar 2009 15:45:49 -0500 Brian Mearns wrote: > Hey folks, > > I just found that when I make a request to my server and specify > "gzip" for the "Accept-Encoding" header, The value of the "ETag" > header that gets sent back in the response includes "-gzip" > (no-quotes) appended to it, o

[us...@httpd] Etag suffixed with "-gzip" ?

2009-03-04 Thread Brian Mearns
Hey folks, I just found that when I make a request to my server and specify "gzip" for the "Accept-Encoding" header, The value of the "ETag" header that gets sent back in the response includes "-gzip" (no-quotes) appended to it, outside the quoted string. For example: Resp_Headers<<< ETag: "26801

Re: [us...@httpd] unsubscribe

2009-03-04 Thread Frank Gingras
Daniel, Please pay attention to the footer of each email. It gives out specific instructions on how to unsubscribe from this list. Frank Daniel B. Davis wrote: unsubscribe - The official User-To-User support forum of the Ap

Re: [us...@httpd] unsubscribe

2009-03-04 Thread Daniel B. Davis
unsubscribe - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest:

[us...@httpd] Re: unsubscribe

2009-03-04 Thread André Warnier
Shane De Jager wrote: unsubscribe really ? Then maybe you should send this to the correct address, repeated at the bottom on every message on the Apache users list. - The official User-To-User support forum of the Apache HT

Re: [us...@httpd] htaccess against relative URLs?

2009-03-04 Thread John Oliver
On Wed, Mar 04, 2009 at 08:23:37PM +0100, Peter Schober wrote: > * John Oliver [2009-03-04 01:41]: > > On Tue, Mar 03, 2009 at 06:32:38PM -0500, Frank Gingras wrote: > > > Place your restrictions in your block instead, in your > > > vhost. > > > > I did. But without a / In the examples I saw,

Re: [us...@httpd] htaccess against relative URLs?

2009-03-04 Thread Peter Schober
* John Oliver [2009-03-04 01:41]: > On Tue, Mar 03, 2009 at 06:32:38PM -0500, Frank Gingras wrote: > > Place your restrictions in your block instead, in your > > vhost. > > I did. But without a / In the examples I saw, it looked like > everything starting with a / was an absolute path on the

Re: [us...@httpd] htaccess against relative URLs?

2009-03-04 Thread John Oliver
On Tue, Mar 03, 2009 at 06:32:38PM -0500, Frank Gingras wrote: > John, > > Place your restrictions in your block instead, in your > vhost. That did not work. Options None AllowOverride None Order deny,allow Deny from all /tv is not a directory in the DocumentRoot. It's in /var/lib/tomcat6/

Re: [us...@httpd] SSL ERRORS

2009-03-04 Thread Andres Morey
I don't think the problem is talking to port 443 with HTTP. Here's the apache response when I access http://localhost:443/: Bad Request Your browser sent a request that this server could not understand. Reason: You're speaking plain HTTP to an SSL-enabled server port. Instead use the HTTPS sc

Re: [us...@httpd] Help configuring Apache2 + SSL + namebased vhosts

2009-03-04 Thread Brian Mearns
On Wed, Mar 4, 2009 at 9:59 AM, Steffen Tronstad wrote: > Ah, this helped alot. Excellent, glad you were able to solve the problem. > Now I have to find a way to disable entering my passphrase "every time" > (once a year) the server reboots. There's info about this in the apache docs about this

RE: [us...@httpd] Help configuring Apache2 + SSL + namebased vhosts

2009-03-04 Thread Steffen Tronstad
Ah, this helped alot. [Wed Mar 04 15:49:18 2009] [error] Init: Private key not found [Wed Mar 04 15:49:18 2009] [error] SSL Library Error: 218710120 error:0D094068:asn1 encoding routines:d2i_ASN1_SET:bad tag [Wed Mar 04 15:49:18 2009] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encodi

Re: [us...@httpd] Help configuring Apache2 + SSL + namebased vhosts

2009-03-04 Thread Brian Mearns
On Wed, Mar 4, 2009 at 9:42 AM, Steffen Tronstad wrote: > apache2ctl -t > Syntax OK Hmm. Well, there's only two more things I can think of. First is that apachectl is looking at a different config file than your init.d script. Second is that apache is unable to bind to port 443. If it was worki

Re: [us...@httpd] SSL ERRORS

2009-03-04 Thread Eric Covener
On Wed, Mar 4, 2009 at 9:41 AM, Andres Morey wrote: > Hi All, > > If you turn on your LogLevel to info you will see the following errors in > your apache log: > > (70007)The timeout specified has expired: SSL input filter read failed. > SSL library error 1 in handshake > SSL Library Error: 3360279

RE: [us...@httpd] Help configuring Apache2 + SSL + namebased vhosts

2009-03-04 Thread Steffen Tronstad
And I forgot to include a complete dump of my vhost with SSL enabled ServerAdmin lo...@mydomain.no DocumentRoot /home/myuser/public_html ServerName mydomain.no ErrorLog /var/log/apache2/mydomain.com-erro

RE: [us...@httpd] Help configuring Apache2 + SSL + namebased vhosts

2009-03-04 Thread Steffen Tronstad
apache2ctl -t Syntax OK Here is a complete dump of my /etc/apache2/sites-enabled/000-default file: - NameVirtualHost *:80 NameVirtualHost *:443 ServerAdmin webmas...@localhost DocumentRoot /home/my

[us...@httpd] SSL ERRORS

2009-03-04 Thread Andres Morey
Hi All, If you turn on your LogLevel to info you will see the following errors in your apache log: (70007)The timeout specified has expired: SSL input filter read failed. SSL library error 1 in handshake SSL Library Error: 336027900 error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown

Re: [us...@httpd] Help configuring Apache2 + SSL + namebased vhosts

2009-03-04 Thread Brian Mearns
On Wed, Mar 4, 2009 at 8:37 AM, Steffen Tronstad wrote: > I've created the certificate and all this. > > I do not get any output from apache, other than failed!. > > /etc/init.d/apache2 start > Starting web server (apache2)... failed! > > > My error.log doesnt get updated with any errors. > > > >

RE: [us...@httpd] Help configuring Apache2 + SSL + namebased vhosts

2009-03-04 Thread Steffen Tronstad
I've created the certificate and all this. I do not get any output from apache, other than failed!. /etc/init.d/apache2 start Starting web server (apache2)... failed! My error.log doesnt get updated with any errors. apache2ctl -S VirtualHost configuration: wildcard NameVirtualHosts and _defa

Re: [us...@httpd] Help configuring Apache2 + SSL + namebased vhosts

2009-03-04 Thread Brian Mearns
On Wed, Mar 4, 2009 at 8:18 AM, Eric Covener wrote: > On Wed, Mar 4, 2009 at 8:13 AM, Steffen Tronstad wrote: >> Now  I have to add SSL support for one of my domains, so I add Listen 443 to >> my ports.conf, changes all to and create >> a new for my SSL site. I also change/add NameVirtualHost

[us...@httpd] mod_proxy_ajp: (120010)APR does not understand this error code: proxy: AJP: request failed to (null) (*)

2009-03-04 Thread Torsten Krah
Hi, i am facing some problems connecting tomcat ajp with apache through mod_proxy_ajp: The log shows often something like this: # ajp_marshal_into_msgb - No such method ssiers%2FM%25C3%25BCllskandal%22%3B%7D ajp_send_he

Re: [us...@httpd] Help configuring Apache2 + SSL + namebased vhosts

2009-03-04 Thread Eric Covener
On Wed, Mar 4, 2009 at 8:13 AM, Steffen Tronstad wrote: > Now  I have to add SSL support for one of my domains, so I add Listen 443 to > my ports.conf, changes all to and create > a new for my SSL site. I also change/add NameVirtualHost > *:80 and *:443 in my ’default’ file. > > This doesnt wor

[us...@httpd] Help configuring Apache2 + SSL + namebased vhosts

2009-03-04 Thread Steffen Tronstad
Dear all (I've tried google, and there seems to be so many different solutions/problems on this subject that matching my case exactly is nearly impossible). My case: I have a webserver with 1 IP-address. This webserver is currently handling 6 virtual hosts configured like this: ports.conf: Li

[us...@httpd] Re: Apache authenticate against Drupal user database?

2009-03-04 Thread Dan Poirier
John Oliver writes: > Is it possible for Apache to authenticate users against a database kept > by Drupal / PHP / MySQL? See mod_authn_dbd. (You'll have to know the schema of the table being used by Drupal.) -- Dan Poirier ---

Re: [us...@httpd] Adding headers based on Content-Type

2009-03-04 Thread anson ho
I've faced a similar problem before. The answer is that there is no easy solution with existing apache module. I need to write an apache module myself to solve the problem. My idea is come from mod_trace_output which can capture output (both headers & content) from another handler. But it doesn't w