You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by John Mitchell <mi...@gmail.com> on 2012/05/30 02:24:33 UTC

[users@httpd] Is it possible to make only one page on a website under Apache password protected without affecting all the other pages.

Is it possible to make only one page on a website under Apache password
protected without affecting all the other pages.  If possible what is the
simplest way to implement this capability.

Thanks,

John Mitchell

Re: [users@httpd] Is it possible to make only one page on a website under Apache password protected without affecting all the other pages.

Posted by Darryle Steplight <ds...@gmail.com>.
<Directory> is great if you want to protect a directory but <Files>
is better if you want to protect a file or group of files.

On Tue, May 29, 2012 at 8:33 PM, Bill Unruh <un...@physics.ubc.ca> wrote:
> .htaccess
>
> <Directory> commands
>
> http://httpd.apache.org/docs/2.0/howto/htaccess.html
>
>
> On Tue, 29 May 2012, John Mitchell wrote:
>
>> Is it possible to make only one page on a website under Apache password
>> protected without affecting all the other pages.  If possible what is the
>> simplest way to implement this capability.
>>
>> Thanks,
>>
>> John Mitchell
>>
>
> --
> William G. Unruh   |  Canadian Institute for|     Tel: +1(604)822-3273
> Physics&Astronomy  |     Advanced Research  |     Fax: +1(604)822-5324
> UBC, Vancouver,BC  |   Program in Cosmology |     unruh@physics.ubc.ca
> Canada V6T 1Z1     |      and Gravity       |  www.theory.physics.ubc.ca/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>



-- 
----------------------------------------------
"May the Source be with you."

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Is it possible to make only one page on a website under Apache password protected without affecting all the other pages.

Posted by Bill Unruh <un...@physics.ubc.ca>.
.htaccess

<Directory> commands

http://httpd.apache.org/docs/2.0/howto/htaccess.html

On Tue, 29 May 2012, John Mitchell wrote:

> Is it possible to make only one page on a website under Apache password
> protected without affecting all the other pages.  If possible what is the
> simplest way to implement this capability.
>
> Thanks,
>
> John Mitchell
>

-- 
William G. Unruh   |  Canadian Institute for|     Tel: +1(604)822-3273
Physics&Astronomy  |     Advanced Research  |     Fax: +1(604)822-5324
UBC, Vancouver,BC  |   Program in Cosmology |     unruh@physics.ubc.ca
Canada V6T 1Z1     |      and Gravity       |  www.theory.physics.ubc.ca/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Is it possible to make only one page on a website under Apache password protected without affecting all the other pages.

Posted by Darryle Steplight <ds...@gmail.com>.
This is what you are looking for....

http://webdesign.about.com/od/htaccess/ht/password_1_file.htm

On Tue, May 29, 2012 at 8:24 PM, John Mitchell <mi...@gmail.com> wrote:
> Is it possible to make only one page on a website under Apache password
> protected without affecting all the other pages.  If possible what is the
> simplest way to implement this capability.
>
> Thanks,
>
> John Mitchell



-- 
----------------------------------------------
"May the Source be with you."

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org