Help - prompt for admin password when viewing php file

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
HS0018
Forum Newbie
Posts: 23
Joined: Thu Jun 02, 2005 2:39 pm

Help - prompt for admin password when viewing php file

Post by HS0018 »

I have a problem viewing the php file on the browser. When I went to the site, it prompted for administration password. I did some research on it and suggest that I give read and executable file to IUSR<machine> to the PHP directory folder.

I did that and it comes with this error:

CGI Error. The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Re: Help - prompt for admin password when viewing php file

Post by malcolmboston »

HS0018 wrote:I have a problem viewing the php file on the browser. When I went to the site, it prompted for administration password.
What exactly was this? HTACCESS? (Apache Authentication), if you dont know, do a screenshot

ps. also mate, if you could delete your other post it would be much easier for people to help you and would make people more willing to do so
HS0018
Forum Newbie
Posts: 23
Joined: Thu Jun 02, 2005 2:39 pm

Post by HS0018 »

I apologize for that. I figure that this post would me more appropriate on the "Apache,IIS,Web Servers" forum. I will delete on that forum and use this one instead.

Thank you
HS0018
Forum Newbie
Posts: 23
Joined: Thu Jun 02, 2005 2:39 pm

Post by HS0018 »

It looks like a prompt for network password. If you go to below address, you will see what I'm referring to.

http://www.familyhorizons.com/css_page.php

Thank you
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post by malcolmboston »

apache authentication, commonly referred to as HTACCESS.
however, your problem doesnt lie there

but i can bet my best friends knows
HS0018
Forum Newbie
Posts: 23
Joined: Thu Jun 02, 2005 2:39 pm

Post by HS0018 »

Thank you. I will do more research on this.
HS0018
Forum Newbie
Posts: 23
Joined: Thu Jun 02, 2005 2:39 pm

Post by HS0018 »

Guys, the funny thing is that If the slot is run as a local administrator then the error does not
occur, similiary if you remove the IUSR access to the slot so that you are prompted for authentication, and you use an administrator account.

hmmm... If I did not give IUSR an access, it will prompt me for a password.
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post by malcolmboston »

sounds to me that under the conditions that are causing the error, the user running it does not have access to it, try changing file permissions
HS0018
Forum Newbie
Posts: 23
Joined: Thu Jun 02, 2005 2:39 pm

Post by HS0018 »

I've tried everything but do not have any luck. I even try to use the server side file, shtml. It still prompts for network password. Logically, any file extesion beside .pdf, .html, .htm, .jpg, and .gif require a network password. Is there a configuration that I need to check.

If anyone has suggestion, feel free. I'm stuck and need help. Thank you so much for your busy time
HS0018
Forum Newbie
Posts: 23
Joined: Thu Jun 02, 2005 2:39 pm

Post by HS0018 »

FYI, I'm using windows NT as my web server. Thank you

Also, it seems like everytime I give IUSR_MACHINE permission to execute in php-cgi.exe. It gives CGI error.

Thank you
Post Reply