Re: [us...@httpd] Re: help with rewrites - changing the base path

2008-12-30 Thread Matthew Sacks
hi list, new problem: when i try to add a rewrite just for the base url, it doesn't work and appends the destination url twice and ends up as a 404: how can i accommodate the wild-card and the base path (RewriteRule ^/$ http://www.foobar.com)? # BEGIN WordPress RewriteEngine On RewriteBase /te

Re: [us...@httpd] Problems with dynamically generating certificate...

2008-12-30 Thread Eric Covener
On Tue, Dec 30, 2008 at 5:08 PM, wrote: > SSLCertificateFile prg:/usr/bin/certgenerate > SSLCertificateFile |/usr/bin/certgenerate > SSLCertificateFile exec:/usr/bin/certgenerate None of these syntax are supported, and if they were they wouldn't be evaluated per-request or connection. > How ca

[us...@httpd] Re: mod_rewrite infinite loop

2008-12-30 Thread Owen Rubel
Am trying to redirect all site url's that do not match "/index.php" to > "/index.php" but sem to be getting into an infinite loop. Have spent hours > on this and get only partial success every time. Does anyone know what I > have done wrong? I have been over the Jack Daniels cheat sheets and haven'

[us...@httpd] Problems with dynamically generating certificate...

2008-12-30 Thread postmaster
I would wish to dynamically generate a certificate for each request. I tried with: SSLCertificateFile prg:/usr/bin/certgenerate I also tried: SSLCertificateFile |/usr/bin/certgenerate and SSLCertificateFile exec:/usr/bin/certgenerate But nothing works, it just generates error messages an

Re: [us...@httpd] actual DBDParams format

2008-12-30 Thread Bruce Hyatt
On Wed, Dec 24, 2008 at 1:52 PM, ernst schoen-rene wrote: > I'm trying to get mod_dbd and mod_authn_dbd to work. Can someone please > post an example of the correct syntax for the DBDParam statement to use with > MySQL? The mod_dbd page says that it should be in this format: > > DBDParam host=lo

Re: [us...@httpd] Troubles enforcing canonical hostname in a .htaccess file

2008-12-30 Thread Olivier Sannier
Eric Covener wrote: On Tue, Dec 30, 2008 at 10:30 AM, Olivier Sannier wrote: So I tried to adapt the given example and modified my .htacess file to this: --- RewriteEngine On RewriteCond %{HTTP_HOST} ^mydomain.com

Re: [us...@httpd] Problem with mod_headers ?

2008-12-30 Thread Eric Covener
On Tue, Dec 30, 2008 at 12:48 PM, André Warnier wrote: > Hi. > > I am a bit at my wit's end here. > > Using Apache 2.2.3 under Suse Linux, with a mod_jk re-director to Tomcat for > certain links, such as the one of which question below. > > I am using a Tomcat java application which unfortunately

Re: [us...@httpd] Troubles enforcing canonical hostname in a .htaccess file

2008-12-30 Thread Eric Covener
On Tue, Dec 30, 2008 at 1:09 PM, ernst schoen-rene wrote: > The way to deal with this is never in the .htaccess file but in the virtual > hosts configuration. If you do not have access to this, you need to ask > whoever does to make sure that www.domain.com and domain.com both go to the > same vi

Re: [us...@httpd] Troubles enforcing canonical hostname in a .htaccess file

2008-12-30 Thread ernst schoen-rene
The way to deal with this is never in the .htaccess file but in the virtual hosts configuration. If you do not have access to this, you need to ask whoever does to make sure that www.domain.com and domain.com both go to the same virtual host. for instance, these lines in your httpd.conf file or h

[us...@httpd] Problem with mod_headers ?

2008-12-30 Thread André Warnier
Hi. I am a bit at my wit's end here. Using Apache 2.2.3 under Suse Linux, with a mod_jk re-director to Tomcat for certain links, such as the one of which question below. I am using a Tomcat java application which unfortunately sets the Content-Type response header wrongly : it says "text/htm

Re: [us...@httpd] Apache 2.2 asks for client certificate when it shouldn't

2008-12-30 Thread krist . vanbesien
On 12/30/08, Miguel Angel Tormo Alfaro wrote: > I thought it could be a browser issue, however the same config in apache 2.0 > doesn't behave this way. On the other hand I'm able to reproduce the problem > with firefox 2, 3, seamonkey 1.1.7 and konqueror. I don't see anything > related to this in

Re: [us...@httpd] Troubles enforcing canonical hostname in a .htaccess file

2008-12-30 Thread Eric Covener
On Tue, Dec 30, 2008 at 10:30 AM, Olivier Sannier wrote: > > So I tried to adapt the given example and modified my .htacess file to this: > > --- > RewriteEngine On > > RewriteCond %{HTTP_HOST} ^mydomain.com [NC] > Rewrite

[us...@httpd] Troubles enforcing canonical hostname in a .htaccess file

2008-12-30 Thread Olivier Sannier
Hi all, I have a website with an associated domain name hosted by a third party provider. They let me place .htacess files in folders and mod_rewrite is enabled. I would like that any request for "mydomain.com" be redirected to "www.mydomain.com" while letting through any request for other thi

[us...@httpd] Add new instance in apache load balancer at runtime.

2008-12-30 Thread Narendra Verma
Hi experts; A new instance can be added in apache load balancer by following configuration: ServerName impetus-887.impetus.co.in:801 BalancerMember ajp://192.168.98.62:11009 route=tomcat2 loadfactor=1 BalancerMember ajp://192.168.96.181:12009 route=tomcat1 loadfactor=

[us...@httpd] Caching "virtual directory" requests

2008-12-30 Thread Karim Zaki
Hello everyone, I'm running Apache 2.2.11 with mod_jk and mod_cache. Apache doesn't seem to be caching requests for "virtual directories" (i.e. requests for URIs that don't end in a file name). My back-end Tomcat application uses such URLs (e.g. http:///http://%3chost-%3e/%3cvirtual-directory>>

[us...@httpd] 32 bit Apache on 64 bit RHEL5.2 machine

2008-12-30 Thread Vinay Purohit
Hi, I would like to run Apache 2.2.11 in 32 bit mode on RHEL5.2 64 bit machine. Is it possible? If Yes how? \Vinay - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/usersli

[us...@httpd] Apache 2.2 asks for client certificate when it shouldn't

2008-12-30 Thread Miguel Angel Tormo Alfaro
Hi all, I recently installed an apache web server using version 2.2.9, and I'm having strange issues with the SSL behaviour. I don't need client certificate validation so I didn't use the directive SSLVerifyClient. However, as apache asked for a client certificate, I changed the SSLVerifyClient