#1  
Old 12th February 2011, 14:10
talkingnews talkingnews is offline
Member
 
Join Date: Jan 2011
Posts: 65
Thanks: 15
Thanked 5 Times in 5 Posts
Default SSL same document root?

Ispconfig 3, Ubuntu 10.10 apache2 suPHP.

My old ISP used to just allow http://example.com/file and https://example.com/file

For some reason sites created on my vps in ispconfig seem to have a different document root, even when made ssl afterwards. I tried copying the :443 vhost directive into the main vhost file pointing to the same doc root but it didn't like that.

I think I'm missing something embarrassingly basic here. I can't think of any possible reason anyone would ever want a complete copy of their site in a separate ssl folder, so what am I doing wrong here? Thanks!
Reply With Quote
Sponsored Links
  #2  
Old 13th February 2011, 19:48
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Did you check the SSL checkbox for the example.com web, or did you create a new vhost for https://example.com in ISPConfig?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 13th February 2011, 20:15
talkingnews talkingnews is offline
Member
 
Join Date: Jan 2011
Posts: 65
Thanks: 15
Thanked 5 Times in 5 Posts
Default

Quote:
Originally Posted by falko View Post
Did you check the SSL checkbox for the example.com web, or did you create a new vhost for https://example.com in ISPConfig?
I ticked the SSL checkbox in the site I had created, after realising a few pages of it should probably be SSL.

So it was "create site in non-ssl mode, write site, tick ssl box".

What I definitely DON'T want is two subdirectories, one SSL and one NON-ssl.

Crap, I just thought - what if I symlink the two? Gonna try that first thing tomorrow. (Getting sleepy now, bound to mess it up!)

Will let you know what happens, unless anyone says "bad idea" or suggests an alternative in the next 12 hours!

Last edited by talkingnews; 13th February 2011 at 21:34. Reason: Added info
Reply With Quote
Reply

Bookmarks

Tags
apache 2, ssl

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Flash Player (version 10.0r22) did not load bobwdn HOWTO-Related Questions 10 11th September 2011 11:08
apache log issues abubin General 13 1st August 2010 17:47
automatic webmail link admins Installation/Configuration 16 22nd June 2009 16:42
Setting up a new server - Suse 11.1 londonman Server Operation 34 10th April 2009 13:16
Postfix email server problems Access denied 554 554 5.7.1 state 14 AceRimmer Server Operation 4 19th June 2008 14:36


All times are GMT +2. The time now is 01:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.