The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

htaccess file not working properly

Discussion in 'General Discussion' started by rugrotts, Dec 29, 2016.

  1. rugrotts

    rugrotts Member

    Joined:
    Dec 18, 2016
    Messages:
    5
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Australia
    cPanel Access Level:
    Website Owner
    I can not get the image to show on my 404 page. It is the same as one i use on another website and the coding is the same on both. I am too scared to try to change the htaccess file as I dont know much about it.
    This is the content of my htaccess file:
    Code:
    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthName example.com
    ErrorDocument 404 /404.shtml
    
    
    this is what hapens see it here: - Removed -
    But when I go direct to the shtml page it is ok: - Removed -

    Can someone tell me what is possibly missing from the htaccees file.
    Thanks
     
    #1 rugrotts, Dec 29, 2016
    Last edited by a moderator: Dec 30, 2016
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,627
    Likes Received:
    296
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    The image and background image both work on both pages for me. Links removed.
     
Loading...

Share This Page