Mark Sargent wrote:
Mark Sargent wrote:Hi All, keep getting the following error message, Forbidden You don't have permission to access /base-1.1/ on this server. ------------------------------------------------------------------------ Apache/2.0.53 (Unix) PHP/5.0.4 Server at localhost Port 80below are the permissions for the dir if base and it's contents. Is it a permissions issue..? Cheers.OS=Fedora Core 3 Mark Sargent. [root@localhost html]# cd base-1.1 [root@localhost base-1.1]# ls -alh total 472K drwxr-xr-x 12 root root 4.0K Apr 6 15:48 . drwxr-xr-x 5 root root 4.0K Apr 6 14:37 .. drwxr-xr-x 2 root root 4.0K Apr 4 05:27 admin -rwxr-xr-x 1 root root 3.5K Apr 4 05:26 base_ag_common.php -rwxr-xr-x 1 root root 14K Apr 4 05:26 base_ag_main.php -rwxr-xr-x 1 root root 28K Apr 4 05:26 base_common.php -rwxr-xr-x 1 root root 11K Apr 6 14:54 base_conf.php -rwxr-xr-x 1 root root 11K Apr 4 05:26 base_conf.php.dist -rwxr-xr-x 1 root root 6.5K Apr 4 05:26 base_db_common.php -rwxr-xr-x 1 root root 24K Apr 4 05:26 base_db_setup.php -rwxr-xr-x 1 root root 1.6K Apr 4 05:26 base_denied.php -rwxr-xr-x 1 root root 1.7K Apr 4 05:26 base_footer.php -rwxr-xr-x 1 root root 17K Apr 4 05:26 base_graph_common.php -rwxr-xr-x 1 root root 4.6K Apr 4 05:26 base_graph_display.php -rwxr-xr-x 1 root root 13K Apr 4 05:26 base_graph_form.php -rwxr-xr-x 1 root root 12K Apr 4 05:26 base_graph_main.php -rwxr-xr-x 1 root root 118 Apr 4 05:26 base_hdr1.php -rwxr-xr-x 1 root root 490 Apr 4 05:26 base_hdr2.php -rwxr-xr-x 1 root root 14K Apr 4 05:26 base_main.php -rwxr-xr-x 1 root root 9.2K Apr 4 05:26 base_maintenance.php -rwxr-xr-x 1 root root 26K Apr 4 05:27 base_qry_alert.php -rwxr-xr-x 1 root root 30K Apr 4 05:27 base_qry_common.php -rwxr-xr-x 1 root root 9.3K Apr 4 05:27 base_qry_form.php -rwxr-xr-x 1 root root 7.2K Apr 4 05:27 base_qry_main.php -rwxr-xr-x 1 root root 8.7K Apr 4 05:27 base_qry_sqlcalls.php -rwxr-xr-x 1 root root 13K Apr 4 05:27 base_stat_alerts.php -rwxr-xr-x 1 root root 8.2K Apr 4 05:27 base_stat_class.php -rwxr-xr-x 1 root root 17K Apr 4 05:27 base_stat_common.php -rwxr-xr-x 1 root root 12K Apr 4 05:27 base_stat_ipaddr.php -rwxr-xr-x 1 root root 7.3K Apr 4 05:27 base_stat_iplink.php -rwxr-xr-x 1 root root 9.4K Apr 4 05:27 base_stat_ports.php -rwxr-xr-x 1 root root 6.9K Apr 4 05:27 base_stat_sensor.php -rwxr-xr-x 1 root root 14K Apr 4 05:27 base_stat_time.php -rwxr-xr-x 1 root root 8.1K Apr 4 05:27 base_stat_uaddr.php -rwxr-xr-x 1 root root 4.6K Apr 4 05:27 base_user.php drwxr-xr-x 2 root root 4.0K Apr 4 05:28 docs drwxr-xr-x 2 root root 4.0K Apr 4 05:27 help drwxr-xr-x 2 root root 4.0K Apr 4 05:27 images drwxr-xr-x 3 root root 4.0K Apr 5 03:26 includes -rwxr-xr-x 1 root root 3.1K Apr 4 05:27 index.php drwxr-xr-x 2 root root 4.0K Apr 4 05:27 languages drwxr-xr-x 2 root root 4.0K Apr 4 05:28 scripts drwxr-xr-x 2 root root 4.0K Apr 4 05:28 setup drwxr-xr-x 2 root root 4.0K Apr 4 05:28 sql drwxr-xr-x 2 root root 4.0K Apr 4 05:27 styles ---------------------------------------------------------------------The official User-To-User support forum of the Apache HTTP Server Project.See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxxHi All,my document=root is /var/www/html. What I don't understand, is, I can see index.php in the browser which is in /var/www/html. Why can't I access other directories.? I don't see it as a permissions issue. Is there something not right in my httpd.conf file..? Cheers.Mark Sargent. ---------------------------------------------------------------------The official User-To-User support forum of the Apache HTTP Server Project.See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
Hi All,okay, furthermore, I created a dir, testphp and moved the index.php file into it, and with localhost/testphp/index.php I could see it in my browser. Below is the permissons of files/dir in html dir.
[root@localhost html]# ls -alh total 48K drwxr-xr-x 7 root root 4.0K Apr 13 13:48 . drwxr-xr-x 3 root root 4.0K Apr 12 14:18 .. drwxr-xr-x 13 root root 4.0K Mar 29 15:59 adodb drwxr-xr-x 12 root root 4.0K Apr 6 15:48 base-1.1 -rw-r--r-- 1 root root 16K Apr 13 13:08 index.php drwxr-xr-x 4 root root 4.0K Mar 29 15:57 jpgraph drwxr-xr-x 7 root root 4.0K Apr 13 13:44 phpmyadmin drwxr-xr-x 2 root root 4.0K Apr 13 13:48 testphp -rw-r--r-- 1 root root 19 Mar 11 16:11 test.php Cheers. Mark Sargent. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx