Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2004
    Posts
    24
    Plugin Contributions
    0

    Default Downloads - Don't Forget Apache Settings

    I've just finished configuring my zen-cart (ver 1.2.2) for downloads. I read the FAQ on it, and read a lengthy post about it in this forum. Both helped, but I still got stuck. Here's how I fixed it. Just want to pass this on and possibly save a few gray hairs for someone.

    Everything set up fine per the FAQ. Then I tested it with an order. Got to the final screen and everything was processed, and there at the bottom of the page was my download link. But when I clicked it, I got "Internal Server Error". Sounds like an apache problem to me ......

    I run my own server, so tinkering around with apache was no problem. I try to run a fairly secure and restricted server, and it was one of these settings I must of made earlier that was hanging me up. The web home for zen-cart resided in /home/mydomain/www, and I had Apache set up to ignore OPTIONS for anything in /home/*/www. Well, zen-cart needed those OPTIONS.

    So in httpd.conf, I added the following to the <VirtualHost> section ...

    Code:
    &#60;Directory &#34;/home/mydomain/www/download&#34;&#62;
       AllowOverride Options
      &#60;/Directory&#62;
      &#60;Directory &#34;/home/mydomain/www/pub&#34;
      AllowOverride Options
    &#60;/Directory&#62;
    Restart apache and presto, it all worked fine.

    HTH someone.

    Kevin

  2. #2
    Join Date
    Jun 2005
    Posts
    10
    Plugin Contributions
    0

    Default

    what if you are not running your own server?

    and will my isp do it for me?

  3. #3
    Join Date
    May 2005
    Posts
    106
    Plugin Contributions
    0

    Default

    vnardone - you can try asking them. But it depends what kind of policies they have. I&#39;ve known some hosting companies are happy to make changes, but some have a strict policy against changing server files (for some reason).

    Otherwise I don&#39;t know what to suggest. Maybe turning off Redirect will fix it.

    Configuration/Attribute Settings
    Download by Redirect
    Please make any necessary changes

    Download by Redirect
    Use browser redirection for download. Disable on non-Unix systems.

    Note: Set /pub to 777 when redirect is true

    true
    false
    If you&#39;re not actually having any problems and are just asking hypothetically, I wouldn&#39;t worry too much. I don&#39;t think this is a common problem.

    -Luke

  4. #4
    Join Date
    Aug 2005
    Location
    San Juan, Puerto Rico
    Posts
    1,416
    Plugin Contributions
    9

    Default

    This is not working for me... ::frust

    What file do I need to configure? Can I do the Apache settings in cPanel? going to "Apache Handlers"?

    I have the latest version of ZC. Here is the error:

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, webmaster AT ideasphotoprints DOT com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    IDEAS Girl
    IDEAS Creative Group
    = Your image... our business!
    My contributions: SophyBlue / Sophy Blue-Grey / Mistik / The Bookshelf / Dynamic Sideboxes

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,403
    Plugin Contributions
    6

    Default

    That is what I meant by your server is not configured with these rights that are in the .htaccess files

    I am not an expert on these, unfortunately ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Downloads settings question
    By budy in forum General Questions
    Replies: 9
    Last Post: 12 Jan 2013, 02:07 AM
  2. Downloads Orders Status Settings - An EZ Solution!
    By vivaknievel in forum Managing Customers and Orders
    Replies: 5
    Last Post: 3 Aug 2007, 09:16 PM
  3. Define page status - settings don't appear to be working?
    By douglerner in forum Templates, Stylesheets, Page Layout
    Replies: 26
    Last Post: 8 Apr 2007, 05:25 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR