[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Blocking http for just one directory?
James Wallbank wrote:
> I'd like to stop access to this directory on port 80 - so people can
> view the rest of the website WITHOUT having to use https, but people
> using the control panel HAVE TO use https.
Hi James
I think putting the following in the port 80 vhost config but not the
port 443 vhost config will do the job. It should redirect requests to
anything within the panel directory to the same place on https
Redirect /panel https://www.domain.com/panel
Gary
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.