Help me for my BANS site

Discussion in 'Commission Junction' started by priyaranjan2000, Feb 2, 2008.

  1. #1
    I having problem on executing php files

    Any one can help me out how to sort the problem I am getting page not found if I click on any Store Navigation product. This I my link

    http://orbit.host-care.com/~easywaig/BANS/script/

    Error message I am getting
    The requested URL /home/easywaig/public_html/BANS/script/index.php was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
     
    priyaranjan2000, Feb 2, 2008 IP
  2. j0ned

    j0ned Active Member

    Messages:
    684
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    60
    #2
    What's your .htaccess file look like?

    http://orbit.host-care.com/~easywaig/BANS/script/index.php does exist, so this is pretty unusual...
     
    j0ned, Feb 2, 2008 IP
  3. priyaranjan2000

    priyaranjan2000 Banned

    Messages:
    107
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    This is my .htaccess file



    Options +FollowSymLinks
    RewriteEngine On
    RewriteCond %{SCRIPT_FILENAME} -f [OR]
    RewriteCond %{SCRIPT_FILENAME} -d [OR]
    RewriteCond %{ENV:REDIRECT_STATUS} !^$
    RewriteRule .* - [L]
    RewriteRule ^install.php install.php [QSA,L]
    RewriteRule ^search/([^/]+)?$ index.php?mainCat=search&q=$1 [QSA,L]
    RewriteRule ^([^/]+)/([^/]+)?$ index.php?mainCat=$1&subCat=$2 [QSA,L]
    RewriteRule ^([^/]+)?$ index.php?mainCat=$1 [QSA,L]
     
    priyaranjan2000, Feb 2, 2008 IP
  4. hanji

    hanji Peon

    Messages:
    612
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #4
    There is something wrong with the webroot configuration of the site.. or something is goofed with the .htaccess. When I look at the .htaccess it looks fine. Currently you're using temporary user directory ie: ~easywaig. I would get your domain set up and proper web directory dialed in first, since this user directory might be the problem.

    The bans site can be seen here:
    http://orbit.host-care.com/~easywaig/index.php

    The problem is your get a 404 when you click on the nav:
    http://orbit.host-care.com/~easywaig/Dieting-Slimming/Body-Wraps

    returns:
    The requested URL /home/easywaig/public_html/index.php was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    But if you follow the the .htaccess and change the following to:
    http://orbit.host-care.com/~easywaig/index.php?mainCat=Dieting-Slimming&subCat=Diaries-Calculators

    It works. It could be related to slashes used as querystring variable. I can't remember the setting in older apache that needs to be set to allow this, but that could explain the 404, but I'd expect the error message to complain about /home/easywaig/public_html/Dieting-Slimming/Body-Wraps/index.php not existing.

    hanji
     
    hanji, Feb 3, 2008 IP
  5. priyaranjan2000

    priyaranjan2000 Banned

    Messages:
    107
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    priyaranjan2000, Feb 3, 2008 IP
  6. hanji

    hanji Peon

    Messages:
    612
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Do you have .htaccess in place, and can you verify that the rewrite is available on the server?

    hanji
     
    hanji, Feb 3, 2008 IP
  7. hanji

    hanji Peon

    Messages:
    612
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #7

    I think the problem is that your Apache server is old. It is currently Apache/1.3.39. What I think you need is AcceptPathInfo directive that is available in Apache-2.0

    You can see people that are trying to do SES (Search Engine Safe) URLs and are running into problems with 1.3

    http://www.google.com/search?hl=en&q=AcceptPathInfo+1.3&btnG=Search

    I would switch hosts or ask to be put on a Apache-2.x box. Apache-2.x fork has been out for several years now.

    hanji
     
    hanji, Feb 3, 2008 IP