Page 1 of 1

htaccess - where to save?

PostPosted: 01. November 2005 12:54
by rwar
Hi. My first post (hope in the right place, since I don't understand deutsche).

Where do I save my .htaccess file? I didn't understand the structure of Apache in XAMPP, because htdocs is not in the Apache directory, so I am a little lost about this.

Other one: I have to save as a .htaccess file ou htaccess (without dot)?

Thanks.

PostPosted: 01. November 2005 23:39
by cj_nza
the htdocs directory is the document root directory. It is therefore the place where you would place all files that you would normally place in your document root. (So in XAMPP the htdocs directrory is the same as in your experience htdocs under Apache.) If you use .htaccess files you would thus store them where needed in the directory tree with htdocs as root.

And yes you have to save the file as an .htaccess file with the dot not without it.