403 forbidden error for favicons in folder

1,246 views
Skip to first unread message

David Rhoderick

unread,
Sep 7, 2015, 2:45:41 PM9/7/15
to Fat-Free Framework
I use this fantastic website to create favicons for cross-compatibility.  I like to use the ability the site grants you to put favicons in folders so that my home directory is not clogged with files.  The problem is that while this works on another F3 site, I just tried it on one I'm working on now and I am getting a 403 error when trying to access files in a "favicons" folder.  How can I fix these 403 errors?  I seem to get these every once and a while and I would like to know how to properly diagnose why I get these 403s.  Thanks!

Steve Cove

unread,
Sep 7, 2015, 3:02:02 PM9/7/15
to Fat-Free Framework
What does your directory structure look like?

David Rhoderick

unread,
Sep 8, 2015, 12:08:18 PM9/8/15
to Fat-Free Framework
So the structure is like so:

[project directory]
    ->bower_components
    ->config.ini
    ->favicons
        ->[favicon files]
    ->index.php
    ->js
    ->lib
    ->ui

That is the basic idea; I left out the contents of directories like bower_components, js, lib, and ui and some other files in the root directory such as .bowercc, .git, bower.json, composer.json etc.  Does that help?

David Rhoderick

unread,
Sep 15, 2015, 1:41:38 AM9/15/15
to Fat-Free Framework
I just tried to redo everything and matched it to my working project.  It still doesn't work!  How would this be happening?  The code looks exactly the same in a working project and a broken project for the following files:

index.php
header+footer.htm (this is the layout that contains the favicon links)
favicons [folder]
config.ini

Where else should I look?

David Rhoderick

unread,
Sep 15, 2015, 1:51:47 AM9/15/15
to Fat-Free Framework
Actually, strangely enough, it works online but not locally.  The other site works in both places.  I think that because I am using CodeKit and MAMP for local development, they might cause some issues.
Reply all
Reply to author
Forward
0 new messages