problems with https and subdirectories

Discussion in 'Installation/Configuration' started by Esuk, Jul 9, 2006.

  1. Esuk

    Esuk New Member

    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 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 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 it's working just fine.

    What can I do to fix this issue?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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 instead of
  3. Esuk

    Esuk New Member

    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.
  4. falko

    falko Super Moderator ISPConfig Developer

    Please check the sources of your application. There must be something that redirects you to http instead of https.
  5. Esuk

    Esuk New Member

    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 site and then created another site in ISPconfig with the name and urd, 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. <-- Working <--- isn't working

    Any idea what I shall do?
  6. Esuk

    Esuk New Member

    Nevermind, I forgot to click "create certificate" :D

Share This Page