[users@httpd] htaccess help

2017-06-20 Thread Yuri Fontella
Good Evening, I'm trying to create a rule with the following scenario ... I have a server with two virtual hosts, it's the same ip. Virtual host 1 = videos Virtual host 2 = website What I need is for vh2 to access the vh1 videos but not to be able to access the videos through the vh1 url. I got

[users@httpd] .htaccess help - restricting access to certain REMOTE_host's and redirecting others to /index.html

2011-12-19 Thread Aaron Gray
Hi, I am really having problems understand and getting .htaccess mod_rewrite's to work. What I want is a site that rewrites any traffic that is not from a set number of REMOTE_HOST's or in a set of certain files to always be redirected to /index.html, whether they are in a subdirectory or subdire

Re: [users@httpd] Htaccess Help

2011-04-26 Thread Matt
> > 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.

Re: [users@httpd] Htaccess Help

2011-04-26 Thread Eric Covener
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

[users@httpd] Htaccess Help

2011-04-26 Thread Matt
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 allow anyone to access. How would I do that? ---

RE: [users@httpd] htaccess help

2005-07-04 Thread Boyle Owen
> -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

Re: [users@httpd] htaccess help

2005-07-01 Thread Michael
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

RE: [users@httpd] htaccess help

2005-07-01 Thread Boyle Owen
> -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

Re: [users@httpd] htaccess help

2005-07-01 Thread Michael
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

RE: [users@httpd] htaccess help

2005-06-30 Thread Boyle Owen
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

[users@httpd] htaccess help

2005-06-30 Thread Michael
Hey everyone I have problem with htaccess. The problem is that i put htaccess in one of my dirs on the server and when i request that dir it pops authentication window which i intendet to have but then when i type user and passw it keeps on poping authentication window. I know it does ask me

RE: [users@httpd] .htaccess help

2005-05-27 Thread Noel Stratton
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

RE: [users@httpd] .htaccess help

2005-05-27 Thread Craig Dunigan
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

Re: [users@httpd] .htaccess help

2005-05-26 Thread Davide Bianchi
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.

RE: [users@httpd] .htaccess help

2005-05-26 Thread Noel Stratton
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

Re: [users@httpd] .htaccess help

2005-05-26 Thread Aman Raheja
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

Re: [users@httpd] .htaccess help

2005-05-26 Thread dan
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

[users@httpd] .htaccess help

2005-05-26 Thread Noel Stratton
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 directory they could use the p