https://www Installation problems - please help

Tryied several times with some success. I am trying to install zenphoto on ubuntu 10.04 server 64 bit, with https access only.
I have:
1. downloaded and extracted the tar.gz file to the /var/www directory
2. modified zp-config.php.source to include the mysql credentials and set $conf['server_protocol'] = "https"
3. saved zp-config.php.source as ~/zp-data/zp-data
4. created the mysql database as appropirate
5. browsed to https://mydomain/zenphoto/zp-core/setup.php
6. create the htaccess file
7. ignore the warnings about loose permission settings
8. hit "GO"
9. delete setup files
10. set admin username and password

If I access the gallery via http://mydomain/zenphoto the browser is sent to https://mydomain/zenphoto without a problem;
But if I access the gallery via http://www.mydomain/zenphoto then I get a page saying "setup scripts missing".

How do I get the http://www page to forward to https://www page?

Thanks

Comments

  • The typical problem with using http and https is that the server configurations differ with respect to things like the server admin. Most likely this is your issue. Be sure that the reported SERVER_ADMIN is the same when you are using http and https. [It baffles me as to why servers get configured with different http and https admins, but seems a common occurance.]
  • I checked the apache directives and the ServerAdmin is set as the same for both port 80 and port 433. I don't have any virtual hosts set up.

    I have tried reinstalling ZP but with the same problem
  • acrylian Administrator, Developer
    Are the http/https://www.yourdomain.com variants both defined? On my server the https and http version are treatened like totally different domains if not set otherwise (similar to the www. and non www addresses).
  • ok now works - I had to add the www. domain as an additional virtual server
Sign In or Register to comment.