[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Force SSL connections on RaQ3



On Mon, 30 Oct 2000, Jeff Lasman wrote:

> Markus Wolff wrote:
> 
> > However, I do not want anyone to be able to view the site without using
> > SSL.
> > 
> > Is there a way to achieve this?
> 
> Since I'm not currently set up for secure sites on my RaQ3 I'm answering
> with general knowledge rather than RaQ-specific knowledge, so if anyone
> has a better idea, please feel free to chime in...
> 
> The secure and insecure sites are different virtual sites.  Just change
> the document root inside the insecure server's virtual block to point to
> a different, or even non-existent directory.
> 
> Be aware that if you change any SSL or site settings for the site, this
> might very well change back and you'd have to re-change it.
1 easy way is to install PHP3 on the machine and actually check in the
beginning of all scripts if it was started using https or http...

This could be done using perl aswell! :)

Best regards,

Rickard Osser
Manager
-----------------------------------------------------------------------
|Osser Lindist AB		Distributor of Cobalt Networks servers|
-----------------------------------------------------------------------
|Osser Brosoft AB		Computer Consultants                  |
-----------------------------------------------------------------------
|Maria Bangata 6		S-118 63 Stockholm, Sweden 	      |
|Tel: +46-8-798 29 27		E-mail: ricky@xxxxxxxx		      |
|Fax: +46-8-668 89 10		http://www.lindist.com   	      |
-----------------------------------------------------------------------