Lighttpd help

by SergeantFTC, Wednesday, March 27, 2013, 22:33 (4071 days ago)

I'm thinking something might be wrong with my permissions, but I can't figure out what. I can download the config.ini file through the browser, which seems like a bad idea, but yet I get a 403 forbidden error when I try to navigate to index.php. Below is an "ls -la" of my selfoss folder.

pi@raspberrypi /var/www/selfoss $ ls -la
total 64
drwxr-xr-x 10 root root 4096 Mar 27 16:18 .
drwxr-xr-x 3 root root 4096 Mar 27 17:27 ..
-rw-r--r-- 1 pi root 319 Mar 27 16:18 config.ini
drwxr-xr-x 2 pi root 4096 Mar 27 16:18 controllers
drwxr-xr-x 5 pi root 4096 Mar 27 16:18 daos
drwxr-xr-x 7 pi root 4096 Mar 27 16:18 data
drwxr-xr-x 2 pi root 4096 Mar 27 16:18 helpers
-rw-r--r-- 1 pi root 2348 Mar 27 16:50 .htaccess
-rw-r--r-- 1 pi root 3347 Mar 27 16:18 index.php
drwxr-xr-x 6 pi root 4096 Mar 27 16:18 libs
drwxrwxrwx 6 pi www-data 4096 Mar 27 16:18 public
-rw-r--r-- 1 pi root 4880 Mar 27 16:18 README.md
drwxr-xr-x 6 pi root 4096 Mar 27 16:18 spouts
drwxr-xr-x 2 pi root 4096 Mar 27 16:18 templates
-rw-r--r-- 1 pi root 526 Mar 27 16:18 update.php
pi@raspberrypi /var/www/selfoss $


Any help would be greatly appreciated. Thanks.

Lighttpd help

by SergeantFTC, Wednesday, March 27, 2013, 22:38 (4071 days ago) @ SergeantFTC

Well, I fixed the issue with config.ini by running "sudo chmod -r config.ini" Not sure why I didn't think of that before. Are there any other files I should do this to? Also, I still can't access index.php, whether I type in the full URL or just go to /selfoss.

RSS Feed of thread
powered by my little forum