>
> allow from all
>
So would it be:
order allow,deny
allow from x.x.x.0/24
allow from all
Or does it matter which comes first?
-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.
On Tue, Apr 26, 2011 at 12:56 PM, Matt wrote:
> I have an .htaccess file like so.
>
> order allow,deny
>
> allow from x.x.x.0/24
>
> I have this in my root html directory and it works fine. Only allows
> access by the x.x.x.0/24 subnet. Thing is I have one file
> ~"siteinfo.html" that I want to
> -Original Message-
> From: Michael [mailto:[EMAIL PROTECTED]
> Sent: Freitag, 1. Juli 2005 16:58
> To: users@httpd.apache.org
> Subject: Re: [EMAIL PROTECTED] htaccess help
>
>
> My www root is /www/html.Then I have only one .htaccess and its in
> /www/html/admin. There is bunch of sub
My www root is /www/html.Then I have only one .htaccess and its in
/www/html/admin. There is bunch of subfolders in admin. The admin folder is
for phpMyAdmin so i think it has all necessary files included in that
folder. The only other thing i can think of is the connection to db. I
followed in
> -Original Message-
> From: Michael [mailto:[EMAIL PROTECTED]
> Sent: Freitag, 1. Juli 2005 15:28
> To: users@httpd.apache.org
> Subject: Re: [EMAIL PROTECTED] htaccess help
>
>
> The apache ver i have is Apache 2.0.40 runing on Red Hat 9.2.
> I wasnt clear enough my bad. I type in the a
The apache ver i have is Apache 2.0.40 runing on Red Hat 9.2.
I wasnt clear enough my bad. I type in the address of the folder i want to
protect in the browser. Then the wuthentication window pops up. I enter the
user and passwd info hit OK and more than half of the page loads up and
authentica
Plain text please...
Couple of possibilities:
- you have a wrong username/password: If you get it wrong the browser will pop
up the window again ad infinitum. Check carefully and remember case is
important (in fact, create a new account in the password file with user=aaa and
password=aaa - all
I am trying avoid double authentication. I want password protect my files.
PHP is not a problem. However, there will be sensitive pdf files in the
directory that I do not want someone to peek at. I have made the directory
unbrowsable, but if someone new the hyperlink they could still see the pdf
I'm a bit confused about what you want to do. I gather that you want to
password protect a directory, but do you want Apache to issue an HTTP Basic
authentication challenge (the little password box that your browser displays,
separate from the web page), or to redirect to a PHP page that will d
Noel Stratton wrote:
> Hello,
> Is there a way to have .htaccess verify username and password from a mysql
> database?
Sure, use mod_auth_mysql.
Davide
-
The official User-To-User support forum of the Apache HTTP Server Project.
I do not believe that will help. I will have php files that can be
authenticated. However, there will be some pdf files in that directory.
Basically, I am attempting to protect the directory. Does anyone know of a
way to make .htaccess point to a php login page before allowing anyone into
the d
PHP has this capability
http://us4.php.net/features.http-auth
Aman Raheja
http://www.techquotes.com
dan wrote:
Noel Stratton wrote:
Hello,
Is there a way to have .htaccess verify username and password from a
mysql
database? If not is there a way to password protect a directory with
php.
T
Noel Stratton wrote:
Hello,
Is there a way to have .htaccess verify username and password from a mysql
database? If not is there a way to password protect a directory with php.
The reason I ask is that I would like if a user changes their password via
php that when the users accesses the directo
13 matches
Mail list logo