Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Digital downloads issues (error 500)

    Quote Originally Posted by PaulLell View Post
    That seems to have done it actually. It is interesting how there are so many .htaccess files in this application and none of the help files are terribly specific on which ones need to be modified in order to affect certain changes.

    Maybe I am just that much of a PHP novice...
    .htaccess has nothing to do with PHP.
    It's an Apache Webserver thing.
    There are lots of tutorials about it online. Just google: Apache htaccess


    Quote Originally Posted by PaulLell View Post
    If I put this block of code in the .htaccess file in my /download directory is the syntax correct for blocking visibility to the referenced file extensions?
    No, if I'm not mistaken, you can't list multiple file extensions in one directive.

    But, why are you doing that anyway?
    The supplied .htaccess works around the security issue for the /downloads/ folder differently, by denying access to a directory listing, and also requiring authentication to browse files, with no accessible authentication, thus blocking everyone.

    Or, if it's real security you're after, maybe you should just make the folder inaccessible to browsers:
    https://www.zen-cart.com/tutorials/i...hp?article=280
    .

    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.

  2. #2
    Join Date
    Mar 2008
    Posts
    3
    Plugin Contributions
    0

    Default Re: Digital downloads issues (error 500)

    Quote Originally Posted by DrByte View Post
    .htaccess has nothing to do with PHP.
    It's an Apache Webserver thing.
    There are lots of tutorials about it online. Just google: Apache htaccess



    No, if I'm not mistaken, you can't list multiple file extensions in one directive.

    But, why are you doing that anyway?
    The supplied .htaccess works around the security issue for the /downloads/ folder differently, by denying access to a directory listing, and also requiring authentication to browse files, with no accessible authentication, thus blocking everyone.

    Or, if it's real security you're after, maybe you should just make the folder inaccessible to browsers:
    https://www.zen-cart.com/tutorials/i...hp?article=280
    See how much of a novice I am? *laughs*

    As to the question of the download directory access, I just want to make it as impregnable as possible since that directory is going to be my bread and butter so to speak. I don't want any of that material getting wrenched out of there without payment.

    I had it set up in a different directory before but the download problem came up and I moved it back to default positioning as a troubleshooting step. Maybe I'll move it back again and see if the Dl still works smoothly now (thanks again for the assistance by the way).

 

 

Similar Threads

  1. v139h Error 500 on confirm order - also search engine issues
    By Black Dougall in forum General Questions
    Replies: 21
    Last Post: 22 Nov 2013, 04:07 AM
  2. Digital Downloads Error
    By maydeycom in forum General Questions
    Replies: 9
    Last Post: 13 Oct 2010, 06:30 AM
  3. Digital Downloads
    By mkyle in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 15 Jan 2009, 05:43 PM
  4. Large files downloads give 500 Internal Server Error
    By wcjmproducer in forum General Questions
    Replies: 9
    Last Post: 15 Feb 2008, 10:22 PM
  5. Digital Downloads
    By djdollar in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 31 Jan 2008, 11:50 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