RF Generation.  The Classic and Modern Gaming Databases.RF Generation.  The Classic and Modern Gaming Databases.

New on the Blogs
Hot Community Blog Entries
Nielsen's Favorites on Channel 4
RF Generation Message Board Welcome, Guest. Please login or register.
Did you miss your activation email?
June 15, 2025, 03:44:37 PM
Home Help Search Calendar Member Map Arcade Login Register
News: RF Generation: Where we play the Power Pad with our feet, not our hands, dagnabbit!

RF Generation Message Board | Other | Idle Chatter | Java script question 0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 [2] Print
Author Topic: Java script question  (Read 4730 times)
Hydrobond
+5 Insightful
PlayStation
****
United States
Posts: 2728


WWW Stats
« Reply #15 on: March 23, 2006, 11:52:58 AM »

Quote
the energizer and cmgestore urls are both alias's that point to same IP address. could that be the problem?


I don't think there is a problem with that. I can access all three pages in question independantly, which wouldn't happen if there was an IP issue.
Logged

I never proofread before hitting the submit button, this is why every single one of my posts has been edited in the first minute after being submitted.
den68
loves White Castle!
DB Contributor
***
Posts: 5746


 Stats
« Reply #16 on: March 23, 2006, 12:02:40 PM »

cmgestore is our webserver.

all the stores on it can be reached when including the /and 4 digit program ID.

so cmgestore.com/eng2 goes to the energizer site.

we created the alias energizerbunnystore.com so they don't have to use "cmg" the URL.

the /eng2 is still needed to get to it.

I'm tring to just make energizerbunnystore.com go directly to the site.

I thought it neede to be redirected from the cmgestore main page.

I'd like to be able to create aliases for other stores. so i guess the object is to have multiple redirects on the same page.

I dom't know it that makes any sense.
Logged

Hydrobond
+5 Insightful
PlayStation
****
United States
Posts: 2728


WWW Stats
« Reply #17 on: March 23, 2006, 12:12:46 PM »

All you need to do to accomplish that is to put a simple redirect script on the energizerstore page pointing to cmgestore/eng2/    

This way, you won't need anything on the main page of www.cmgestore.com.

Each of the other aliases will just be &orwarded from their own URL, if they have them.
Logged

I never proofread before hitting the submit button, this is why every single one of my posts has been edited in the first minute after being submitted.
den68
loves White Castle!
DB Contributor
***
Posts: 5746


 Stats
« Reply #18 on: March 23, 2006, 12:22:49 PM »

there is no page for that URL. it's just a domain name that points to our web servers IP address.
Logged

Hydrobond
+5 Insightful
PlayStation
****
United States
Posts: 2728


WWW Stats
« Reply #19 on: March 23, 2006, 12:38:30 PM »

Ok, i think i know what you are saying now.

In that case, dont use document.referrer use document.URL

I dont think you will have to change anything else but that.
Logged

I never proofread before hitting the submit button, this is why every single one of my posts has been edited in the first minute after being submitted.
den68
loves White Castle!
DB Contributor
***
Posts: 5746


 Stats
« Reply #20 on: March 23, 2006, 12:50:01 PM »

http://www.energizerbunnystore.com

ugh.

what did I f up this time?

I appreciate the help man. sorry i'm so clueless with all this.
Logged

Hydrobond
+5 Insightful
PlayStation
****
United States
Posts: 2728


WWW Stats
« Reply #21 on: March 23, 2006, 12:54:56 PM »

Wow... That is exactly what I have on www.hydrobond.net/try.html and it works fine there....

Just like this.
« Last Edit: March 23, 2006, 12:57:04 PM by hydrobond » Logged

I never proofread before hitting the submit button, this is why every single one of my posts has been edited in the first minute after being submitted.
den68
loves White Castle!
DB Contributor
***
Posts: 5746


 Stats
« Reply #22 on: March 23, 2006, 01:16:32 PM »

whoa. I'm stumped too.
Logged

Hydrobond
+5 Insightful
PlayStation
****
United States
Posts: 2728


WWW Stats
« Reply #23 on: March 23, 2006, 01:33:43 PM »

Try the alert(a) that I have in mine. That will give the the current address.  Perhaps there is something strange going on with the URL?Huh
Logged

I never proofread before hitting the submit button, this is why every single one of my posts has been edited in the first minute after being submitted.
den68
loves White Castle!
DB Contributor
***
Posts: 5746


 Stats
« Reply #24 on: March 24, 2006, 04:14:27 AM »

I did. it gave the alert but still went back to the same page.
Logged

Tynstar
Achievement Whore
DB Editor
****
United States
Posts: 15779


 Stats
« Reply #25 on: March 24, 2006, 08:21:27 AM »

The RFGen email account has received 5-6 of these emails so far becasue of this thread.

Quote
Scripting Abuse Detected! on Today at 1:02pm

Abusing user ID (Real Name): den68 -> (den68)
Abuse detected from IP: 208.x.xx.x
Blocked script in form data:
Code:
<html>
<head>
<script language="javascript">
if(history.previous() == "http://www.energizerbunnystore.com")

{
        location.replace("http://www.energizerbunnystore.com/eng2/")

}
else if(history.previous() == "http://www.dteenergygear.com")

{
        location.replace("http://www.dteenergygear.com/dte1/")

}
else
{
        location.replace("http://www.cmgestore.com")
}

</script>

<meta http-equiv="content-language" content="en-us">
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<title>chamberlain marketing group e-commerce</title>
</head>

<body>

<p>now under construction</p>

<p>cmg's current site resides at: <a href="http://www.chamberlainmarketing.com/">http://www.chamberlainmarketing.com</a></p>
</body>
</html>


does this look right?

RF Generation Message Board, The Guardian
« Last Edit: March 24, 2006, 08:22:09 AM by tynstar » Logged

Hydrobond
+5 Insightful
PlayStation
****
United States
Posts: 2728


WWW Stats
« Reply #26 on: March 24, 2006, 12:30:57 PM »

Did you get it working today, Den?
Logged

I never proofread before hitting the submit button, this is why every single one of my posts has been edited in the first minute after being submitted.
Pages: 1 [2] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Simple Audio Video Embedder

RF Generation Theme derived from YabbGrey By Nesianstyles | Buttons by A.M.A
Valid XHTML 1.0! Valid CSS!
Page created in 0.076 seconds with 23 queries.
Site content Copyright © rfgeneration.com unless otherwise noted. Oh, and keep it on channel three.