Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2009
    Posts
    2
    Plugin Contributions
    0

    Default Problems with .htaccess vs streamline.net/fasthosts

    Hi. After reading many post on this site I have realised the reason I had missing graphics from the install page is due to my webhost streamline.net

    I have renamed my .htaccess file in the zencart/includes folder and all seems fine. I then read this is a security issue. Another member 'Vger' suggested to edit the .htaccess file from:

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

    adding qoutes as below:

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

    I have done this and renamed my .htaccess file and all is fine.

    Is this secure? Also do I need to do the same to .htaccess in zencart/admin/includes although its working ok as it is.

    Thanks

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Renaming .htaccess fix?

    Normally one only adds the quotes if using a regex match, and then usually only using the FilesMatch directive, not the Files directive.

    I would suggest that the correct answer to your situation would be best determined by actually testing to see whether the settings you've implemented actually do provide the security protection desired.
    .

    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.

  3. #3
    Join Date
    Apr 2009
    Posts
    2
    Plugin Contributions
    0

    Default Re: Renaming .htaccess fix?

    Mmm unfortunate this morning I am back to missing graphics so for some reason it didnt work.

    I am with streamline.net (fasthost) if I knew about the problems they have with ecommerce I wouldn't of signed up.

    Any fix for this?

    Strangely I initially installed on windows 2003 server initially but couldnt change permissions of configure.php files.

    When I changed to linux I can change configure.php files permission but now I have problem with .htaccess.

    Thanks

  4. #4
    Join Date
    Aug 2010
    Posts
    1
    Plugin Contributions
    0

    Default Re: Problems with .htaccess vs streamline.net/fasthosts

    Same problem here.
    Streamline technical support replied with:

    We only support mod_rewrite on .htaccess so any other codes will return an error. We would suggest that you either remove or comment out unsupported codes......
    Would it be safe to do that?

    If, as the Zen tutorial states:
    The logic in the /includes/.htaccess and /admin/includes/.htaccess files basically just say for all *.php files, don't allow them to be accessed via a browser directly........
    Would it be enough to change permission on those folders (protected by htaccess) with a 706 permission on the folder (no public execute)?

    Thanks in advance.
    Rob
    Last edited by rockmiranda; 4 Aug 2010 at 01:18 PM.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Problems with .htaccess vs streamline.net/fasthosts

    Quote Originally Posted by rockmiranda View Post
    Same problem here.
    Streamline technical support replied with:


    Would it be safe to do that?

    If, as the Zen tutorial states:

    Would it be enough to change permission on those folders (protected by htaccess) with a 706 permission on the folder (no public execute)?

    Thanks in advance.
    Rob
    That's something you'll have to explore with your choice of hosts if you choose to stay with them.
    .

    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.

 

 

Similar Threads

  1. Replies: 3
    Last Post: 8 Jun 2009, 11:27 AM
  2. installing on streamline.net
    By tayjax in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 28 Apr 2009, 06:50 PM
  3. Streamline.net and .htaccess
    By Alex_09 in forum General Questions
    Replies: 27
    Last Post: 30 Nov 2008, 04:27 PM
  4. htaccess problems, server problems, my zen world is falling apart (streamline.net)
    By fr3spirit in forum Templates, Stylesheets, Page Layout
    Replies: 18
    Last Post: 31 Aug 2008, 04:05 AM

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