[us...@httpd] can I have 2 require group entries using apache auth_ldap

2009-01-14 Thread James Chavez
Hello, I have 2 different groups that I need to allow access to in my httpd.conf using auth_ldap. One group is for US and the other is for a UK domain. Is it possible for me to have 2 require group directives listed one after the other? And will it search through each directive to check access? Or

Re: [us...@httpd] 2.2.11: BalancerMember Ping/Pong timeout has wrong format

2009-01-14 Thread Javier Miqueleiz
On Wed, Dec 31, 2008 at 12:20:01PM +, Ian Lea wrote: > Hi > > > On apache 2.2.10 a config file with these lines > > > BalancerMember ajp://localhost:17100 route=yyy ping=10 > > > works fine, but on 2.2.11 it fails to parse, showing error > > Syntax error on line 73 of /opt/apache-2.

Re: [us...@httpd] ReWrite woes

2009-01-14 Thread Sheldon Ross
Big Thanks for everyone's help, I was finally able to get it working. To be honest though, I'm not sure what of the many fiddlings I did did it! On Wed, 2009-01-14 at 15:03 -0500, Brian Mearns wrote: > On Wed, Jan 14, 2009 at 2:45 PM, Sheldon Ross wrote: > > Thanks, I've tried several variations

Re: [us...@httpd] redirect trailing slash problem

2009-01-14 Thread Mike Soultanian
Eric Covener wrote: On Tue, Jan 13, 2009 at 2:55 AM, Mike Soultanian wrote: Does anyone know how to tweak my rewrite such that it will forward correctly, regardless of whether or not the folder has a trailing slash? ProxyPassReverse would fix the redirect that's being sent by mod_dir'

Re: [us...@httpd] ReWrite woes

2009-01-14 Thread Brian Mearns
On Wed, Jan 14, 2009 at 2:45 PM, Sheldon Ross wrote: > Thanks, I've tried several variations on the rule. > > Am I correct in thinking there should be some mod_rewrite log, or at > least mention of it in one of the logs? > Yes, you can specify the path to the rewrite log file with the RewriteLog

Re: [us...@httpd] ReWrite woes

2009-01-14 Thread Sheldon Ross
Thanks, I've tried several variations on the rule. Am I correct in thinking there should be some mod_rewrite log, or at least mention of it in one of the logs? I've used mod_jk,mod_python in the past and I seem to remember them have logs of their own. Is there someway I can verify that mod_rewri

Re: [us...@httpd] ReWrite woes

2009-01-14 Thread Eric Covener
> >RewriteRule ^/bob$ /temp1/temp1/temp2 Cannot match in per-directory context. The rewritebase, including a trailing slash, is stripped before you compare. RewriteLog might help in debugging. -- Eric Covener cove...@gmail.com --

Re: [us...@httpd] ReWrite woes

2009-01-14 Thread Sheldon Ross
I've tried putting ReWriteEngine On in both the apache2.conf and the sites-enabled file. No effect. On Wed, 2009-01-14 at 14:20 -0500, Matt McCutchen wrote: > On Wed, 2009-01-14 at 12:13 -0700, Sheldon Ross wrote: > > I cannot get mod_rewrite to work. > > > > >

Re: [us...@httpd] ReWrite woes

2009-01-14 Thread Bob Ionescu
2009/1/14 Sheldon Ross : >RewriteRule ^/bob$ /temp1/temp1/temp2 That rule (with 'RewriteEngine on' as already mentioned) wouldn't match in a section (per-directory context) but it would match outside of the section (per-server context). Strip the leading slash of the pattern for

Re: [us...@httpd] ReWrite woes

2009-01-14 Thread Matt McCutchen
On Wed, 2009-01-14 at 12:13 -0700, Sheldon Ross wrote: > I cannot get mod_rewrite to work. > > ServerAdmin webmas...@localhost > > DocumentRoot /var/www/ > > Options FollowSymLinks > AllowOverride None > > > Option

[us...@httpd] ReWrite woes

2009-01-14 Thread Sheldon Ross
I cannot get mod_rewrite to work. I have enabled it through 'sudo a2enmod rewrite'. Under /mods-enabled/ there is 'rewrite.load' contents Code: LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so Here is a snippet of my /sites-enabled/ file Code: ServerAdmin webmas...@loc

Re: [us...@httpd] Linux SSL Permission for htdocs directory

2009-01-14 Thread kohanm
I solved the problem by running the Tomcat as a non-root user and it worked. Thanks, Mk On Tue, Jan 13, 2009 at 5:18 AM, André Warnier wrote: > Ian Lea wrote: > >> I'd guess the problem is that apache is running under user x and >> tomcat is running under user y, and user x doesn't by default

Re: [us...@httpd] Processing mod_cache after mod_rewrite

2009-01-14 Thread Eric Covener
On Wed, Jan 14, 2009 at 10:47 AM, Karim Zaki wrote: > Sounds interesting. Do you know where I can get a build that I can expect to > successfully compile? easiest way would be to download 2.2.11 and then apply the trivial patch here: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/modul

Re: [us...@httpd] FOSSkriti- FOSS mini -conference ,India

2009-01-14 Thread Brian Mearns
On Wed, Jan 14, 2009 at 11:01 AM, zakir ahmed wrote: > Hi , > > We are a bunch of students at the Indian Institute of Technology > Kanpur,India , organizing FOSSkriti [1]. FOSSkriti is a mini-conference > aimed at students in India with the aim of making open source software,open > standards more

[us...@httpd] FOSSkriti- FOSS mini -conference ,India

2009-01-14 Thread zakir ahmed
Hi , We are a bunch of students at the Indian Institute of Technology Kanpur,India , organizing FOSSkriti [1]. FOSSkriti is a mini-conference aimed at students in India with the aim of making open source software,open standards more popular. It also hopes to serve as a meeting place for young dev

RE: [us...@httpd] Processing mod_cache after mod_rewrite

2009-01-14 Thread Karim Zaki
Sounds interesting. Do you know where I can get a build that I can expect to successfully compile? Thanks again. -Original Message- From: Eric Covener [mailto:cove...@gmail.com] Sent: Wednesday, January 14, 2009 5:42 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] Processing mod

Re: [us...@httpd] Processing mod_cache after mod_rewrite

2009-01-14 Thread Eric Covener
On Wed, Jan 14, 2009 at 10:15 AM, Karim Zaki wrote: > But if I stuck with rewrite, mod_cache would still process before rewrite, > and so this solution would not work. I think he'll decide to try to save it, but there are checks during this very late saving that offer a chance to bail out (like

RE: [us...@httpd] Processing mod_cache after mod_rewrite

2009-01-14 Thread Karim Zaki
But if I stuck with rewrite, mod_cache would still process before rewrite, and so this solution would not work. -Original Message- From: Eric Covener [mailto:cove...@gmail.com] Sent: Wednesday, January 14, 2009 4:49 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] Processing mod_c

Re: [us...@httpd] Processing mod_cache after mod_rewrite

2009-01-14 Thread Eric Covener
On Wed, Jan 14, 2009 at 9:36 AM, Karim Zaki wrote: > Hi Eric, > > Thanks for the insight. Do you mean that I should set it using SetEnvIf, or > did you have something else in mind? The advice below would be if you stuck with rewrite, the E flag. But if you didn't need to change the URL outside

RE: [us...@httpd] Processing mod_cache after mod_rewrite

2009-01-14 Thread Karim Zaki
Hi Eric, Thanks for the insight. Do you mean that I should set it using SetEnvIf, or did you have something else in mind? Regards, Karim From: Eric Covener [cove...@gmail.com] Sent: Wednesday, January 14, 2009 16:00 To: users@httpd.apache.org Subject: Re:

[us...@httpd] configure bug? concerning use of nonportable atomics

2009-01-14 Thread Otheus
Greetings, A user on unix.com posted this query : > Does anyone know or know how to check if the Apache 2.2 version you can get > with the Synaptic Package manager in Ubuntu 8.10has been optimized for 486 or > higher processors? He then quotes from the documentation on tuning: > By default, AP

Re: [us...@httpd] Processing mod_cache after mod_rewrite

2009-01-14 Thread Eric Covener
On Wed, Jan 14, 2009 at 7:41 AM, Karim Zaki wrote: > All, > > I need to have mod_cache process requests after mod_rewrite is done with > them. The reason I need this is that CacheEnable only accepts a path and will > cache everything under that path, while I need to cache based on more > granul

Re: [us...@httpd] animated gif play or no play?

2009-01-14 Thread PJ
Brian Mearns wrote: > On Tue, Jan 13, 2009 at 6:16 PM, PJ wrote: > >> Here's a weird one: the exact same animated gif plays fine on my local >> server when addressed directly to the file - but it does not play on the >> virtual site on the local server. >> >> In other words, http://my_server/p

Re: [us...@httpd] Re: Can I just compile once and copy the installed server to multi machines?

2009-01-14 Thread Brian Mearns
On Wed, Jan 14, 2009 at 8:21 AM, Dan Poirier wrote: > Dan Poirier writes: > >> The compiled-in default paths can't be changed, but you can use a >> configuration file that sets a different ServerRoot and that should >> override the defaults for most paths. You might run into a few other >> paths

Re: [us...@httpd] animated gif play or no play?

2009-01-14 Thread Brian Mearns
On Tue, Jan 13, 2009 at 6:16 PM, PJ wrote: > Here's a weird one: the exact same animated gif plays fine on my local > server when addressed directly to the file - but it does not play on the > virtual site on the local server. > > In other words, http://my_server/ptahhotep/images/email1.gif plays

[us...@httpd] Re: Can I just compile once and copy the installed server to multi machines?

2009-01-14 Thread Dan Poirier
Dan Poirier writes: > The compiled-in default paths can't be changed, but you can use a > configuration file that sets a different ServerRoot and that should > override the defaults for most paths. You might run into a few other > paths that need to be overridden explicitly. Also, if you're usi

[us...@httpd] Re: Can I just compile once and copy the installed server to multi machines?

2009-01-14 Thread Dan Poirier
Tian You writes: > Seems that the location of the server can not be changed after installation. > Is there a way to make it work without re-compile if I want to change the > location of the server on the other machine? The compiled-in default paths can't be changed, but you can use a configurati

[us...@httpd] Processing mod_cache after mod_rewrite

2009-01-14 Thread Karim Zaki
All, I need to have mod_cache process requests after mod_rewrite is done with them. The reason I need this is that CacheEnable only accepts a path and will cache everything under that path, while I need to cache based on more granular criteria...so I need mod_rewrite to look at the request and

Re: [us...@httpd] animated gif play or no play?

2009-01-14 Thread Michael Ludwig
PJ schrieb: Here's a weird one: the exact same animated gif plays fine on my local server when addressed directly to the file - but it does not play on the virtual site on the local server. In other words, http://my_server/ptahhotep/images/email1.gif plays fine - on & on & on http://egypt/image