[thelist] SSL: port 80 to 443 redirects
Daniel J. Cody
djc at starkmedia.com
Wed Mar 28 15:13:52 CST 2001
Hi Emma -
"Herrick, Emma" wrote:
> I tried putting an .htaccess file in my web directory with the following:
> Redirect test.html https://my.domain.com/test.html
use Redirect /test.html https://foo.com/whatever
note the preceding slash..
> but it didn't work. Looking in the redhat documentation I'm supposed to have
> an AccessFileName directive in my httpd.conf file which specifies to use
> .htaccess for access control but that stanza (AccessFileName) doesn't exist.
> Any ideas? I didn't want to mess around too much with the config. file
> before I solicited advice!
its a simple change actually.. just add the line
AccessFileName .htaccess
anywhere in your httpd.conf file and you should be good to go :)
.djc.
More information about the thelist
mailing list