Results 1 to 6 of 6

Thread: I cant get error docs to work gggrrr

  1. #1
    marcjacob
    Guest

    I cant get error docs to work gggrrr

    Can anyone help? Ive looked at a ton of tutorial all saying the same thing but i just cant it to work!

    I want so you try to enter your password in the usual way, but clicking cancel or getting it wrong 3 times will send you to the join page.

    Do you put the htaccess file in the members protected folder? This is what i have:

    ErrorDocument 401 /join.html
    Is it definatly a 401 or would it be forbidden?

    htaccess works on the server, i wonder can error docs be turned off? But 404 ones work?


  2. #2
    You do realize by 'gay' I mean a man who has sex with other men?
    Join Date
    Oct 2003
    Location
    New Orleans, Louisiana.
    Posts
    21,635
    I beleive, you need to put the full url and it has to be in the same location as the dir being accessed.

    Regards,

    Lee


  3. #3
    marcjacob
    Guest
    I tried that, it even works for 404 and 403


  4. #4
    You do realize by 'gay' I mean a man who has sex with other men?
    Join Date
    Oct 2003
    Location
    New Orleans, Louisiana.
    Posts
    21,635
    Quote Originally Posted by marcjacob View Post
    I tried that, it even works for 404 and 403
    Ah you posted just as i was editing...

    Full url and same location as the file i beleive it is.

    So for example, you need to put a copy of join.html inside /members/

    Regards,

    Lee


  5. #5
    On the other hand.... You have different fingers
    Join Date
    Feb 2004
    Location
    San Francisco
    Posts
    3,548
    If you're using an Apache web server, it depends on how the Apache config file (httpd.conf) is set up. It's possible it may not even have an "ErrorDocument directive in the config file, or it may have been set to some generic page by your host.

    If it's a dedicated server and you have root access, you just go into the httpd.conf file and edit the virtual host container for whatever site you're messing with. If somebody else maintains it for you, just email and ask them to point the ErrorDocument directive to a filename in your publicly viewable area.

    Hope that helps.


  6. #6
    marcjacob
    Guest
    Quote Originally Posted by gaybucks_chip View Post
    If you're using an Apache web server, it depends on how the Apache config file (httpd.conf) is set up. It's possible it may not even have an "ErrorDocument directive in the config file, or it may have been set to some generic page by your host.

    If it's a dedicated server and you have root access, you just go into the httpd.conf file and edit the virtual host container for whatever site you're messing with. If somebody else maintains it for you, just email and ask them to point the ErrorDocument directive to a filename in your publicly viewable area.

    Hope that helps.
    That helps alot actually Chip. Ill contact the host (for what thats worth, they know less than me ).

    Ive tried everything lee says and everything my bofy has said plus read loads of tutorials. Im now certain ive got it right. I need a new host but cant be bothered transferring it all :shit:


Posting Permissions

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