Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 09, 2012, 05:36:26 PM

Pages: [1]   Go Down
  Print  
Author Topic: Shared SSL Not working.  (Read 1518 times)
RickJ
Über Jedi
*****
Offline Offline

Posts: 2740



« on: May 25, 2010, 07:22:05 AM »

I'm trying the shared ssl and it's not working.

Here is the page:
https://secure.libra.lunarpages.com/~werent2/payment1.html

I used to use the paid SSL and it worked fine.

Now that I'm using the shared ssl link (which is what Tech Support gave me), users are getting the following error message:

NOT FOUND
The requested URL /cgi-bin/nmspmt.pl was not found on the server.

nmspmt.pl IS on the server.  It's the same .pl file that I've always used.  I've verified that it is still there.

Is this something that I can fix? ... or do I need to call Tech Support?

Thanks!

Rick.
Logged

Rick.
Trying to daydream, but my mind keeps wandering.
MrPhil
Berserker Poster
*****
Offline Offline

Posts: 5083



« Reply #1 on: May 25, 2010, 08:38:00 AM »

Are you invoking nmspmt.pl any differently than you used to? Did you used to invoke it as "perl <name>" and now you're just giving it "<name>"? If so, check that its permissions are 755 and the "shebang" line (first line) points to the correct Perl binary.

IIRC, the shared SSL certificate doesn't work with PHP (?). Is there any PHP at any step of the process here? Your cgi-bin/ directory is 755 permissions, and directly under public_html/ (in the site root)?

You might double-check that "secure" is needed in the domain name... is that a recent change for using https, or has it been that way all along? If you're getting into your site OK, I guess it's correct... Anything internal to your site, where it's still giving an old domain name or path that you've failed to update?

If all of that checks out OK, I can't help any more!
Logged

RickJ
Über Jedi
*****
Offline Offline

Posts: 2740



« Reply #2 on: May 25, 2010, 08:52:25 AM »

See my red replies to your questions/comments:

Are you invoking nmspmt.pl any differently than you used to? Did you used to invoke it as "perl <name>" and now you're just giving it "<name>"? If so, check that its permissions are 755 and the "shebang" line (first line) points to the correct Perl binary.
I have not changed anything.  I used to have the paid SSL for the page and everything worked fine for many years.  My SSL expired and I did not renew in time so I called Tech Support and they told me that everything should work fine if I use the link above.

IIRC, the shared SSL certificate doesn't work with PHP (?). Is there any PHP at any step of the process here? Your cgi-bin/ directory is 755 permissions, and directly under public_html/ (in the site root)?
I'm not sure what you are asking or suggesting about IIRC and/or PHP.  Again, I have not changed anything except for the link that people go to.  They used to (when I had the paid SSL) go to https://www.werentcolumbus.com/payment1.html and now, with the shared ssl, I changed the links to the page to point to what I gave in my opening post.

You might double-check that "secure" is needed in the domain name... is that a recent change for using https, or has it been that way all along? If you're getting into your site OK, I guess it's correct... Anything internal to your site, where it's still giving an old domain name or path that you've failed to update?

I just used the link that Tech Support gave me, so if "secure" is or is not needed, then I can only call Tech Support to confirm it... which is what I was initially wondering.  So maybe I should call Tech Support again?

If all of that checks out OK, I can't help any more!

Thank you, Mr. Phil.  If anyone else has any other suggestions before I call Tech. Support, I'll appreciate it.

Thank you.
Logged

Rick.
Trying to daydream, but my mind keeps wandering.
MrPhil
Berserker Poster
*****
Offline Offline

Posts: 5083



« Reply #3 on: May 25, 2010, 09:23:41 AM »

See my red replies to your questions/comments:

IIRC, the shared SSL certificate doesn't work with PHP (?). Is there any PHP at any step of the process here? Your cgi-bin/ directory is 755 permissions, and directly under public_html/ (in the site root)?
I'm not sure what you are asking or suggesting about IIRC and/or PHP.  Again, I have not changed anything except for the link that people go to.  They used to (when I had the paid SSL) go to https://www.werentcolumbus.com/payment1.html and now, with the shared ssl, I changed the links to the page to point to what I gave in my opening post.
IIRC = "If I Recall Correctly". I'm not sure, but I think you can't use PHP code with a shared SSL certificate. I was asking if you have PHP code on your site.

I tried your page and indeed, it refuses on form "Submit" to go to /cgi-bin/nmspmt.pl. If that's the exact same code you used before, and it worked, I don't know why it wouldn't still work. It says 404 (not found), so apparently it's not even getting to the Perl script (permissions and shebang line are irrelevant at this point). Presumably, your site "root" / under SSL is the same as when not under SSL, but that's something you might have to clear up with Support. Just for grins, you might try action="https://secure.....nt/cgi-bin/nmspmt.pl" (and also action="cgi-bin/nmspmt.pl") and see if it makes any difference. If it works then, it sounds like "root" is different under the two access methods!
« Last Edit: May 25, 2010, 09:26:26 AM by MrPhil » Logged

katrina1
Guest
« Reply #4 on: May 25, 2010, 09:38:41 PM »

Our shared SSL url has changed. It would now be https://libra.lunarpages.com/~werent2/payment1.html We no longer use the "secure" part in it.
Logged
RickJ
Über Jedi
*****
Offline Offline

Posts: 2740



« Reply #5 on: May 26, 2010, 09:57:39 AM »

Apparently Tech support does not know that yet.  I spent an hour on the line with Ryan yesterday - and 20 minutes today with Zack.  In both cases, they could not correct the issue, so I'm waiting for their next response on the ticket.

In the meantime I'll try the link that you have suggested.

If it helps to know, here is Tommy Wong's response to the ticket that Ryan created:

At this time the submit button is attempting to load a non-existing URL. You will have to update the submit button action to the full URL of the nmspmt.pl script using the https://secure.libra.lunarpages.com/~werent2/ syntax instead of simply "/cgi-bin/nmspmt.pl".

Based on that response I changed the Action from /cgi-bin/nmspmt.pl
to
https://secure.libra.lunarpages.com/~werent2/
That did not work.

I then tried https://secure.libra.lunarpages.com/~werent2/cgi-bin/nmspmt.pl
that did not work either.

...so if I change the link to the shared ssl page as you suggest above, then should I return the action to what it was before, which was simply /cgi-bin/nmspmt.pl
?

Thank you, Katrina.

« Last Edit: May 26, 2010, 09:59:59 AM by RickJ » Logged

Rick.
Trying to daydream, but my mind keeps wandering.
RickJ
Über Jedi
*****
Offline Offline

Posts: 2740



« Reply #6 on: May 28, 2010, 03:36:49 AM »

Thanks to Richard and Katrina in Tech Support.

When I initially considered using the shared SSL, I was told that all I would have to change is the link that points to the page.  After learning that this was not the case, I was completely lost as to what they were suggesting.

Richard and Katrina helped immensely.

Thank you!
Logged

Rick.
Trying to daydream, but my mind keeps wandering.
Pages: [1]   Go Up
  Print  
 
Jump to: