[users@httpd] Allow page caching with mod_session_dbd enabled

2013-07-03 Thread Chris Geer
We are using mod_session_dbd as part of our reverse proxy architecture but also need to allow browser caching. Currently the code is hard coded to force no caching but there is a ticket/patch to enable it [1]. I was wondering if anyone could look at that or if there is another solution? The only r

RE: [users@httpd] htpasswd permissions

2013-07-03 Thread Isenhower, Dave
We’re running prefork. I can see the processes running under the correct user: $ ps -ef | grep httpd apache 14638 26766 0 11:32 ?00:00:00 /usr/sbin/httpd -d /www/etc/apache/config -c Pidfile /web/logs/pid-files/httpd.pid -f /www/etc/apache/config/httpd.conf $ groups apache apache : ap

RE: [users@httpd] redirect based on internal or external IP

2013-07-03 Thread Isenhower, Dave
Exclude "www.site.com" from your RewriteRule. If you need to use the domain, you'd have to prefix it with "http://";. Try this: RewriteCond %{REMOTE_ADDR} ^1.1.1.1 RewriteCond %{REQUEST_URI} !^/internal RewriteRule ^(.*)$ /internal [R=301,L] RewriteCond %{REMOTE_ADDR} ^2.2.2.2 RewriteCond

Re: [users@httpd] htpasswd permissions

2013-07-03 Thread Vincenzo D'Amore
Hi, May be you should double check what MPM are you using and if the User directive is supported. http://httpd.apache.org/docs/2.2/mod/mpm_common.html#user I don't know exactly why you're experiencing this problem but if you grant the execute permission to others at config directory this should

RE: [users@httpd] htpasswd permissions

2013-07-03 Thread Isenhower, Dave
No, SELinux is disabled. -Original Message- From: laurence.schuler [mailto:laurence.schu...@nasa.gov] Sent: Wednesday, July 03, 2013 1:43 PM To: users@httpd.apache.org Subject: Re: [users@httpd] htpasswd permissions On 07/03/2013 12:40 PM, Isenhower, Dave wrote: > Hi, > > I have a an htp

Re: [users@httpd] htpasswd permissions

2013-07-03 Thread laurence.schuler
On 07/03/2013 12:40 PM, Isenhower, Dave wrote: > Hi, > > I have a an htpasswd file that I want to have locked down so that it cannot > be read on the filesystem by anyone other than the owner and Apache. Apache > is version 2.2.3 running on RedHat Linux 5.9. > > The permissions I have set are

RE: [users@httpd] redirect based on internal or external IP

2013-07-03 Thread Clark, Kim
I am receiving the following error with the below configuration Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects. RewriteCond %{REMOTE_ADDR} ^1.1.1.1 RewriteCond %{REQUEST_URI} !^/internal RewriteRule ^(.*)$ www.site.com/internal [R=301,L]

[users@httpd] htpasswd permissions

2013-07-03 Thread Isenhower, Dave
Hi, I have a an htpasswd file that I want to have locked down so that it cannot be read on the filesystem by anyone other than the owner and Apache. Apache is version 2.2.3 running on RedHat Linux 5.9. The permissions I have set are as follows: drwxr-xr-x 6 root root 4096 May 7 10:19

[users@httpd] externel rewrite

2013-07-03 Thread Pol Hallen
Hi all! This is my first post! I've read apache the definitive guide (unfortunately based on 1.3 apache). I've 2 server and my problem is about webmail, webmail is on server2, main site in on server1 server1 ip: 12.34.56.78 server2 ip: 34.56.78.90 on server1 I've a link to server2: 34.56.78.90