RE: Files only available via HTTPS
| From: | Ayan R. Kayal | Date: | Fri, 02 Feb 2001 21:11:24 +0000 |
| Subject: | RE: Files only available via HTTPS | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-37901@lists.php.net to get a copy of this message | ||
Add this to httpd.conf:
<Directory "[directory path here]">
SSLRequireSSL
</Directory>
O- ~ARK
CFO, Hmedicine.com, Inc.
> -----Original Message-----
> From: Michael Conley [mailto:mconley@RentHistory.com]
> Sent: Thursday, February 01, 2001 7:29 PM
>
> I have several PHP files that I only want users to be able to access via
> HTTPS. How can I control that on an Apache 1.3.14 server running
> on RedHat
> 7? I have openssl and mod_ssl working fine. Currently, I can
> access all of
> the files on my site via either http or https. I want to keep
> certain files
> (with interesting information) from being accessed via http. I
> realize this
> isn't really a PHP question, but I have no idea how to do this.