| |||||||||||
| |||||||||||
httpd.conf or .htaccess?
You can put Apache httpd configuration changes into both the httpd.conf file and files called .htaccess. What's the difference? Which should you use?
If you put directives into httpd.conf - or any files called up with an include: * They are read only when the server restarts * They are set up by the system administrator * They can override any settings from a higher directory, even if allowoverride is set to none If you put directives into a .htaccess file: * They are read for each and every hit to the directory or its descendants * They are set up by the web administrator responsible for that directory * They can only override settings from httpd.conf if allowoverride is set for it You may be told that .htaccess is less efficient - true, but in the whole run of things it's only going to take a very little longer, so you normally don't need to be concerned about that. More important is the difference of who administers the settings, and for system administrators to be aware of the additional support that may be required for the web team / web content providers if they're allowed to modify settings via . htaccess. (written 2007-02-14 04:43:04) Associated topics are indexed under A603 - Web Application Deployment - Further httpd Configuration
Some other Articles
Writing terms and conditions for conferences and other eventsBehind the scenes Straight from the .jar Customer takes over class, and I am delighted httpd.conf or .htaccess? Wilts and Berks - two conference / training rooms in Melksham Wiltshire - multicultural community In answer to 'am I glad I started a blog' ... Save the Train - an update I'm not the father 1635 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33 at 50 posts per pageThis is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price. Link to Ezine home page (for reading). Link to Blogging home page (to add comments). |
| ||||||||||
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho | |||||||||||