Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
4 + 6 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

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');
define('HTTPS_SERVER', 'https://ssl.server.com/me');


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"]); }

Who's Online

169 user(s) are online (139 user(s) are browsing Support Forums)


Members: 0


Guests: 169


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits