where’s the .htaccess file?
for the benefit of others who stop by, it is usually located in the root directory of your webserver, and is usually not visible on ftp tools, since files name .* are usually hidden from display.
If you don’t have a .htaccess file already, you can create one, and upload it.Anonymous
.htaccess files can be made visible via FTP by refreshing the root with ‘-a’ (without the quotes) command.
Mine is under the “forbidden” folder and I can’t get it to work with Faked Folders plug-in. I’m running XAMPP Windows version (http://www.apachefriends.org/en/xampp.html) as my local server for web development and testing purposes. It has an automatic installation script for WP.
Anyways, there’s a readme for the .htaccess file with the following instructions but I don’t a clue:
README mod_auth_remote ( Apache 2.0 authentication module )
This module is a very simple, lightweight method of setting up a single signon
system across multiple web-applicaitions hosted on different servers.
The actual authentication & authorization system is deployed on a single server
instead of each individual server. All other servers are built with
mod_auth_remote enabled. When a request comes in, mod_auth_remote obtains the
client username & password from the client via basic authentication scheme.
It then builds a HTTP header with authorization header built from the client’s
userid:passwd. mod_auth_remote then makes a HEAD request to the authentication
server. On reciept of a 2XX response, the client is validated; for all other
responses the client is not validated.
Why I wrote mod_auth_remote ?
I have a bunch of web applications running on a bunch of machines …
1) My authentication code is heavy & I don’t want to implement it on all
of your servers. (I use mod_perl and require a Database access to
2) Most of my web applications use a single signon
3) Two different applications running under the same server could access 2
different authentication models without any pain
— ok, no more marketing 🙂 ——
I enabled mod_auth_remote on my httpd like this …
1) cp mod_auth_remote.c modules/experimental/mod_auth_remote.c
2) apply patch ‘auth_remote.patch’ on ‘configure’ script.
3) ./configure –disable-auth –enable-auth_remote
‘httpd -l’ should show mod_auth_remote.c
My conf file looks like …
<Directory ~ “/application_1/”>
<Directory ~ “/application_2/”>
<Directory ~ “/application_3/”>
- The topic ‘where’s the .htaccess file?’ is closed to new replies.