Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2010
    Location
    New South Wales, Australia
    Posts
    228
    Plugin Contributions
    0

    Default Internal Server Error

    Please help! I can not get into my website or admin. I have not changed any of the config.

    I am getting the following error in the server error log:

    "[Thu Nov 03 13:42:10 2011] [error] [client 124.168.138.225] File does not exist: /home/ani48156/public_html/500.shtml
    [Thu Nov 03 13:42:10 2011] [alert] [client 124.168.138.225] /home/ani48156/public_html/store/.htaccess: Invalid command 'ExpiresActive', perhaps misspelled or defined by a module not included in the server configuration"

    What has happened and how do I fix it???

    Robyn

  2. #2
    Join Date
    Feb 2010
    Location
    New South Wales, Australia
    Posts
    228
    Plugin Contributions
    0

    Default Re: Internal Server Error

    I deleted this from the .htaccess file:

    ExpiresActive On
    ExpiresDefault "access plus 15 days"
    ExpiresByType image/gif "access plus 15 days"
    ExpiresByType image/png "access plus 15 days"
    ExpiresByType image/jpg "access plus 15 days"

    The website is up again but is the section I deleted important?
    Why is it suddenly an invalid command?

    Robyn
    (A bit more calmer now.)

  3. #3
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,269
    Plugin Contributions
    3

    Default Re: Internal Server Error

    Native, core Zencart does not have .htaccess in the root directory.

    Who put that file there... and why?
    20 years a Zencart User

  4. #4
    Join Date
    Feb 2010
    Location
    New South Wales, Australia
    Posts
    228
    Plugin Contributions
    0

    Default Re: Internal Server Error

    I did, months ago, for image caching.

    I just don't understand why the ExpiresActive has worked without error for months then suddenly today stops working.

    My host company reckon that it was a Zencart error and was not their problem.

    I have read on the net that sometimes the Apache version can affect it??

  5. #5
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,269
    Plugin Contributions
    3

    Default Re: Internal Server Error

    I don't know much about htaccess commands, so I cannot comment on the value of your actions... but I will say that tinkering with htaccess can have MAJOR consequences.

    Core ZC works just fine for us, and as the advice is not to have htaccess in the root, we don't mess about with it. We "don't try to fix what aint broke".
    20 years a Zencart User

  6. #6
    Join Date
    Feb 2010
    Location
    New South Wales, Australia
    Posts
    228
    Plugin Contributions
    0

    Default Re: Internal Server Error

    I have deleted the file now and will not be putting it back!

  7. #7
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Internal Server Error

    Quote Originally Posted by robbie269 View Post
    I just don't understand why the ExpiresActive has worked without error for months then suddenly today stops working.
    That would be a consequence of the hosting company doing something that changed the server's Apache configuration.
    Yes, an unattended Apache update could do that, especially if the server administrator didn't pay attention to what the upgrade was doing.

    If they're not paying attention to that, then keep your eyes wide open to what other things they're doing (or not doing) that might affect the quality of service they're providing to you.
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Feb 2010
    Location
    New South Wales, Australia
    Posts
    228
    Plugin Contributions
    0

    Default Re: Internal Server Error

    Quote Originally Posted by DrByte View Post
    That would be a consequence of the hosting company doing something that changed the server's Apache configuration.
    Yes, an unattended Apache update could do that, especially if the server administrator didn't pay attention to what the upgrade was doing.

    If they're not paying attention to that, then keep your eyes wide open to what other things they're doing (or not doing) that might affect the quality of service they're providing to you.
    Thanks Dr Byte

    Will do.

 

 

Similar Threads

  1. v139h localhost server checkout_process -> checkout_success returning internal server error
    By kamion in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 26 Jan 2013, 02:49 AM
  2. v150 Display 404 error page instead of 500 Internal Server Error
    By ShopVille in forum General Questions
    Replies: 1
    Last Post: 7 Dec 2012, 05:34 PM
  3. v139f Shopping Cart error: HTTP Error 500 (Internal Server Error)
    By Tulameen in forum General Questions
    Replies: 0
    Last Post: 15 Jan 2012, 01:48 AM
  4. Replies: 13
    Last Post: 4 Jun 2011, 02:31 PM
  5. Replies: 14
    Last Post: 2 Jan 2011, 11:13 PM

Posting Permissions

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