httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject Re: [users@httpd] PHP page only accessible via SSL
Date Wed, 05 Apr 2006 14:48:54 GMT
On 4/5/06, P.M <> 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:
and/or you can use the normal Deny statements scoped in the non-ssl


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message