Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Hugh Fox on January 29, 2002, 07:56:22 AM

Title: Add new SSL only virtual host / ibay
Post by: Hugh Fox on January 29, 2002, 07:56:22 AM
I want to add a page similat to the one SME generates when you try to access SSL only webmail via the standard http://....

I have created an ibay "estore",
I have created a virtual host "estore.drcauto.com" which points to the ibay above.
I have installed a secure cert, and can access https://estore.drcauto.com without a problem.

Now I want to force people to only access this ibay by SSL. In other words http://estore.drcauto.com brings up a page which says to "click here" to enter the SECURE store.

In /etc/httpd/conf/httpd.conf there is a line:

    Alias       /webmail /home/httpd/html/horde/imp/SSLonly

In my case I want to add

    Alias      /estore /home/e-smith/files/ibays/estore/html/SSLonly

In order to do this I need to create a custom template, but _exactly_ where it should be, what it should be called, and what should be in it is above my capabilities.

Could anyone assist me?

Regards,

Hugh Fox
Sales Director
www.drcauto.com
Title: Re: Add new SSL only virtual host / ibay
Post by: Tyrone Miles on January 30, 2002, 09:32:51 AM
I do not know how to do that in e-smith, but I can tell you want I do to get around that. I use webforwards from my DNS service.

So if I have a share http://.teesco.com/store that can be accessed by https://teesco.com/store
What I do is in my webforward option I make a link like http://store.teesco.com that points only to the URL https://teesco.com/store. Then I only give out the http://store.teesco.com

(Also I use the cloak feature in my DNS that hides the actual URL so people never know what's in the backround.)
 
It seems to work for me fine.   And I get people to go where I want with out screwing with files and crap like that.

I hope this helps? :-(
Title: Re: Add new SSL only virtual host / ibay
Post by: Rangi Biddle on January 30, 2002, 12:26:28 PM
Hey guys,

The easiest thing I can think of to get it to work without too much configuring and fiddling with other pieces of information is to create an index.html or index.php file in the primary html folder and have it redirect to the secure (https) website address.

I hope this is an easy solution for you.

If you want me to email you a webpage that does this just email me at the above email addres and I'll do it for you.
Title: Re: Add new SSL only virtual host / ibay
Post by: Hugh Fox on January 31, 2002, 02:04:40 PM
Tyrone,

I tried your DNS webforward trick, but no luck with my service (zoneedit.com).

Rangi,

If you could post the html code here, then others could see that option.

Thanks, both of you for your responses.

Regards,

Hugh
Title: Re: Add new SSL only virtual host / ibay
Post by: Tyrone C. Miles on January 31, 2002, 08:19:35 PM
I use zoneedit also. And I didn't use any html to pull it off.

I just log into zoneedit and choose the domain I want to admin.

Then I choose the webforwards button to take me to that screen.

Once you get there you have an option to add a new domain and redirect it to whatever website on earth you want.
Like me I use the webmail in e-smith but I hate that stupid screen that pops up and tells youto click here and go into SSL. So what I did was made a new domain called: mail.teesco.com. Then in the next box that asks for destenation I put in:
https://www.teesco.com/webmail then cloked it so when you type in mail.teesco.com you only see that URL and you never see the https://www.teesco.com/webmail.

Try my sites mail.teesco.com, media.teesco.com, fourms.teesco.com. I am useing SSL on all of them and webforwards to have people go there.