> On Thu, Feb 01, 2001 at 04:29:09PM -0800, Michael Conley wrote:
> > I have several PHP files that I only want users to be able to access via
> > HTTPS.

One way is to place these files only where the https server can see them.


heres an example:
<IfDefine SSL>
.....
.....
<VirtualHost x.x.x.x:443>

DocumentRoot "/secure/secure_dir1"
ServerName server.xxx.net
....
</VirtualHost>


Of course if your non secure server knows about /secure/ its still possible
for someone to see them. In this example use diff doc_roots.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to