homepage Welcome to WebmasterWorld Guest from 54.205.247.203
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

    
htaccess
What is htaccess
Seven




msg:971244
 7:57 am on Apr 5, 2003 (gmt 0)

I'm new to web design and have just posted my website. I've been looking over the posts and was wondering if anyone could explain to me what the htaccess file is for and how to use it.

 

pendanticist




msg:971245
 8:12 am on Apr 5, 2003 (gmt 0)

Welcome to WebmasterWorld Seven. Be sure to read WebmasterWorld Welcome and Guide to the Basics. [webmasterworld.com]

Titles of previous posts found via site search [webmasterworld.com].

my first htaccess file [webmasterworld.com]

.htaccess how big? [webmasterworld.com]

These, and what others will contribute should get you started.

Pendanticist.

wruk999




msg:971246
 9:27 am on Apr 5, 2003 (gmt 0)

Seven,

most common uses of the htaccess file are for re-directs etc.

But you can also use htaccess to password protect entire directories. You then use a .htpasswd file with usernames & encrypted passwords in.

This is quite a secure way of password-protecting directories, but will only run on Apache.

HTH,
William.

jamesa




msg:971247
 10:26 am on Apr 5, 2003 (gmt 0)

The Apache web server has a configuration file where you can edit all the web server settings (httpd.conf). The .htaccess file is an invisible text file where you can override those configurations for a particular directory (and it's sub-directories) without having to edit the server's main config file. On a shared server users don't have access to the httpd.conf, so in that case the .htaccess file would be the only way to make any changes.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved