Tag Info

New answers tagged

0

Superpelican, Further to the comment above. May want to try "sudo chown -R www-data:www-data * " or "sudo chown -R www-data:www-data /media/storage/www/* " On that folder or subfolders from within /media/storage/www This way the webserver owns the folders and files within not you as a user. As far as chmod.. Also try it with something like "sudo chmod ...


2

You can't access your www folder because www-data user only has 4 right (user:group jurre:www-data and rights 740) which means no execution right on www folder, only read (read folder name and attributes). You need execution right on folder, because executing a folder means opening it (to list files or to enter it). You can do this with your own user jurre ...


1

According to the lighttpd docs on configuration file syntax, only double quotes ", not ' are supported. Your observation, that $SERVER["socket"] == ":80" works, but $HTTP["url"] == '/my_path/' isn't, confirms this.



Top 50 recent answers are included