On Mon, 2010-09-27 at 08:17 +0200, Alain Roger wrote: > where 'tool1' should be be found in /var/www/html/tool1/ directory. > > how can i do that under fedora ? Simply by creating the files and directories. > Should the directory have particular rights ? It should be readable and executable by "other" users, and the files should be readable by other users (the third set of rwx permissions). The files should be owned by someone other than root or the apache user, this stops them be writeable through the webserver. e.g. drwxr-xr-x tim tim /var/www/html/tim/ -rw-r--r-- tim tim /var/www/html/tim/test.html Also, SELinux contexts should be appropriately set. Which they should be, if you create or copy the files there. But will not be if you make them elsewhere, then move them there (they'd keep the default contexts for the location that they were originally created in). My directory and file SELinux contexts: unconfined_u:object_r:httpd_sys_content_t:s0 An alternative, found if I were serving files from a public_html directory within my own homespace, would be: unconfined_u:object_r:httpd_user_content_t:s0 You can use "ls -Z" to see the SELinux contexts. -- [tim@localhost ~]$ uname -r 2.6.27.25-78.2.56.fc9.i686 Don't send private replies to my address, the mailbox is ignored. I read messages from the public lists. -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines