403 forbidden

Problems with the Linux version of XAMPP, questions, comments, and anything related.

403 forbidden

Postby craig-apache » 31. January 2005 18:08

#DocumentRoot "/usr/local/apache/htdocs"
DocumentRoot "/home/craig/sphpblog-0.4.0"


I'm trying to set up a link to a php blog engine.
I'm new to this
The < DocumentRoot "/usr/local/apache/docs" works !
but when I set the DocumentRoot to the location of the php blog's index.php I get this error

[root@localhost sphpblog-0.4.0]# ls -l
total 576
-rwxr-xr-x 1 craig root 6183 Dec 27 19:49 add_block.php
-rwxr-xr-x 1 craig root 4609 Dec 28 11:56 add_cgi.php
-rwxr-xr-x 1 craig root 5781 Jan 18 11:10 add_link.php
-rwxr-xr-x 1 craig root 5952 Dec 28 11:48 add.php
-rwxr-xr-x 1 craig root 1675 Oct 18 16:36 add_static_cgi.php
-rwxr-xr-x 1 craig root 4496 Jan 2 10:14 add_static.php
-rwxr-xr-x 1 craig root 403 Nov 8 16:35 atom.php
-rwxr-xr-x 1 craig root 10835 Jan 6 19:03 categories.php
-rwxr-xr-x 1 craig root 2519 Nov 30 14:44 colors_cgi.php
-rwxr-xr-x 1 craig root 7516 Nov 30 16:02 colors.php
-rwxr-xr-x 1 craig root 2720 Jan 4 11:52 comment_add_cgi.php
-rwxr-xr-x 1 craig root 1778 Oct 18 16:36 comment_delete_cgi.php
-rwxr-xr-x 1 craig root 10194 Jan 4 11:50 comments.php
-rwxr-xr-x 1 craig root 1560 Jan 18 12:14 contact_cgi.php
-rwxr-xr-x 1 craig root 2374 Nov 22 12:45 contact.php
-rwxr-xr-x 1 craig root 3039 Oct 18 16:36 delete.php
-rwxr-xr-x 1 craig root 3285 Oct 18 16:36 delete_static.php
drwxr-xr-x 2 craig root 4096 Jan 18 13:28 docs
-rwxr-xr-x 1 craig root 1001 Nov 28 05:04 downgrade.php
drwxr-xr-x 2 craig root 4096 Jan 18 13:34 flash
-rwxr-xr-x 1 craig root 1201 Sep 20 09:38 image_list.php
-rwxr-xr-x 1 craig root 4754 Jan 18 00:01 index.php
-rwxr-xr-x 1 craig root 4185 Oct 18 16:36 info.php
-rwxr-xr-x 1 craig root 2282 Sep 20 09:38 install00.php
-rwxr-xr-x 1 craig root 1530 Sep 20 09:38 install01.php
-rwxr-xr-x 1 craig root 2650 Sep 20 09:38 install02.php
-rwxr-xr-x 1 craig root 1558 Sep 20 09:38 install03_cgi.php
-rwxr-xr-x 1 craig root 2239 Sep 20 09:38 install03.php
drwxr-xr-x 3 craig root 4096 Jan 18 13:28 interface
drwxr-xr-x 19 craig root 4096 Jan 18 13:35 languages
-rwxr-xr-x 1 craig root 5294 Jan 1 20:52 languages_cgi.php
-rwxr-xr-x 1 craig root 2780 Jan 1 22:59 languages.php
-rwxr-xr-x 1 craig root 1685 Jan 18 10:55 login_cgi.php
-rwxr-xr-x 1 craig root 1975 Sep 20 09:38 login.php
-rwxr-xr-x 1 craig root 1059 Sep 20 09:38 logout.php
-rwxr-xr-x 1 craig root 2358 Oct 18 16:36 options_cgi.php
-rwxr-xr-x 1 craig root 22803 Nov 29 13:47 options.php
-rwxr-xr-x 1 craig root 7789 Dec 28 11:58 preview_cgi.php
-rwxr-xr-x 1 craig root 5984 Dec 27 19:50 preview_static_cgi.php
-rwxr-xr-x 1 craig root 2307 Jan 2 15:34 rate_cgi.php
-rwxr-xr-x 1 craig root 400 Nov 8 16:35 rdf.php
-rwxr-xr-x 1 craig root 908 Sep 20 09:39 recompress.php
-rwxr-xr-x 1 craig root 400 Nov 8 16:35 rss.php
drwxr-xr-x 2 craig root 4096 Jan 18 13:36 scripts
-rwxr-xr-x 1 craig root 1348 Sep 20 09:39 search.php
-rwxr-xr-x 1 craig root 1345 Sep 20 09:39 set_login_cgi.php
-rwxr-xr-x 1 craig root 2025 Sep 20 09:39 set_login.php
-rwxr-xr-x 1 craig root 2886 Nov 29 12:32 setup_cgi.php
-rwxr-xr-x 1 craig root 12027 Nov 29 15:04 setup.php
-rwxr-xr-x 1 craig root 1616 Oct 18 16:36 static.php
-rwxr-xr-x 1 craig root 6904 Jan 18 12:39 stats.php
drwxr-xr-x 4 craig root 4096 Jan 18 13:36 themes
-rwxr-xr-x 1 craig root 3383 Oct 18 16:36 themes.php
-rwxr-xr-x 1 craig root 1745 Nov 24 14:22 trackback_delete_cgi.php
-rwxr-xr-x 1 craig root 7956 Nov 27 17:09 trackback.php
-rwxr-xr-x 1 craig root 922 Jan 18 11:39 upgrade.php
-rwxr-xr-x 1 craig root 1929 Oct 18 16:36 upload_img_cgi.php
-rwxr-xr-x 1 craig root 9972 Sep 28 14:06 upload_img_new.php
-rwxr-xr-x 1 craig root 1489 Jun 17 2004 upload_img.php


I included this to show you the owner and group settings. I've tried a root owner and get the same 403 error.

This may or maynot be the safest settup...I just wanted to test this blog engine to see if iit would meet my needs. I've read something about setting up a "virtual" reference in my httpd.conf
craig-apache
 
Posts: 1
Joined: 31. January 2005 17:55
Location: nd

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 1 guest