Re: [users@httpd] PHP page only accessible via SSL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/5/06, P.M <pmdanger@xxxxxxxxx> wrote:
> Hi,
>
> I would like to know how can i do if i want to force user to type https://
> for a particular page.
>
> for example, i have a web page "admin.php" which should be ONLY accessible
> via SSL.
>
> if user types -->> http://admin.php, server should answer that this page
> does not exist.
> on the other hand, if user types -->> https://admin.php, so page is
> accessible and user can use this page.

You can use SSLRequireSSL:
http://httpd.apache.org/docs/2.2/mod/mod_ssl.html#sslrequiressl
and/or you can use the normal Deny statements scoped in the non-ssl
<VirtualHost>.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux