Forum Moderators: phranque

Message Too Old, No Replies

Apache / php "clickable error messags"

but I get 403 Forbidden

         

GrapefruiTgirl

10:41 am on Aug 16, 2006 (gmt 0)

10+ Year Member



Heya all :) OK, my Apache 2.0.59 works fine, and php 4.4.2 is installed and working fine as well.. No functional or scripting issues whatsoever. This is set up as a design/testing server on WinXP.
But! I have enabled the "Clickable Error Messages" so php-error messages from the server contain a link to the php Manual for detailed error info.
The links are present in the error messages, but when I click one, I get a 403 Forbidden (you don't have access to "/blah/blah/PHPManual on this server...")
I have googled everything I could find, read and reread the .conf and .ini files and relevant sections of the PHP manual and Apache manual.. I have looked into the error.log & access.log but there isn't much of use there, though the access errors are indeed logged in there. And I searched webmasterworld for anything on this issue, but came up empty.
I feel this is a simple config or permissions issue, but I can't find it :(
Any suggestions appreciated :)
Sasha

jdMorgan

1:28 pm on Aug 16, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



In your server error log, carefully examine the path that your server attempted to access when you clicked on one of these error message links. That will need to be a correct filepath that will work on your computer, and one that Apache can read.

Jim

GrapefruiTgirl

1:37 pm on Aug 16, 2006 (gmt 0)

10+ Year Member



LOL.. Ya know, I think my EARLYYY morning brilliance blinded me into dense-ness.. I had downloaded the PHP Manual as ONE html file; rather, I think I should have downloaded the version with "MANY" html files.. :)
I am doing this now..
Meanwhile, I have gotten it to give me a file not found instead of the 403 Forbidden, as I did have the path wrong at first, but eventually got it right a whole bunch of times, but the files just aren't there!
Lesson: Don't work with config files too early in the day..
Will update again after download (Im on dialup :( )
Thanks Jim ;)

Sasha

UPDATE: Success! I needed the MANY html files version of the manual. initially I must have had the path incorrect so was getting the 403. I don't remember exactly what that incorrect path was, but now, with all the individual html help files in the right path in the htdocs folder, it works like a charm ;)
Thank you Jim, and sorry for my early morning denseness detracting you from others who REALLY need help and arent half asleep :)
Sasha

[edited by: GrapefruiTgirl at 1:54 pm (utc) on Aug. 16, 2006]