Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Apr 2007
    Posts
    79
    Tokens
    0

    Default /htaccess /404 page

    ok for a year & a half now i've been trying to do a 404 page wid htaccess


    could someone send me the .htaccess file to make it & have the 404 page as the link error.php ? ill give rep when i get some

    Moved by opensourcehost (Forum Moderator) from Web Designing: Please post in the correct forum next time, thanks .
    Last edited by Mr.OSH; 19-05-2007 at 03:01 PM.
    I NEED TO GIVE REP TO
    Heinous

    i found a cool Web site ts Stuff
    Click it


  2. #2
    Join Date
    Jul 2005
    Posts
    1,653
    Tokens
    50

    Latest Awards:

    Default

    ErrorDocument 404 error.php

    I think, search google for "ErrorDocument" +.htaccess

  3. #3
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    693
    Tokens
    0

    Default

    I use;

    ErrorDocument 404 http://localhost/cronus/404.php

    You can change the 404 and file location to whatever. You can have different error documents for different error codes.
    XHTML, CSS, AJAX, JS, php, MySQL.

    --

    HxF moderators can't read timestamps.

  4. #4
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    Quote Originally Posted by Heinous View Post
    I use;

    ErrorDocument 404 http://localhost/cronus/404.php

    You can change the 404 and file location to whatever. You can have different error documents for different error codes.
    Wouldn't that only work for you though ?? Since im doubtful everyones gonna be running a webserver on there pc contain a file called Cronus o.0

  5. #5
    Join Date
    May 2007
    Location
    ██ ██
    Posts
    98
    Tokens
    0

    Default

    Quote Originally Posted by 01101101entor View Post
    Wouldn't that only work for you though ?? Since im doubtful everyones gonna be running a webserver on there pc contain a file called Cronus o.0
    I think you'd have to change the url he has, to the one you want.
    Need a layout coding? Need a layout? Need a site banner or logo? PM me, I'm sure we can arrange a small price!


  6. #6
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    693
    Tokens
    0

    Default

    Quote Originally Posted by 01101101entor View Post
    Wouldn't that only work for you though ?? Since im doubtful everyones gonna be running a webserver on there pc contain a file called Cronus o.0
    Hence why I said he could change it, lol..
    XHTML, CSS, AJAX, JS, php, MySQL.

    --

    HxF moderators can't read timestamps.

  7. #7
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default

    Quote Originally Posted by Heinous View Post
    I use;

    ErrorDocument 404 http://localhost/cronus/404.php

    You can change the 404 and file location to whatever. You can have different error documents for different error codes.
    If you want people to see that 404 page on your home server, you should change it to /cronus/404.php
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  8. #8
    Join Date
    Dec 2006
    Location
    Swindon
    Posts
    3,299
    Tokens
    215
    Habbo
    dunko

    Latest Awards:

    Default

    It took you a year and a half to search google with htaccess 404 page?

  9. #9
    Join Date
    Jan 2007
    Posts
    190
    Tokens
    0

    Default

    OMG ok i googled this and found it is like 5 secs here it is

    Code:
    
    Here are three examples of specifying error documents which will be called for a given error condition (note that you can use relative "thisfile.html" or absolute addressing "/full-path -to-your-account/thisfile.html"): 
    
    ErrorDocument 401 /401.html 
    ErrorDocument 403 /403.html 
    ErrorDocument 404 /404.html

  10. #10
    Join Date
    Oct 2006
    Posts
    1,026
    Tokens
    0

    Latest Awards:

    Default

    LOL owned.
    Quote Originally Posted by Blob View Post
    It took you a year and a half to search google with htaccess 404 page?

Page 1 of 2 12 LastLast

Posting Permissions

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