Page 1 of 1
Help - prompt for admin password when viewing php file
Posted: Mon Jun 06, 2005 9:13 am
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:
Re: Help - prompt for admin password when viewing php file
Posted: Mon Jun 06, 2005 9:25 am
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
Posted: Mon Jun 06, 2005 9:38 am
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
Posted: Mon Jun 06, 2005 9:40 am
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
Posted: Mon Jun 06, 2005 9:42 am
by malcolmboston
apache authentication, commonly referred to as HTACCESS.
however, your problem doesnt lie there
but i can bet
my best friends knows
Posted: Mon Jun 06, 2005 10:11 am
by HS0018
Thank you. I will do more research on this.
Posted: Mon Jun 06, 2005 10:34 am
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.
Posted: Mon Jun 06, 2005 10:38 am
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
Posted: Mon Jun 06, 2005 3:29 pm
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
Posted: Mon Jun 06, 2005 4:12 pm
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