One other thing to consider is the Rewrite
rules you can put in httpd.conf
RewriteEngine On
# Force to https
RewriteCond %{SERVER_PORT} ^443$
RewriteRule ^/admin.php
https://yourhostname/$1 [L,R]
#
inst http method, but I cannot remember the exact
variable. Check out phpinfo(); and it should give you the list at the bottom.
--Graham
-Original Message-
From: "P.M" <[EMAIL PROTECTED]>
Subj: [EMAIL PROTECTED] PHP page only accessible via SSL
Date: Wed Apr 5, 2006 8:18
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 an
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 t