revDAVE wrote:
GOAL : no one will be able to get to HTTPS directory VIA HTTP.....

So I make this little tester page that seems to work.... Later I'll add auto
redirect.... Is this the kind of thing to add to various pages? Is there a
better way to do this?

I do a separate document root for secure content, and use a separate sub domain (though that isn't required).

They way only content in the secure document root is served via https and content outside the secure domain never is served via https.

I do listen on port 80 of the secure subdomain - but it forwards to the http site:

<VirtualHost *:80>
RewriteEngine On
RewriteRule ^(.*)$ [R]

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to