It HAS to be an IIS thing (as I actually set this functionality up for an
intranet server - i.e. security abstracted from the application via the NT
domain - very neat for an intranet but VERY annoying for you right now....

go to the IIS management console (my quick way is to right click on the my
computer icon and select manage and then work my way down the tree
(services->IIS (right at the bottom)....

... right you should now have the IIS Ms Management console on your screen
with the tree on the left with something like web service, ftp service mail
service etc...

... ok go to the virtual host you setup (not quite sure why you used a
virtual host in this situation (is it another server?) ... then right click
select properties, then select directory security then select the anonymous
access / auth control edit box....

... on the next screen make sure anonymous access is selected AND basic
authentication and integrated windows auth are unchecked ... then apply the
changes and apply them to the child directories if prompted

And hopefully that will fix it (if not i haven't a fecking clue!) as it
works for me (although I don't use virtual directories) and I've used Win
NT4 Svr, Win2k Pro, Win2K Server and WinXP Pro with IIS 4/5/5.1, with this
security on and off!

Sorry if you have already tried the above!

Ollie

-----Original Message-----
From: Josh Seward [mailto:[EMAIL PROTECTED]]
Sent: 01 February 2002 10:51
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] RE: PHP INSTALL FILES


exactly this:
 B. that you can't run scripts unless you login to the server via a HTTP
authentication browser prompt

Once I login the scripts run fine!

without php http://132.235.75.117

with php http://132.235.75.117/php

This http://132.235.75.117 (server A) is a different server than this
http://132.235.75.117/php (server B) if that helps in explaining it at all.

Hope this info helps. I really appreciate your help.
Thanks again,


----- Original Message -----
From: "Oliver Cronk" <[EMAIL PROTECTED]>
To: "Josh Seward" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, January 31, 2002 11:51 PM
Subject: RE: [PHP-WIN] RE: PHP INSTALL FILES


> Hmmm ok, I'll have a think about this one and get back to you I could
still
> do with some clarification however:
>
> Explain exactly what the problem is again so I understand a bit better -
at
> the moment I think either:
> A. you can't see the results of scripts unless you are running them
locally
> (via the web browser on your win2000 server) and the system is logged in
as
> you
> OR B. that you can't run scripts unless you login to the server via a HTTP
> authentication browser prompt.  Which of these is it (or is it neither!)
>
> Do you make use of any db stuff?  What are any error messages you receive?
>
> When you say virtual host you mean an IIS virtual directory?  I am also
> presuming you are using IIS and NOT apache?
>
> I still think this could be an IIS issue (the directory security tab not
> being setup correctly) if its problem B if its problem A then its got to
be
> file / service permissions.
>
> Ollie
>
> -----Original Message-----
> From: Josh Seward [mailto:[EMAIL PROTECTED]]
> Sent: 01 February 2002 10:27
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] RE: PHP INSTALL FILES
>
>
> I have set promissions for every dir and file I am aware of. I have setup
> php successfully on my win2000 machine. Although this setup is on win2000
> and will be acccessed through a virtual host. Again I have set promitions
> for the php dir and its files. php.exe, php.ini, phpt4s.dll Are there
others
> I am not aware of. I set promitions to allow web users by the way.
>
>
> Thanks,
>
> Josh Seward
> [EMAIL PROTECTED]
>
> ----- Original Message -----
> From: "Oliver Cronk" <[EMAIL PROTECTED]>
> To: "Josh Seward" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Thursday, January 31, 2002 9:39 PM
> Subject: [PHP-WIN] RE: PHP INSTALL FILES
>
>
> > Could be then that the scripts need their permission's changing (as you
> > created the scripts you own the scripts) right click on them in explorer
> and
> > choose properties, then have a look at the permissions tab, you are
going
> to
> > want to give everyone access to execute them I believe.
> >
> > Alternatively it could be that you own the PHP.exe service (the main PHP
> > engine) so check the PHP files, and folders for a similar permissions
> > problem.
> >
> > You will know if you need to change permissions if you appear to be the
> only
> > user who can access the files (i.e. try logging in as someone else and
see
> > if you can get to the files).
> >
> > Hope that helps - this is appears to be an NTFS issue really.
> >
> > Cheers
> >
> > Ollie Cronk
> >
> > -----Original Message-----
> > From: Josh Seward [mailto:[EMAIL PROTECTED]]
> > Sent: 01 February 2002 08:15
> > To: [EMAIL PROTECTED]
> > Subject: Re: PHP INSTALL FILES
> >
> >
> > the problem is. When I run php scripts I have to login.
> >
> >
> > ----- Original Message -----
> > From: "Oliver Cronk" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> > Sent: Thursday, January 31, 2002 8:49 PM
> > Subject: Re: PHP INSTALL FILES
> >
> >
> > > Not 100% sure what you mean!  It could be that IIS is configured to
use
> > > Integrated Security (i.e. server / domain usernames and passwords are
> > > required to gain access) if this is the case then go into IIS MMC and
> > change
> > > the options for the web site (eg allow anonymous access)
> > >
> > > Hope that helps - if not then elaborate on what the problem is.
> > >
> > > Cheers
> > >
> > > Ollie
> > >
> > >
> > > "Josh Seward" <[EMAIL PROTECTED]> wrote in message
> > > news:<003401c1aaa3$e5c700a0$9400a8c0@wisestructures>...
> > > I have setup php on IIS. The site host machine is different from the
> > machine
> > > running php, mysql. I have setup provisions on all folders and files I
> > think
> > > are needed. php.exe (Folder) php.ini php4ts.dll
> > >
> > > Is there something I am leaving out or forgetting? I cannot access php
> > files
> > > without entering a username password.
> > >
> > > Thanks for any help!
> > >
> > >
> > >
> > > ----------
> > >
> > >
> > >
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>
>
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to