Re: performance when using a .htaccess

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: keith smith
Date:  
To: Main PLUG discussion list
Subject: Re: performance when using a .htaccess

We have our own servers, if that is what you are referring to.  You mean make the changes to /etc/httpd/config/httpd.conf ?  I do seem to recall reading something about this.  I suspect I can create a file and just import it at the appropriate place.  Thanks!  I'll need to do some research on this.

------------------------

Keith Smith

--- On Fri, 10/22/10, Bryan O'Neal <> wrote:

From: Bryan O'Neal <>
Subject: Re: performance when using a .htaccess
To: "Main PLUG discussion list" <>
Date: Friday, October 22, 2010, 5:45 PM

Just as a follow up. Do your end users control their own .htaccess
files? If not why not use conf files and disable htaccess?

On 10/22/10, Lisa Kachold <> wrote:
> On Fri, Oct 22, 2010 at 2:18 PM, keith smith <> wrote:
>
>>
>>
>> Hi,
>>
>> I have a question about performance when using a .htaccess file.  I have
>> read that having multiple .htaccess files can slow Apache.  Meaning a
>> .htaccess file in each directory.
>>
>> We have moved a ton of content, upwards of 900 pages.  About 600 of those
>> have been moved from our blog which was located in the directory /blog.
>> It
>> was suggested to break the .htaccess into files that reflect the content
>> moved.  For example put a .htaccess file in the /blog directory that
>> reflects all the content from the blog instead of one big .htaccess file
>> in
>> the doc root directory that would contain 900 redirects.
>>
>
> Well, that's better than FollowSymlinks?
>
> The reason that multiple .htaccess file management can be slow and difficult
> is that Apache2 searches each TREE and .htaccess files are inherited from
> hierarchical directories.
>
> A rewrite might actually be able to do exactly what you need?  have you
> considered that?  Rewrite overhead is not huge, especially if you are
> caching for this /blog URL?
>
>
>>
>> Thank you for your feedback.
>>
>> ------------------------
>> Keith Smith
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list -
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>
>
>
>
> --
> Skype: 6022393392
> ATT:     5037544452
> GV:      6923073392
> Phoenix Linux Security Team <http://hackfest.obnosis.com>
> PLUG.PHOENIX.AZ.US
> http://www.it-clowns.com
> *"Great things are not done by impulse but a series of small things brought
> together." -Van Gogh*
>


--
Sent from my mobile device
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss