With apache, in the httpd.conf file, you can change the .htaccess file to 
whatever file you want it to access (and protect) ...1st change:
AccessFileName .htaccess
to
AccessFileName whateverfilename.filetype

This changes the file apache looks for in each directory for its settings


Then right below that there should be:

<Files .htaccess>
    Order allow,deny
    Deny from all
</Files>

Change .htaccess to whateverfilename.type (as you entered it in the above 
statement)  This prevents users visiting your website from being able to view 
that file
now you dont need to worry about windows not opening a .htaccess file, you 
just name your own, eg access.apache, or website.access or whatever you like. 
 Hope this helps

~Jeff


>>Cut from previous E-mail<<
Rename any test text file to "tester.htaccess", open, choose open with,
check always open with, notepad.exe, and Description of type may be httpd
DIR OverRide Settings ...
This will associate .htaccess with notepad and make life easier.



""Matt Hivner"" <[EMAIL PROTECTED]> wrote in message
9dr8f0$vd8$[EMAIL PROTECTED]">news:9dr8f0$vd8$[EMAIL PROTECTED]...
| according to the manual (on the web)...
|
| "To configure Apache (with the PHP module installed) to PHP-process all
the
| HTML files in a given directory, add the following line to the file
| ".htaccess" inside the directory:
|
| AddType application/x-httpd-php .html .htm
|
| It's OK if ".htaccess" contains only this line (i.e. the file did not
| previously exist.)"
|
| I tried to add this file to my htdocs directory (assuming that that was
the
| given directory to writer was referring to) and windows will not let me
name
| a file .htaccess.
|
| I probably missed this in a read me somewhere, but could someone explain
to
| me a work around, or is there something else a windows user must do in
this
| situation.
|
| I know that in *NIX naming a file with a dot in front will simply hide it
| from the ls command, but I am lost here in windows land...
|

Reply via email to