RE: [users@httpd] htpasswd permissions

2013-07-04 Thread Isenhower, Dave
orked fine! Thanks! Dave -Original Message- From: Jens-U. Mozdzen [mailto:jmozd...@nde.ag] Sent: Thursday, July 04, 2013 5:29 AM To: users@httpd.apache.org Subject: Re: [users@httpd] htpasswd permissions Hi Dave, Zitat von "Isenhower, Dave" : > We’re running prefork. I c

RE: [users@httpd] htpasswd permissions

2013-07-03 Thread Isenhower, Dave
nt the execute permission to others at config directory this shouldn't lead in any security issue. Best regards, Vincenzo On 03/lug/2013, at 18:40, "Isenhower, Dave" mailto:dave.isenho...@siemens.com>> wrote: Hi, I have a an htpasswd file that I want to have locked do

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 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

[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