Re: [CentOS] Cent os 4 .htaccess file not working mod_rewrite enable - how can I test "help"

2007-12-30 Thread Jim Perrin
On Dec 30, 2007 10:31 AM, Kai Schaetzl <[EMAIL PROTECTED]> wrote:
> Jim Perrin wrote on Sat, 29 Dec 2007 16:19:37 -0500:
>
> > By default htaccess files are not allowed in the httpd.conf file.
>
> And you don't even need them, you can just use the same directives in the
> configuration which has the advantage that Apache doesn't have to probe
> for this file each time it fulfills a request.

Indeed. This is actually a performance tuning piece for apache, and
the first in their 'when not to use' section for htaccess.

Documentation for this is available here to those who are interested
-> http://httpd.apache.org/docs/2.0/howto/htaccess.html#when


-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cent os 4 .htaccess file not working mod_rewrite enable - how can I test "help"

2007-12-30 Thread Kai Schaetzl
Jim Perrin wrote on Sat, 29 Dec 2007 16:19:37 -0500:

> By default htaccess files are not allowed in the httpd.conf file.

And you don't even need them, you can just use the same directives in the 
configuration which has the advantage that Apache doesn't have to probe 
for this file each time it fulfills a request.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cent os 4 .htaccess file not working mod_rewrite enable - how can I test "help"

2007-12-29 Thread Jim Perrin
On Dec 29, 2007 12:48 PM, sgoldman <[EMAIL PROTECTED]> wrote:
>
>
> Hello,
> Spend hours attempting to password protect a web directory-
>
> mod_rewrite enabledon httpd.conf file.  Seek ideas please

By default htaccess files are not allowed in the httpd.conf file. You
have to enable them with the AllowOverride option.



-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cent os 4 .htaccess file not working mod_rewrite enable - how can I test "help"

2007-12-29 Thread Frank Cox
On Sat, 29 Dec 2007 12:48:54 -0500
sgoldman <[EMAIL PROTECTED]> wrote:

> Hello,
> Spend hours attempting to password protect a web directory- 
> mod_rewrite enabledon httpd.conf file.  Seek ideas please 

This is the .htaccess file directly from one of my webservers.  It works fine.

AuthUserFile /opt/passwords/parkland.pwd
AuthGroupFile /dev/null
AuthName ParklandONLINE
AuthType Basic
require valid-user

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Cent os 4 .htaccess file not working mod_rewrite enable - how can I test "help"

2007-12-29 Thread sgoldman
Hello,
Spend hours attempting to password protect a web directory- 
mod_rewrite enabledon httpd.conf file.  Seek ideas please 



Stephen



Stephen Goldman 
System Administrator
MIT Biology
[EMAIL PROTECTED] 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos