Hi,
A error shows when I clicked on my gallery greek directory at http://localhost/gallery/index.php, I've got this error as following(permission issue):
Warning: opendir(./images/greek/) [function.opendir]: failed to open dir: Permission denied in /Library/WebServer/gallery/index.php on line 405

Warning: readdir(): supplied argument is not a valid Directory resource in /Library/WebServer/gallery/index.php on line 408