[PHP] Re: [PHP-WIN] SSL Support for PHP....

2002-06-14 Thread Stuart Dallas

On Friday, June 14, 2002, 9:13:59 AM, Brian McGarvie wrote:
 How does IIS fair against Apache with servring multiple sites? each site will be 
like... http://customername.ourdomain.co.uk

Both are capable of serving multiple sites without any issues that I am aware
of.

 Also - more an IIS/Apache Q, how do you configure the above to work in both IIS and 
Apache?

In IIS you set the host header for the site when you set the IP for the site.
In Apache you use the NameVirtualHost directive. See the MSIIS and Apache docs
for more detailed instructions.

 We arenot using ASP - yet, but might do at a later date... can IIS and Apache live 
together? if so how would you confirue a site who's PHP is served with Apache and ASP 
with IIS.

IIS and Apache can live together happily. You have to disable connection
pooling for IIS (can't remember how - there is a knowledge-base article on the
MS site that gives full details).

Why would you want to have Apache serve PHP and IIS serve ASP for the same
site? Why not just have IIS do both?

 SSL Certificates... how do they work on Apache? IIS is a simple Wizard, I've not had 
to set SSL up before.

Dunno, never used SSL with Apache. Sorry.

I hope that helps.

-- 
Stuart


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] RE: [PHP-WIN] SSL Support for PHP....

2002-06-14 Thread Brian McGarvie

Basically then there is no real reason for Apache over IIS on win2k server?

I am the admin of the Webservers, but the overall network manager would like to keep 
it MS-centric just because all the rest is.

With our leased line we aqquired 16 ips, so in the IIS config I would just use that IP 
and keep it port 80?

(I will read the manual, I will read the manual, I will read the manual!)

SSL is a must for a few of the 'sites' that will be getting ran.

As for ASP *shudder* I personally don't plan on using it, tho I might experiment with 
asp.net but thats a by-the-by.

I'm kinda trying to verify that using IIS with PHP isapi module is as secure as Apache?

Heres a strange one tho jist on the side: I installed Apache2/PHP on my own machine 
(used for writing code etc) and copied the application to an apache location, and ran 
it, but... there is supposedly files missing according to apache, all is as on the 
other machine - files/code wise.

One last item I need some advise with... is IIS able to handle LOTS of sites accross 
multiple servers? as we have lots of clients so in the future will possibly need a 
machine to load-balance etc and seperate database serving machines - databases 
primarily MsSQL/Access/MySQL.

Btw, thanks Stuart, thats kinda making me feel easier about keeping it IIS.

 -Original Message-
 From: Stuart Dallas [mailto:[EMAIL PROTECTED]]
 Sent: 14 June 2002 10:52 AM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Re: [PHP-WIN] SSL Support for PHP
 
 
 On Friday, June 14, 2002, 9:13:59 AM, Brian McGarvie wrote:
  How does IIS fair against Apache with servring multiple 
 sites? each site will be like... http://customername.ourdomain.co.uk
 
 Both are capable of serving multiple sites without any issues 
 that I am aware
 of.
 
  Also - more an IIS/Apache Q, how do you configure the above 
 to work in both IIS and Apache?
 
 In IIS you set the host header for the site when you set the 
 IP for the site.
 In Apache you use the NameVirtualHost directive. See the 
 MSIIS and Apache docs
 for more detailed instructions.
 
  We arenot using ASP - yet, but might do at a later date... 
 can IIS and Apache live together? if so how would you 
 confirue a site who's PHP is served with Apache and ASP with IIS.
 
 IIS and Apache can live together happily. You have to disable 
 connection
 pooling for IIS (can't remember how - there is a 
 knowledge-base article on the
 MS site that gives full details).
 
 Why would you want to have Apache serve PHP and IIS serve ASP 
 for the same
 site? Why not just have IIS do both?
 
  SSL Certificates... how do they work on Apache? IIS is a 
 simple Wizard, I've not had to set SSL up before.
 
 Dunno, never used SSL with Apache. Sorry.
 
 I hope that helps.
 
 -- 
 Stuart
 
 
 -- 
 PHP Windows Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: [PHP-WIN] SSL Support for PHP....

2002-06-14 Thread Stuart Dallas

On Friday, June 14, 2002, 11:07:24 AM, Brian McGarvie wrote:
 Basically then there is no real reason for Apache over IIS on win2k server?

Not now Apache 2 is here. Apache 1.x has always been considered by the Apache
group as beta code and therefore not suitable for use in a production
environment. I have been using Apache 2 for development on Win2k since it was
first released to the public and I will upgrade my public server as soon as PHP
releases a production version of their module. I have IIS on the same server
and have never had a problem with them co-existing.

 With our leased line we aqquired 16 ips, so in the IIS config I would just use that 
IP and keep it port 80?

In the site configuration, click on the Advanced... button next to the IP
address. Make sure that each entry has the IP address, port 80 and the host
header set to the site domain name.

 (I will read the manual, I will read the manual, I will read the manual!)

A very good idea ;o)

 SSL is a must for a few of the 'sites' that will be getting ran.

As I said, I have not experience with SSL on Apache, but on IIS it is as simple
as following a wizard.

 I'm kinda trying to verify that using IIS with PHP isapi module is as secure as 
Apache?

A web server is only as secure as it's administrator is anal. I personally
believe that IIS on Win2k can be made as secure as Apache on any platform, but
not a lot of people agree with that. As for how secure PHP is, most of that
will depend on the scripts rather than the server/PHP interface you're using.

 Heres a strange one tho jist on the side: I installed Apache2/PHP on my own machine 
(used for writing code etc) and copied the application to an apache location, and ran 
it, but... there is
 supposedly files missing according to apache, all is as on the other machine - 
files/code wise.

What files did it say were missing? Were they scripts, modules, what?

 One last item I need some advise with... is IIS able to handle LOTS of sites accross 
multiple servers? as we have lots of clients so in the future will possibly need a 
machine to load-balance etc
 and seperate database serving machines - databases primarily MsSQL/Access/MySQL.

Again, here is where my experience falls short. I have not yet had a chance to
be involved in a load-balanced project. However, I would expect that there
would be little difference whether you implement it using IIS or Apache.

 Btw, thanks Stuart, thats kinda making me feel easier about keeping it IIS.

No problem. Don't get me wrong, I think the ?AMP combination
(Linux/FreeBSD/etc, Apache, MySQL and PHP) is unbeatable as a server platform,
but I strongly believe that, done properly, IIS on Win2k is still a strong
platform. The problem is that MS have (purposefully) made IIS accessible to the
average PC user which I think is one of the main reasons that it has *that*
reputation.

-- 
Stuart


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php