| Re: How do I set a xoops module under a shared SSL |
| by nekro on 2006/10/6 3:23:49 I think that you should hack the links to your module and in the link redirect put -> https://somewhereunderssl.com and in somewhereunderssl.com site should be installed my hack not in the primary. Luck! |
| Re: How do I set a xoops module under a shared SSL |
| by maxima on 2006/10/5 22:28:00 I don't have a SSL certificate for my domain. I use the server's certificate which is https:/ /pro12.server21.com/username The change your hack suggests for mainfile.php only allows for my current URL to be defined. I need to place a second define which will present the server's Shared SSL so when the page to be secured is called then the secured define will be read. Right now when the page to secure is called the hack is placing the https: before my domain which is the right process but there is no SSL associated with my domain so I get a 404 error. Just want to know how I would add the additinal URL define. |
| Re: How do I set a xoops module under a shared SSL |
| by nekro on 2006/10/5 22:15:26 i really dont understand what you are speaking about. Please describe better your problem |
| Re: How do I set a xoops module under a shared SSL |
| by maxima on 2006/10/5 22:07:55 thanks nekor your method is logical. Since I am using a shared SSL though which has a different URL shouldn't I set up an optional define? Something like Quote: define('HTTP_SERVER', 'http://myurl.com'); When I do try to use the hack you present I get a error page which is correct since only my URL is defined. I would try to an additional define but I don't know where to start. How can I add this additional URL. |
| Re: How do I set a xoops module under a shared SSL |
| by nekro on 2006/10/5 15:38:06 Once i posted a hack to implement SSL in all the XOOPS site --> https://xoops.org/modules/newbb/viewtopic.php?topic_id=51459&forum=14&post_id=227027#forumpost227027 I think that in your case you shouldn t change the header.php and you should put in every page you want to change, the next code. le="color: #000000"><?php if ( !$_SERVER["HTTPS"] && array_search( $_SERVER["REQUEST_URI"] , $secure_page ) != false ){ header("Location: https://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]); }
|