Skip site navigation (1)Skip section navigation (2)
Date:      04 Mar 1998 09:34:51 -0500
From:      Chris Shenton <chris@absinthe.i3inc.com>
To:        Andreas Klemm <aklemm@hightek.com>
Cc:        isp@FreeBSD.ORG
Subject:   Re: apache-ssl: encryption for documents with certain filename extension
Message-ID:  <87n2f6o777.fsf@absinthe.i3inc.com>
In-Reply-To: Andreas Klemm's message of Wed, 4 Mar 1998 12:33:18 %2B0100
References:  <19980304123318.55018@hightek.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Andreas Klemm <aklemm@hightek.com> writes:

> Is it possible, to teach apache-ssl to enable encryption, if
> you enter a document with a certain name, let's say
> 
> 	http://www.xxx.yyy/somepath/only_secure_access.htms
> 						       ^^^^
> Or is it only possible for a certain path ?
> Or ... only for a URAL using https://....

You could probably do it with a redirect or rewrite rule which maps

	http://www/foo.htms
to
	https://www/secure/foo.htms

Hummm.. I don't see why you couldn't create a v-host for some URL
which has "Security ON" (or is it "SSL ON"? I don't have access to my
secure host right now, sorry).

It might even be possible to set it up so that .htaccess insists on
SSL in a dir. I got this to work with Stronghold's Apache+SSL so it
required a client browser digital certificate for access to a dir with
the right .htaccess. Stronghold does seem to have extended the
security directives available over the Apache, last I looked, so this
might not be available to you.

Sorry this isn't definitive, but I've seen tricks like this used in
Stronghold to redirect http: requests to a "localhost" virtual which
ran the GUI web administrator...

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87n2f6o777.fsf>