Include authentication problem

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View


In my httpd error_log file I get following error :

[Tue Oct 07 19:22:04 2008] [error] [client] PHP Warning:
[<a href='function.include'>function.include</a>]: failed to open
stream: HTTP request failed! HTTP/1.1 401 Authorization Required\r\n
in /mnt/vg_hdg_3/alegra/website/php/hoofdmenu.php on line 43
[Tue Oct 07 19:22:04 2008] [error] [client] PHP Warning:
include() [<a href='function.include'>function.include</a>]: Failed
opening 'http://filuntu/php/includes/header.php?
for inclusion (include_path='/mnt/vg_hdg_3/alegra/website/php/
includes') in /mnt/vg_hdg_3/alegra/website/php/hoofdmenu.php on line

When I open the URl "http://filuntu/php/includes/header.php?
It opens immediatly.

What is the problem and how can I solve it ?
Has it something to do with "allow_url_include" ?  This is set to

This used to work.  I really don't know why it gives the error.

Thanks a lot,


Re: Include authentication problem wrote:
Quoted text here. Click to load it

It means your web server is set up to require authorization to include
this file.

Is it your own file?  If so, you shouldn't be using http: (which
requires another request to the server) and just include the file directly.

Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.

Re: Include authentication problem

On 7 Oct, 18:52, wrote:
Quoted text here. Click to load it
Quoted text here. Click to load it

You're probably still getting the error - just not seeing it on the

Quoted text here. Click to load it

It depends what you mean by "used to work".

Maybe someone changed the permissions at the other end?


Site Timeline