Need some help, guys

Discussion in 'Co-op Advertising Network' started by fryman, Jul 21, 2005.

  1. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #41
    In .htaccess do a mass search and replace, changing 'computer' to 'camera'.

    I have no idea what the redirect stuff will do with the co-op. I use static pages on most of my sites so I've never been able to join. :(:(

    You can also get the old version working on the other domain and install the newest version at cgi-bin/apf and keep the old version up, atleast until Google crawls and indexes the new URLs. The newest mod_rewrite version has the .htaccess file at domain.com/.htaccess so it doesn't need the cgi-bin/.htaccess file.

    I have no idea HOW that script version is even working!!! They must of changed the developer token to the subscription ID when Amazon stoped using the DT.
     
    Nintendo, Jul 21, 2005 IP
  2. fryman

    fryman Kiss my rep

    Messages:
    9,604
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #42


    THere is no computer there... this site was working 100% on the seller's server, I moved it over to mine and it won't work
     
    fryman, Jul 21, 2005 IP
  3. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #43
    And in the script (Near the top) change

    $url = "http://www.domain.com/cgi-bin/computer";
    to
    $url = "http://www.domain.com/cgi-bin/camera";

    Search for and change

    RewriteRule locale\-(.*)-mode
    to
    RewriteRule locale\-(.*)\-mode

    Not sure if it'll do it, but last time I upgraded servers, that code needed to be changed for it to work.
     
    Nintendo, Jul 21, 2005 IP
  4. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #44
    If it still generates the error, I'm guesing it's the .htaccess file, since
    http://www.cheap-camera.com/cgi-bin/camera.cgi
    also gives out the error. Delete the .htaccess file. If the script index then works, upload it with just

    Options SymlinksIfOwnerMatch
    Options +FollowSymlinks
    RewriteEngine on
    RewriteBase /cgi-bin/
    RewriteRule mode\-(.*)\-page_num\-(.*)-node\-(.*)-locale\-(.*).htm$ camera.cgi?mode=$1&page_num=$2&node=$3&locale=$4 [L]

    If it works, add a few more lines until you find the one line that causes the error. Then post it here. If just having the first RewriteRule line also causes it, it might be each .htm needing to be changed to \.htm
     
    Nintendo, Jul 21, 2005 IP
  5. fryman

    fryman Kiss my rep

    Messages:
    9,604
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #45
    Yeah, well, after 7 hours I've had enough. I just hired some guy to fix all this crap for me. Gonna cost me 50 bucks, but I just hope he can fix it :D
     
    fryman, Jul 21, 2005 IP