ecroskey Posted January 18, 2005 Posted January 18, 2005 Hi All, I have set up OSC before with great success, but not this time. I have moved my site from a shared server to my own box, hosted in my own building. I have everything setup the way I had it before, I set the last box up for my friends so I know it was working and how it worked, but now I am having trouble. My new box has only one domain on it. In the httpd.conf file I have the ServerName set, and my virtual host is setup correctly. I have used apachectl startssl to get that going. But the problem is: I cannot access any https:// addresses. If I turn my configure.php files to Use Https false, I can see both sides of the site using http (by both sides I mean create an account, login etc.) But once I set use https to true, everything craps out and I get a 404. I have been starring at this for three days now and I am getting a little :angry: ticked. Anyone have any ideas on what I could be missing? Regards, Eric
boxtel Posted January 19, 2005 Posted January 19, 2005 Hi All, I have set up OSC before with great success, but not this time. I have moved my site from a shared server to my own box, hosted in my own building. I have everything setup the way I had it before, I set the last box up for my friends so I know it was working and how it worked, but now I am having trouble. My new box has only one domain on it. In the httpd.conf file I have the ServerName set, and my virtual host is setup correctly. I have used apachectl startssl to get that going. But the problem is: I cannot access any https:// addresses. If I turn my configure.php files to Use Https false, I can see both sides of the site using http (by both sides I mean create an account, login etc.) But once I set use https to true, everything craps out and I get a 404. I have been starring at this for three days now and I am getting a little :angry: ticked. Anyone have any ideas on what I could be missing? Regards, Eric <{POST_SNAPBACK}> set your configure.php files ? Treasurer MFC
red_fraggle Posted January 19, 2005 Posted January 19, 2005 Did you switch to a Plesk server or a Cpanel Server? If on plesk you need to either copy all your files from /httpdocs to /httpsdocs OR perform a symlink on those two directories so that one set of files is on both sides. If on Cpanel, you need to set up SSL on the domain using WHM.
Guest Posted February 15, 2005 Posted February 15, 2005 Hi All, I have set up OSC before with great success, but not this time. I have moved my site from a shared server to my own box, hosted in my own building. I have everything setup the way I had it before, I set the last box up for my friends so I know it was working and how it worked, but now I am having trouble. My new box has only one domain on it. In the httpd.conf file I have the ServerName set, and my virtual host is setup correctly. I have used apachectl startssl to get that going. But the problem is: I cannot access any https:// addresses. If I turn my configure.php files to Use Https false, I can see both sides of the site using http (by both sides I mean create an account, login etc.) But once I set use https to true, everything craps out and I get a 404. I have been starring at this for three days now and I am getting a little :angry: ticked. Anyone have any ideas on what I could be missing? Regards, Eric <{POST_SNAPBACK}> I got same problem... I can access https from the server pc but cannot from client pc... when i click 'my account' i got pop message "Connection refuse when attempting to contact mydomain.com"... I have enable ssl from my configure.php.. It's seem like my https pages do not exist.. please help me..
boxtel Posted February 15, 2005 Posted February 15, 2005 I got same problem... I can access https from the server pc but cannot from client pc... when i click 'my account' i got pop message "Connection refuse when attempting to contact mydomain.com"... I have enable ssl from my configure.php.. It's seem like my https pages do not exist.. please help me.. <{POST_SNAPBACK}> You installed an SSL certificate and SSL virtual host on your server ? Treasurer MFC
Guest Posted February 15, 2005 Posted February 15, 2005 You installed an SSL certificate and SSL virtual host on your server ? <{POST_SNAPBACK}> i don't have real ssl certificate for this moment... but I have configured apache with openssl and modssl... that's mean i'm using temporary certificate...right?... from the server.. i can access page use https..but cannot from client pc... this is from my configure.php: define('HTTP_SERVER', 'http://mydomain.com'); define('HTTPS_SERVER', 'https://mydomain.com'); define('ENABLE_SSL', 'true');
Guest Posted February 15, 2005 Posted February 15, 2005 ...and this my virtual host from httpd.conf DocumentRoot "/usr/local/apache/htdocs" ServerName mydomain.com ServerAdmin [email protected] ErrorLog /usr/local/apache/logs/error_log TransferLog /usr/local/apache/logs/access_log
boxtel Posted February 15, 2005 Posted February 15, 2005 i don't have real ssl certificate for this moment... but I have configured apache with openssl and modssl... that's mean i'm using temporary certificate...right?... from the server.. i can access page use https..but cannot from client pc... this is from my configure.php: define('HTTP_SERVER', 'http://mydomain.com'); define('HTTPS_SERVER', 'https://mydomain.com'); define('ENABLE_SSL', 'true'); <{POST_SNAPBACK}> so you have made your own certificate and key files and referenced them in your SSL (443) virtual host in httpd.conf ? Treasurer MFC
Guest Posted February 15, 2005 Posted February 15, 2005 so you have made your own certificate and key files and referenced them in your SSL (443) virtual host in httpd.conf ? <{POST_SNAPBACK}> Yup.. i have reference them in my ssl virtual host in my httpd.conf... Can you u give me any posible reason... why it happened? I don't think it's because my configure.php...
boxtel Posted February 15, 2005 Posted February 15, 2005 ...and this my virtual host from httpd.confDocumentRoot "/usr/local/apache/htdocs" ServerName mydomain.com ServerAdmin [email protected] ErrorLog /usr/local/apache/logs/error_log TransferLog /usr/local/apache/logs/access_log <{POST_SNAPBACK}> you need a little bit more than this to setup and SSL virtual host on port 443. Treasurer MFC
Recommended Posts
Archived
This topic is now archived and is closed to further replies.