I am having a issue with my Drupal site and the FilesMatch directive I use to deny access to certain core directories and files.
It seems that when I use the below code in my .htaccess file, my entire website throws a HTTP 500 error, which clearly is not the desire effect at all.
any input would be quite helpful, as I am getting stuck and frustrated.
For a schoolproject, I have to set up an intranet at a company headquarters in the Netherlands. But they want to give the division in the United States access to that intranet.
I have to find out how to do that. I've heard that you can do that by giving certain people access to the intranet with... (1 Reply)
i want to protect a folder on my HP....
does the folder need more than ".htaccess" and ".htpasswd" to be protected , and ask for login and password???
Please help ......
i use HTAdmin 1.2.1 to manage my access files..
The systemadmin cant or wount answer.....:confused:
Avenger (3 Replies)
Something is wrong. I do everything right make the .htaccess file and stuff, but when I try the htpasswd command it says command not found. I use Putty SSH client and I think server is running RedHat 7.1 with Apache some version.
HELP!!! (1 Reply)
hi i am trying to make a log of all users who access my website, i am using htaccess to administrate logins, how does htaccess store a session i.e where is the valid user login temporarily stored while a user is using the site or is there already some sort of logging being done by htaccess.
... (2 Replies)
I am looking to forward the following with masking via my .htaccess file:
www.mywebsite.com/origpage www.mywebsite.com/newpage
I do not want to forward the entire site, just this one page with masking. Neither page has an extension. I am able to forward with .htaccess - but it does not mask the... (1 Reply)
Hi,
I would like to use htaccess 301 redirect with URL hiding.
Ex:
when browse the website 'abc.com' it should show the contents of the page 'xyz.com/start/index.html' but in addressbar should show the domain 'abc.com'. I know it works with html URL frame rewrite. But my question is it... (0 Replies)
I have the following directive in my .htaccess:
#RewriteRule ^mozrank/?$ "http://www.seobook.com/#a_aid=dh"
The problem is that the redirect is going to
http://www.seobook.com/%23a_aid=dh
How to preserve the # when redirecting? (2 Replies)
Discussion started by: rlopes
2 Replies
LEARN ABOUT DEBIAN
do_auth
do_auth(8) System Manager's Manual do_auth(8)NAME
do_auth - Program allowing more granular control than tac_plus.
SYNOPSIS
do_auth -u user [-i Ip Address] [-d Device address] [-f Config filename] [-l Log file] [-D Debug mode]
DESCRIPTION
do_auth is a python program written to work as an authorization script for tacacs to allow greater flexability in tacacs authentication.
It allows a user to be part of many predefined groups that can allow different access to different devices based on ip, user, and source
address.
Groups are assigned to users in the [users] section. A user must be assigned to one or more groups, one per line. Groups are defined in
brackets, but can be any name. Each group can have up to 6 options as defined below.
host_deny Deny any user coming from this host. Optional.
host_allow Allow users from this range. Mandatory with -i.
device_deny Deny any device with this IP. Optional.
device_permit Allow this range. Mandatory if -d is specified.
command_deny Deny these commands. Optional.
command_permit Allow these commands. Mandatory.
The options are parsed in order till a match is found. Obviously, for login, the commands section is not parsed. If a match is not found,
or a deny is found, we move on to the next group. At the end, we have an implicit deny if no groups match. All tacacs keys passed on
login to do_auth are returned. (except cmd*) It is possible to modify them, but I haven't implemented this yet as I don't need it.
Future versions may have an av_pair & append_av_pair option.
OPTIONS -u Username. Mandatory. $user
-i Ip address of user. Optional. If not specified, all host_ entries are ignored and can be omitted. $address
-d Device address. Optional. If not specified, all device_ entries are ignored and can be omitted. $name
-f Config Filename. Default is do_auth.ini.
-l Logfile. Default is log.txt.
-D Activate debug mode.
EXAMPLES
do_auth -i $address -u $user -d $name -l /var/log/do_auth.log -f /etc/tacacs+/do_auth.ini
EXIT STATUS
do_auth returns 0 to allow, 1 to deny authorization.
AUTHOR
Henry-Nicolas Tourneur from the do_auth file written by Dan Schmidt.
SEE ALSO tac_plus(8), tac_plus.conf(5)version 1.2 February 27, 2010 do_auth(8)