Re: [PHP] PHP & Apache with SSL

2001-03-11 Thread Rouvas Stathis
In .htaccess use SSLRequireSSL for AuthType Config and redirect to https using ErrorDocument. Example for www.foo.goo/sec .htacess AuthType Config SSLRequireSSL ErrorDocument 403 https://www.foo.goo/sec Options -Indexes Options directive is not neccessary but I assume that if yo

[PHP] PHP & Apache with SSL

2001-03-11 Thread Daniel B I
Hello, any idea how to limit file access (php files) by protocol type call? I mean how could I serve a php file only if it is called with SSL (https://... not http://...) I saw this on a site when I was refused because I didn't use secure protocol, and I wonder, how could I do that? Is there a spe