Forum Moderators: phranque

Message Too Old, No Replies

.htaccess

         

Montezuma45

3:05 pm on Feb 10, 2011 (gmt 0)

10+ Year Member



I'm going to show my ignorance at this point.

I see lots of questions about '.htaccess', is this for people that do not have their own server but have it hosted on a company site that does hosting?

wilderness

3:35 pm on Feb 10, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



either.

With your own server, however http.conf is more appropriate.

Montezuma45

8:09 pm on Feb 10, 2011 (gmt 0)

10+ Year Member



Thanks. That's what I thought it was.

jdMorgan

7:39 pm on Feb 17, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Specifically, use of .htaccess is far more common than use of any other config files, which is why most threads here talk about .htaccess.

This is because the vast majority of Web sites are hosted on name-based or IP-based shared virtual servers, and therefore, most Webmasters do not have access to the server config files.

If you have full control over your server and its configuration, then using httpd.conf or some other server-level config file is usually much more efficient than using .htaccess. This is because the code in the config files is "compiled" into executable code once at server start-up, whereas code in .htaccess must be "interpreted" for each and every HTTP request received by the server.

Jim