Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th July 2006, 17:47
Esuk Esuk is offline
Junior Member
 
Join Date: Jul 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default problems with https and subdirectories

I've set up ISPConfig on Centos 4.3 following the "perfect setup" guide.

The page I'm currently hosting has a shop on it and needs SSL enabled to be able to use creditcart payments. My problem is that when I access my page with https://www.example.com I get to the firstpage https is active and everything seems ok but when I click on a url on the first page for example https://www.example.com/shoppingcart/view.php I can se the page but it's not encrypted anymore, it seems like it's breaking out of SSL.

This only applies when I want to view a page located in a subdirectory of the page, if I for example follows a url to https://www.example.com/test.php it's working just fine.

What can I do to fix this issue?
Reply With Quote
Sponsored Links
  #2  
Old 10th July 2006, 11:26
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,773
Thanks: 840
Thanked 5,610 Times in 4,421 Posts
Default

This problem is related to the links in your shop script and not to SSL in ISPConfig.

Please check your shop software, if there is a config file for the software, make sure you set the URL in the config file to https://www.example.com instead of http://www.example.com.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 10th July 2006, 12:18
Esuk Esuk is offline
Junior Member
 
Join Date: Jul 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm not using a shopping software, I'm using one that I've done myself and it doesn't have any setup to use http or https.

I've made some more tests and it doesn't matter if I follow a link or go directly to a subdirectory the https breaks out anyway.

The only place where https is working is on the files in the document_root dir for the user.
Reply With Quote
  #4  
Old 10th July 2006, 13:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Please check the sources of your application. There must be something that redirects you to http instead of https.
__________________
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
  #5  
Old 10th July 2006, 14:53
Esuk Esuk is offline
Junior Member
 
Join Date: Jul 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I've decided to change my shopping system a bit instead.

My intensions is to host more then one shop on my server and since it's expensive getting an IP adress for each customer my plan is to setup on SSL domain on the site and then handle all the creditcard payments from that URL instead.

I got some problems doing it tho.
I unchecked SSL for my example.com site and then created another site in ISPconfig with the name and urd, secure.esuk.se and selected SSL for that site instead but SSL isn't working for the new site that I added.

I checked my Vhosts_ispcondig.conf file and ISPConf hasn't created the SSL part for the new site.

http://secure.esuk.se/merprylar.php <-- Working
https://secure.esuk.se/merprylar.php <--- isn't working

Any idea what I shall do?
Reply With Quote
  #6  
Old 10th July 2006, 14:59
Esuk Esuk is offline
Junior Member
 
Join Date: Jul 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Nevermind, I forgot to click "create certificate"
Reply With Quote
Reply

Bookmarks

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


All times are GMT +2. The time now is 12:24.


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