www.uburst.com www.uburst.com

"The referring page did not meet security requirements"

Go back to the LobbyClick here to Go Back to Main ListingClick here to see helpClick here to Search the Forum

CGI Script Related Problems
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"The referring page did not meet security requirements"
Posted by tomphillipspcs on Mar-23-01 at 03:58 PM (EST)
I get the following message when logging into ushop.pl for the first time - any ideas why?

The referring page did not meet security requirements

Tom

Click to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

Referring Page Does Not Meet Securi..., Christine, Mar-23-01, (1)
RE: The referring page did not meet..., Bill Weiner, Mar-23-01, (2)
Sub Domain Names, Preusser, Aug-16-01, (3)
RE: Sub Domain Names, Bill Weiner, Aug-17-01, (4)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "Referring Page Does Not Meet Security Requirements"
Posted by Christine on Mar-23-01 at 04:39 PM (EST)
Usually this happens when the script_url parameter of your uShopOrderButton applet is not set to your secure URL.

For example, you might be specifying:

PARAM NAME="script_url" VALUE="http://mywebsite.com/cgi-bin/ushop.pl"

instead of your secure URL:

PARAM NAME="script_url" VALUE="https://www.mysecuresite.com/mywebsite/cgi-bin/ushop.pl"

See if that is where the problem is.

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
2 . "RE: The referring page did not meet security requirements"
Posted by Bill Weiner on Mar-23-01 at 06:06 PM (EST)
When logging in to the uShop Control Panel, make sure you try doing so from the URL that you specified in configuration question #4 of the ushop.pl script (the $secure_script_url setting).
Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
3 . "Sub Domain Names"
Posted by Preusser on Aug-16-01 at 08:16 AM (EST)
I have one main domain name and additional sub domain names which all will guide to my main domain.
When a customer comes to my online store via the main domain name, the order placement works correctly.
When a customer comes to my online store via a sub domain name, the message "The referring page ..." appears.
I think the reason is the same as already mentioned here - the URL given in the ushop.pl is my main domain name and so the CGI-script does not accept requests from the sub domain names.
Is there any possibility to solve this problem?

Best regards,

Rainer

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
4 . "RE: Sub Domain Names"
Posted by Bill Weiner on Aug-17-01 at 05:25 AM (EST)
There are two ways to resolve that problem and allow people to link to your uShop CGI script from different domains.

OPTION 1: The easiest option is to just turn "Page Validation" off (from the uShop Control Panel under GENERAL SETTINGS - MISCELLANEOUS). The only risk that gets introduced by turning Page Validation "OFF" is the chance that technically someone could save your store's HTML pages on their local computer, change the prices, and then submit the order from their local computer. For smaller stores, this is typically not an issue since the storeowner would recognize the price changes... but for larger stores with many items, it may be difficult for the storeowner to recognize if the prices of any items have been modified.


OPTION 2: The other option is to modify the uShop CGI script to all links from a specific list of URLS.... as per the instructions below:

STEP 1: Make a backup of your current ushop-lib.pl script... just in case.

STEP 2: Open your ushop-lib.pl script with any text editor such as WordPad.

STEP 3: Do a search on the following line (in order to get to the start of the subroutine that validates the referrer:

sub validate_referral_page

STEP 4: Locate the following two lines in that subroutine:

if ((!($referrer_string =~ /$expected_referrer/i)) XX
($referrer_string =~ /^file/i))

STEP 5: Replace those two lines with something like these 8 lines:

$domain2 = 'domain2.com';
$domain3 = 'domain3.com';
$domain4 = 'domain4.com';

if ((!($referrer_string =~ /$expected_referrer/i)) XX
(!($referrer_string =~ /$domain2/i)) XX
(!($referrer_string =~ /$domain3/i)) XX
(!($referrer_string =~ /$domain4/i)) XX
($referrer_string =~ /^file/i))

STEP 6: Save the file (as TEXT if your editor asks)... and try it out!

NOTE: Vertical bars (or pipe) characters do not show up correctly in this forum, so be sure to use vertical bars instead of the XX.

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents


Archive This Thread: Admin and Moderator OnlyRemove This Thread: Admin and Moderator Only
Click here to goto Click here to goto the Lobby

 

 

 

 

 

 

 

 

 

 

 

 
Questions or problems regarding this bulletin board should be directed to Webmaster
©1997-1999 by DCScripts. All rights reserved.