slax1.jpeg has no public read rights.
-rwxrwx--- should be -rwxrwxr-- but buch better -rw-r--r--
as far as i can see
-rwxrwxr-x should be 644 or -rw-r--r--
no php script should be set like this as far as i know. at least when it comes to joomla.
when it comes to joomla:
all files should be 644 or -rw-r--r--
all folders should be 755 or (d)rwxr-xr-x
also almost all folders and files should be owned by www-data:www-data (user:group) so only apache can access those files. only some folders in images folder should be own by web1_ftp:web1 so images can be uploaded by ftp user.
to correct ownership of files type in console (SSH):
chown -R -v -f www-data:www-data/*
to set ownership of files and folders in images folder:
chown -R -v -f web1_ftp-web1:web1_ftp-web1/*
this should be done from root account in SSH. in case of Ubuntu you should add "sudo" in front of every command line. for example:
sudo cd /var/www/web1/images
sudo chown -R -v -f web1_ftp-web1:web1_ftp-web1/*
to change all folders to 755 (also as root user):
find * -type d | while read var1; do chmod 755 "$var1"; done
to change all files to 644 (also as root user):
find * -type f | while read var1; do chmod 644 "$var1"; done
if i typed it correctly