Web setup questions and protecting files

Hello all:
Right now, I have a codeigniter site that seems to load fine, but when I access /files/foo, I get a 404. I’ve attached my server config, if anyone has any ideas and examples of how to fix this I’d greatly appreciate it.
To add to this, what’s the best way to prevent access to all files beginning with a . and certain extensions?
Thanks,
foo.com {
gzip
root /var/www/foo
index index.html index.htm
fastcgi / unix:/var/run/php.sock php {
index index.php
}
}

Can you provide more info?

What URL are you trying to access?

What files exist in the directory you are tring to access?

Do you get 404 if you request the file not just the directory?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.