|
|
Restoring the Apache config file after 10.2.4 update
There are good reasons to be modifying the httpd.conf file instead of using local configurations as has been suggested by others in this thread. See the apache notes on .htaccess files and when not to use them here.
Specifically: There are two main reasons to avoid the use of .htaccess files. The first of these is performance. When AllowOverride is set to allow the use of .htaccess files, Apache will look in every directory for .htaccess files. Thus, permitting .htaccess files causes a performance hit, whether or not you actually even use them! Also, the .htaccess file is loaded every time a document is requested. Further note that Apache must look for .htaccess files in all higher-level directories, in order to have a full complement of directives that it must apply. (See section on how directives are applied.) (...) And so, for each file access out of that directory, there are 4 additional file-system accesses, even if none of those files are present. So for small sites where performance is not critical, modifying a local config would be fine. For large, performance-tuned sites this would not be a good idea. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.14 seconds |
|