Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: includes folder is blocked

    That .htaccess will only work if mod_access is enabled on an Apache server.

    Assuming that it is enabled you can try writing it as this to see if it works:

    <Files "*.php">
    Order Deny,Allow
    Deny from all
    </Files>

    Vger

  2. #12
    Join Date
    Nov 2005
    Location
    Tasmania
    Posts
    9
    Plugin Contributions
    0

    Default Re: includes folder is blocked

    Awesome, the different script worked. Many thanks.

    woo hoo.

  3. #13
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: includes folder is blocked

    All that script does is to differentiate the file type from the <Files> command by enclosing it within quotes - but I thought it might work.

    Vger

  4. #14
    Join Date
    Dec 2005
    Posts
    2
    Plugin Contributions
    0

    Default Re: includes folder is blocked

    Thank you so much!

    I have been looking for a solution to the stylesheet-not-showing-due-to-htaccess problem for ages and thought that it was my server's fault! Adding the quotation marks did the trick!

  5. #15
    Join Date
    Mar 2007
    Posts
    90
    Plugin Contributions
    0

    Default Re: includes folder is blocked

    I just tried adding quotes and renaming my .htaccess1 to .htaccess and the style was lost again. ASo that didn't work for me, but i was very hopeful.
    renamed .htaccess again and style is working.
    aaahhhhhh!!


    Steven

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

    Default Re: includes folder is blocked

    .
    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.

  7. #17
    Join Date
    Mar 2007
    Posts
    90
    Plugin Contributions
    0

    Default Re: includes folder is blocked

    Thanks for the update.

    Steven

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v150 Deleted Includes Folder
    By AlexSC in forum Upgrading to 1.5.x
    Replies: 4
    Last Post: 22 Jun 2012, 12:04 PM
  2. no \includes\templates folder
    By jsparky77 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 16 Jul 2010, 12:08 PM
  3. Override for /includes/classes folder?
    By chadderuski in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 10 May 2010, 07:09 PM
  4. Uh oh...missing admin/includes folder
    By ReeFlippee in forum General Questions
    Replies: 8
    Last Post: 29 Mar 2008, 04:42 PM
  5. RapidLeech folder in /includes
    By Oseymour in forum General Questions
    Replies: 4
    Last Post: 8 Feb 2008, 07:05 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