Re: [us...@httpd] beginner's mod_rewrite recursion problem

2009-05-06 Thread Igor Cicimov
Try this one RewriteRule ^/frobooz/(.*) /foo/bar/$1 [L] Cheers, Igor On Wed, May 6, 2009 at 1:49 AM, André Warnier wrote: > Kynn Jones wrote: > ... > > Hi. > The best way to understand what is at stake here is to get yourself a > Firefox extension like HttpFox, activate it, and then get your

Re: [us...@httpd] Newbie. Apache doesnt start ok

2009-05-06 Thread André Warnier
tirengarfio wrote: Hi, im new to Apache. I have been doing some web devs till now but with XAMPP. When I try to start it i get this error: * Starting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName and i cant se

Re: [us...@httpd] mod_security

2009-05-06 Thread André Warnier
Julien Gerhards wrote: Hi, I try to use mod_security but it doesn t filter anything ! My vhostconf : ServerSignature Off ServerName cache-ext ErrorLog logs/cache-ext_error.log CustomLog logs/cache-ext_access.log combined Deny from all

Re: [us...@httpd] Newbie. Apache doesnt start ok

2009-05-06 Thread Prasanna Ram Venkatachalam
that is a warning not an error. Mostly httpd.conf will be inside conf directory under apache folder. Did you see one? /etc/apache2/conf/httpd.conf If yes, probably thats the one apache is using. Search "ServerName" (and put FQDN of your machine there maybe) and make sure you uncomment it. Regards

[us...@httpd] Newbie. Apache doesnt start ok

2009-05-06 Thread tirengarfio
Hi, im new to Apache. I have been doing some web devs till now but with XAMPP. When I try to start it i get this error: * Starting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName and i cant see localhost page (It

Re: [us...@httpd] httpd service not starting on Windows 2008 (64bit) through Microsoft Failover Cluster

2009-05-06 Thread Prasanna Ram Venkatachalam
Indeed :), it wud wrk great i guess ( just remember a recetnt thread running for this :)) Just now I noticed that log. may be he need to escape double quotes as well (\"\") when starting from that cluster?? Regards Prasanna Ram On Wed, May 6, 2009 at 10:46 PM, André Warnier wrote: > In additio

Re: [us...@httpd] httpd service not starting on Windows 2008 (64bit) through Microsoft Failover Cluster

2009-05-06 Thread André Warnier
In addition to Jonathan's remarks, when looking at the detail of these log messages (the ones mentioning the arguments along with an argument number), I have the feeling that this illustrates once again the fundamental idiocy and error-proneness of paths with embedded spaces. It looks very muc

Re: [us...@httpd] httpd service not starting on Windows 2008 (64bit) through Microsoft Failover Cluster

2009-05-06 Thread Prasanna Ram Venkatachalam
Yes Jonathan, Its normal in some cases. But i dont know whether we will get double slashes in "path to executable" of a service. I am not getting it in my machine for apache!. And -k runservice outside of quotes is also normal, whatever inside of double quotes is called and whatever is after that i

Re: [us...@httpd] httpd service not starting on Windows 2008 (64bit) through Microsoft Failover Cluster

2009-05-06 Thread Jonathan Zuckerman
On Wednesday, May 6, 2009, Raja Shekar CS wrote: > Hi, > @Jonathan: error output I get is the complete usage help. There is no > specific error seen. > I added some debug logging to the httpd startup code, and it looks like > Microsoft Failover Cluster server is passing invalid arguments: > > Wh

[us...@httpd] apache response time

2009-05-06 Thread inas inassen
Hi all I'm using apache connected to 2 tomcat in mod_jk (ajp). on tomcat is running in the same box as apache (sun solaris 8GB of ram, 2 CPU) and another tomcat is running on another box (windows 2003). the apache config is : timeout set to 120 seconds keepalive set to 3 seconds ma

Re: [us...@httpd] Reverse Proxy Balancer ?

2009-05-06 Thread Eric Covener
On Wed, May 6, 2009 at 10:29 AM, James Wuerflein wrote: > Anybody have an example of how to setup a Reverse Proxy Load Balancer ? > > This works as a regular proxy, but I need a Reverse Proxy! > >   ProxyRequests      Off >   ProxyPass   /  balancer://mycluster/ stickysession=JSESSIONID|jsessionid

[us...@httpd] Reverse Proxy Balancer ?

2009-05-06 Thread James Wuerflein
Anybody have an example of how to setup a Reverse Proxy Load Balancer ? This works as a regular proxy, but I need a Reverse Proxy! ProxyRequests Off ProxyPass / balancer://mycluster/ stickysession=JSESSIONID|jsessionid nofailover=On BalancerMember https://10.1.10.10:443

Re: [us...@httpd] httpd service not starting on Windows 2008 (64bit) through Microsoft Failover Cluster

2009-05-06 Thread Raja Shekar CS
Hi, @Jonathan: error output I get is the complete usage help. There is no specific error seen. I added some debug logging to the httpd startup code, and it looks like Microsoft Failover Cluster server is passing invalid arguments: When started from Microsoft Failover Cluster: [Wed May 06 19:28:0

Re: [us...@httpd] renewing a certificate

2009-05-06 Thread Davide Bianchi
Melanie Pfefer wrote: > Hi , > > I created the .pem file using keytool > > keytool -export -alias tomcat -rfc > tomcat.pem > > and then moved this file to apache directory and ran c_rehash > /usr/local/apache/conf/ssl > > this created a link file cc5d41ae.0 -> tomcat.pem > > what are the mis

Re: [us...@httpd] renewing a certificate

2009-05-06 Thread Melanie Pfefer
Hi , I created the .pem file using keytool keytool -export -alias tomcat -rfc > tomcat.pem and then moved this file to apache directory and ran c_rehash /usr/local/apache/conf/ssl this created a link file cc5d41ae.0 -> tomcat.pem what are the missing steps to create the server.key and serve

Re: [us...@httpd] Apache/2.0.47 - AIX - DEFLATE enabled - Content-Encoding for a page - shows blank - although it's gzip encoded

2009-05-06 Thread André Warnier
Arabinda Sahoo wrote: Yes, I can always indentify my URL where Content-Encoding="" by a pattern. Good, that is something we might be able to use. Basically the application is Actuate Reports version 8. You already mentioned that. But you should not assume that the rest of the world knows w

Re: [us...@httpd] renewing a certificate

2009-05-06 Thread Prasanna Ram Venkatachalam
oh.. i hope server.crt is the certificate you are using? right? On Wed, May 6, 2009 at 5:44 PM, Prasanna Ram Venkatachalam < vpra...@gmail.com> wrote: > Melanie, i think keytool does not create any certificate. Its just a > key/certificate management utility. > http://java.sun.com/j2se/1.4.2/docs

Re: [us...@httpd] renewing a certificate

2009-05-06 Thread Prasanna Ram Venkatachalam
Melanie, i think keytool does not create any certificate. Its just a key/certificate management utility. http://java.sun.com/j2se/1.4.2/docs/tooldocs/solaris/keytool.html What did you use to get server.crt? openssl ,selfssl or some free sites available?? Regards Prasanna Ram On Wed, May 6, 2009 at

Re: [us...@httpd] renewing a certificate

2009-05-06 Thread Melanie Pfefer
OK Krist. Just few more questions please: When I create a new certificate using keytool, how to specify a long-term expiry date? thanks, --- On Wed, 6/5/09, Krist van Besien wrote: > From: Krist van Besien > Subject: Re: [us...@httpd] renewing a certificate > To: users@httpd.apache.org > Da

Re: [us...@httpd] renewing a certificate

2009-05-06 Thread Krist van Besien
On Wed, May 6, 2009 at 1:37 PM, Melanie Pfefer wrote: > > you are right. > > But I tried now a replica of what I have: > apache > tomcat > > The certificate is self-signed and I just generated it. Is it normal to have > on the browser: sec_error_expired_certificate When you generate a certificat

Re: [us...@httpd] renewing a certificate

2009-05-06 Thread Melanie Pfefer
you are right. But I tried now a replica of what I have: apache tomcat The certificate is self-signed and I just generated it. Is it normal to have on the browser: sec_error_expired_certificate thank you --- On Wed, 6/5/09, Krist van Besien wrote: > From: Krist van Besien > Subject: Re: [u

[us...@httpd] Information about .DAV directory

2009-05-06 Thread Marc Patermann
Hi, in a WebDAV directory apache* creates a .DAV subdirectory in which files like document_in_dir_above.dir and document_in_dir_above.pag are stored. I think, this is for the "V" in "DAV" (Versioning), right? How can I make use of this DBM database file and or "control" them? Thanks! Marc

RE: [us...@httpd] Apache/2.0.47 - AIX - DEFLATE enabled - Content-Encoding for a page - shows blank - although it's gzip encoded

2009-05-06 Thread Arabinda Sahoo
Yes, I can always indentify my URL where Content-Encoding="" by a pattern. Basically the application is Actuate Reports version 8. The URL for this page which doesn't set header properly - is https://punirtweb1/acweb/servlet/ViewPage?outputType=ROI&outputname=%2fs1%2fBtmu%2fGiroDetails%2eroi&id

Re: [us...@httpd] Apache/2.0.47 - AIX - DEFLATE enabled - Content-Encoding for a page - shows blank - although it's gzip encoded

2009-05-06 Thread Nick Kew
On 6 May 2009, at 10:16, André Warnier wrote: Also (for Nick), while we are at it, /why/ would it be that a content-encoding response header set unconditionally by mod_headers would not come out ? (the OP earlier posted the "Header" line used.) mod_deflate will check content-encoding, to a

[us...@httpd] mod_security

2009-05-06 Thread Julien Gerhards
Hi, I try to use mod_security but it doesn t filter anything ! My vhostconf : ServerSignature Off ServerName cache-ext ErrorLog logs/cache-ext_error.log CustomLog logs/cache-ext_access.log combined Deny from all RewriteEngine On #

Re: [us...@httpd] Apache/2.0.47 - AIX - DEFLATE enabled - Content-Encoding for a page - shows blank - although it's gzip encoded

2009-05-06 Thread André Warnier
Arabinda Sahoo wrote: Yes, Andre. MOD_DEFLATE setting as done in my httpd.conf as follows - perfectly does - one part of work - which is - Compression - for all Pages. SetOutputFilter DEFLATE SetEnvIfNoCase Request_URI \ \.(?:gif|jpe?g|png|tar)$ no-gzip dont-vary And also it do

RE: [us...@httpd] Apache/2.0.47 - AIX - DEFLATE enabled - Content-Encoding for a page - shows blank - although it's gzip encoded

2009-05-06 Thread Arabinda Sahoo
Yes, Andre. MOD_DEFLATE setting as done in my httpd.conf as follows - perfectly does - one part of work - which is - Compression - for all Pages. SetOutputFilter DEFLATE SetEnvIfNoCase Request_URI \ \.(?:gif|jpe?g|png|tar)$ no-gzip dont-vary And also it does set "Content-Encoding

Re: [us...@httpd] Apache/2.0.47 - AIX - DEFLATE enabled - Content-Encoding for a page - shows blank - although it's gzip encoded

2009-05-06 Thread André Warnier
Nick Kew wrote: On 6 May 2009, at 08:41, Arabinda Sahoo wrote: Actually I have a compelling reason to set - Content-Encoding to gzip - for performance improvement. For s sake, take a step back! There's no way Apache makes such a meal of this. You have either a very broken application

Re: [us...@httpd] renewing a certificate

2009-05-06 Thread Krist van Besien
On Wed, May 6, 2009 at 8:52 AM, Melanie Pfefer wrote: > > Hi, > > I have tomcat server running as a backend server and apache running as > front-end, both on the same machine > > In httpd.conf, I have: > > SSLProxyEngine On > RewriteEngine On > SSLProxyCACertificatePath /usr/local/apache/conf/ssl

Re: [us...@httpd] Apache/2.0.47 - AIX - DEFLATE enabled - Content-Encoding for a page - shows blank - although it's gzip encoded

2009-05-06 Thread Nick Kew
On 6 May 2009, at 08:41, Arabinda Sahoo wrote: Actually I have a compelling reason to set - Content-Encoding to gzip - for performance improvement. For s sake, take a step back! There's no way Apache makes such a meal of this. You have either a very broken application or a very confu

[us...@httpd] proxy and proxied site limitation

2009-05-06 Thread Julien Gerhards
Hi, I've made a proxy conf qith URL rewriting and i must limit the use of this proxy : what is the simpliest way to limit proxied site access ? In this case, there's about 100 sites.. Mod_security ? - The official User-To-U

RE: [us...@httpd] Apache/2.0.47 - AIX - DEFLATE enabled - Content-Encoding for a page - shows blank - although it's gzip encoded

2009-05-06 Thread Arabinda Sahoo
Hi, Thanks. Actually I have a compelling reason to set - Content-Encoding to gzip - for performance improvement. Although Compression is set for Apache - DEFLATE module, a few Pages which are rendered by Actuate 8 report server - don't honour them. As per you - I tried - mod_headers - but uns

Re: [us...@httpd] Apache/2.0.47 - AIX - DEFLATE enabled - Content-Encoding for a page - shows blank - although it's gzip encoded

2009-05-06 Thread André Warnier
Arabinda Sahoo wrote: Hi, Thanks for the more detailed reply. Yes, I think that Content-Encoding may be of a category of "Content-Type". So, it will be useful for me at lease try the mod_perl once. So, could you please let me know - what all you did? Steps for using mod_perl? And your sample c

Re: [us...@httpd] dynamic/mass virtual hosts with www.* alias and localhost...

2009-05-06 Thread Rainer Frey
Hi, actually your description of you want to achieve, and what already works is a bit confusing. Do you want to serve the dynamic hosts only, or do you have an additional default site? More comments inline. On Wednesday 06 May 2009 04:04:39 wayne wrote: > enable mass/dynamic virtual hosts,