On 4/5/06, P.M <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to