Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: Where's my 404?

  1. #1
    Regular Coder ArcticFox's Avatar
    Join Date
    Jan 2004
    Location
    Vostok Station, AQ
    Posts
    602
    Thanks
    35
    Thanked 3 Times in 3 Posts

    Question Where's my 404?

    I had 404 error pages for my site at one time, but it's been so long I don't know where to find them. Also... they're not working for some reason - I get the standard:

    Not Found

    The requested URL /xtreme-scooters/inquiries.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.
    Not sure how to find them; 404, 403, 501, 666, etc... where are they?
    <div> - putting your mind in a box since 1997

  • #2
    Senior Coder JamieR's Avatar
    Join Date
    Oct 2004
    Location
    United Kingdom
    Posts
    3,161
    Thanks
    0
    Thanked 5 Times in 5 Posts
    The ErrorDocument handling is done via .htaccess.

    Have a look in the root of your web space for a file called ".htaccess".

    The error is either pointing to a missing .htaccess file, or the pages referenced as the error pages in .htaccess are missing.

    http://www.javascriptkit.com/howto/htaccess2.shtml

  • Users who have thanked JamieR for this post:

    ArcticFox (12-30-2007)

  • #3
    Regular Coder ArcticFox's Avatar
    Join Date
    Jan 2004
    Location
    Vostok Station, AQ
    Posts
    602
    Thanks
    35
    Thanked 3 Times in 3 Posts

    Thumbs up

    Thank you, found them.

    In the .htaccess I had the wrong folder name (must have switched them).

    Where exactly does the .htaccess need to be?: where my main page sits (htdocs), one folder deeper, or in each folder?
    <div> - putting your mind in a box since 1997

  • #4
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by ArcticFox View Post
    Thank you, found them.

    In the .htaccess I had the wrong folder name (must have switched them).

    Where exactly does the .htaccess need to be?: where my main page sits (htdocs), one folder deeper, or in each folder?
    could be in in each folder you need one.

    best regards

  • #5
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    Although to apply globally, it has to be in your root folder.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •