Closed Thread
Results 1 to 4 of 4
Like Tree2Likes
  • 1 Post By Livewire
  • 1 Post By Bryon

Thread: Can't access a file

  1. #1
    button_man's Avatar
    button_man is offline x10Hosting Member button_man is an unknown quantity at this point
    Join Date
    Oct 2009
    Location
    UK
    Posts
    63

    Can't access a file

    For some reason I can't access the following file;
    http://www.takuhii.co.cc/resources/css/images/bg.gif

    I'm getting a 403, but there are no restrictions on that location...
    Any one got any ideas?

  2. #2
    Livewire's Avatar
    Livewire is offline Abuse Compliance Officer Livewire is a glorious beacon of lightLivewire is a glorious beacon of light
    Join Date
    Jun 2005
    Location
    Behind a keyboard.
    Posts
    8,998

    Re: Can't access a file

    The .htaccess in the root directory for that domain has this:

    RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

    If I'm reading that, you've basically told it to forbid any jpg/jpeg/gif/png/bmp image on any url, which includes the resources/css/images/bg.gif directory.

    To be honest I'm not 100% sure how to fix that as I'm not very good with .htaccess files, but if that is indeed the cause, a way to have it rewrite all images that AREN'T in that folder would be what you'd need.
    button_man likes this.


    TOS breakers will be suspended regardless of race, creed, national origin, hair color, or favorite food. Thanks for your understanding!

  3. #3
    Bryon is offline Administrator Bryon has disabled reputation
    Join Date
    Apr 2005
    Location
    Northfield, NH
    Posts
    7,608

    Re: Can't access a file

    If that rewrite rule does indeed exist, and you require it, you can shut off mod_rewrite for that particular /resources/css/images directory using "RewriteEngine Off" in a separate .htaccess (In that directory).
    button_man likes this.

  4. #4
    button_man's Avatar
    button_man is offline x10Hosting Member button_man is an unknown quantity at this point
    Join Date
    Oct 2009
    Location
    UK
    Posts
    63

    Re: Can't access a file

    Cheers guys, must have missed that one...

    I'll get that edited now ;)

Closed Thread

Similar Threads

  1. URL file-access
    By ubermouse89423 in forum Programming Help
    Replies: 4
    Last Post: 12-19-2010, 08:39 PM
  2. URL File Access with PHP
    By froger in forum Free Hosting
    Replies: 3
    Last Post: 08-30-2010, 04:23 AM
  3. URL File Access
    By rdcmodz96 in forum Free Hosting
    Replies: 1
    Last Post: 08-29-2010, 09:33 PM
  4. File access
    By bart.suykerbuyk66 in forum Free Hosting
    Replies: 0
    Last Post: 07-27-2010, 04:32 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers