On 03-Apr-2003/16:55 -0800, Chris <[EMAIL PROTECTED]> wrote: >Does anyone know of a simple way (maybe using .htaccess?) to force all >files within a directory to be accessed only with secure https protocol >(Red Hat 7.2 + Apache)? Ie: even if someone overwrites the URL with >http, have it automatically redirect to the same URL but with https >prefix...?
This is from my personal archive of useful redhat-list messages, courtesy of Alexey Fadyushin <[EMAIL PROTECTED]>: *********************************************************************** The directive SSLRequireSSL forbids access unless HTTPS is used for the connection. You should use directive 'SSLRequireSSL' in your httpd.conf file among the configuration directives for the directory with your webpages. Also, you can use that directive in the .htaccess file in the directory with your webpages. *********************************************************************** Tony -- Anthony E. Greene <mailto:[EMAIL PROTECTED]> OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AOL/Yahoo Messenger: TonyG05 HomePage: <http://www.pobox.com/~agreene/> Linux. The choice of a GNU generation <http://www.linux.org/> -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list