You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by testic <te...@btinternet.com> on 2002/04/23 01:19:46 UTC

IIS on Win2000

Hi Guys,

First of all, I'm not sure if I'm doing this correctly as I've never posted
to one of these things before. :)

Just a few thoughts on Apache and websites in general:

I've seen a handful of questions regarding the use of IIS or other
webservers running in a Windows environment. Firstly, IIS is expensive,
around £700(sterling) for a server liscence, whether or not you actually
need the Server edition to host websites I'm not sure. The isuue of sockets
has arisen, I had this problem on Win98 a while back and I discovered that
you can add a key to the registry to allow an arbitary number of open
connections (I think there is a limit of around 1024, which seems OK to me).
Another potential issue is the number of allowed pending (AKA 'SYN_sent')
connections, ie when a user has sent a SYN to the server and the server has
replied with its ACK. I know that NT only allows 8 or so of these so there
could be problems with SYN flooding there.

Also there are other Web servers available for Windows depending on how
quickly you want to set it up, for example Analog-X's 'SimpleServer'
(http://www.analogx.com/contents/download/network.htm) works, and will be up
and running in under 10 secs, but its not really an enterprise standard
piece of software.

In reply to Soheil's question(s):

> 1. Do I actually need to have an NT machine, or a Win2000 Server to setup
a
web server, or can I just use a Win2000 software to do this?

I would recomend that you use Win200 Professional Edition rather than NT for
any web based activities. Aside from the OS CD itself you would need IIS or
whatever server you choose.

> 2. Is it fairly simple to operate a Windows server remotely?

Yes. you can use a program like VNC or PCAnywhere to connect to the machine
and it would be exactly as if you were sat at the machine. Or you can use a
web-based frontend where you can enter a password and change settings, DNS
configuration, E-mail accounts etc.

> 3. Can anyone give me some quick pointers to get me started on this please
?

I shall try if youre still interested. :)

And now to whats really bugging me:

Having worked for years designing websites for various companies I landed a
job at an IT company where theyre using all PC based solutions (IIS,
WinRoute Pro etc), trouble is theyre all trial, shareware or 'dodgy'
versions and the bosses at the company are a bit worried about being
audited. Result is they need to spend £1000's on various liscences, so I
thought 'Why not use Linux, Apache and all to create a cost effective and
secure solution?'. Trouble is I (and the others) have no experience with
Linux and I'm finding setting up Apache to be rather hard work, and judging
by the amount of other mail on this mailing list I'm not the only one. So,
would it possibly be an idea to add some kind of a configuration program? Or
maybe even a frontend (to ease transition from Windows for the rest of us)??

I would be only too glad to aid in such a venture, although I must confess
that I have no programming abilities whatsoever, but I can always beta test.

Testic


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: I see the ASP script instead of the page

Posted by Owen Boyle <ob...@bourse.ch>.
Giannis Giakas wrote:
> 
> Thanks Owen
> 
> You are talking to a non specialist :-(. Yes, the ASP is based on
> Vbscript.
> 
> Say that I am using the APACHE-ASP which I downloaded and placed in c:\
> (c:\perl)
> 
> What is the script I need to enter in the httpd.conf ?

We'll assume you have installed ASP.pm into your perl distribution...
AND... that you have mod_perl installed (if you haven't - you need to
find a binary, check: http://perl.apache.org/distributions.html)

The simplest way (IMHO) is to use this:

  # General server-wide ASP enable
  <Files *.asp>
    SetHandler  perl-script
    PerlModule  Apache::ASP
    PerlHandler Apache::ASP
    PerlSetVar  Global .
    PerlSetVar  StateDir /tmp/asp
  </Files>

Now every file called anything.asp will be passed to the ASP handler and
parsed before being served. Full instructions at:
http://www.apache-asp.org/

A word of caution - apache ASP is based on the Perl programming language
and is heavily object-oriented. It will require a certain effort to
learn how to use it if you are not a programmer (this is way more than
building HTML pages...)

Rgds,

Owen Boyle.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: I see the ASP script instead of the page

Posted by Giannis Giakas <gg...@cc.uoi.gr>.
Thanks Owen

You are talking to a non specialist :-(. Yes, the ASP is based on
Vbscript.

Say that I am using the APACHE-ASP which I downloaded and placed in c:\
(c:\perl) 

What is the script I need to enter in the httpd.conf ?

You are helping big time here !

Giannis


> Giannis Giakas wrote:
> > 
> > Thanks, I have no idea about linux. Do you know any solutions for 
> > win2000 ?
> 
> The solution goes in the httpd.conf so it is platform 
> independent, i.e. you do the same thing: define a handler.
> 
> Also, be aware that ASP (to my mind anyway) is a generic 
> term. I get a funny feeling you are talking about M$-ASP 
> which is based on VBscript... To get this to work with apache 
> you need at least Chilisoft (http://www.chilisoft.org/ - 
> you'll get full instructions there). In addition, there is 
> apache-ASP which is perl-based.
> 
> Rgds,
> 
> Owen Boyle.
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP 
> Server Project. See 
> <URL:http://httpd.apache.org/userslist.html> for more info. 
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: I see the ASP script instead of the page

Posted by Owen Boyle <ob...@bourse.ch>.
Giannis Giakas wrote:
> 
> Thanks, I have no idea about linux. Do you know any solutions for
> win2000 ?

The solution goes in the httpd.conf so it is platform independent, i.e.
you do the same thing: define a handler.

Also, be aware that ASP (to my mind anyway) is a generic term. I get a
funny feeling you are talking about M$-ASP which is based on VBscript...
To get this to work with apache you need at least Chilisoft
(http://www.chilisoft.org/ - you'll get full instructions there). In
addition, there is apache-ASP which is perl-based.

Rgds,

Owen Boyle.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: I see the ASP script instead of the page

Posted by Giannis Giakas <gg...@cc.uoi.gr>.
Thanks, I have no idea about linux. Do you know any solutions for
win2000 ?

Cheers

Giannis


> -----Original Message-----
> From: chad kellerman [mailto:ckellerman@alabanza.com] 
> Sent: Tuesday, April 23, 2002 2:53 PM
> To: users@httpd.apache.org
> Subject: Re: I see the ASP script instead of the page
> 
> 
> Are you using CHilisoft Asp.  Apache does not know what .asp 
> extensions are unless you have them pointing to a module in 
> the httpd.conf..
> 
>    I am familiar with CHiliSoft running on linux.  In this 
> case you need soething like:
> 
> LoadModule casp2_module 
> /opt/casp/module/linux2_optimized/apache_1.3.20/standard/mod_casp2.so
> 
> AddHandler chiliasp .asp
> AddHandler chiliasp .asa
> CaspLib /opt/casp/asp-apache-3000
> 
>     THe AddHandlers tell apache what to do with the web pages 
> that have the .asp or .asa extension.
> 
> --chad
> 
> 
> On Tue, 23 Apr 2002 14:43:13 +0300
> "Giannis Giakas" <gg...@cc.uoi.gr> wrote:
> 
> > I downloaded the perl-win32-bin-07.exe and placed all the 
> files in the 
> > c:\ directory.
> > 
> > The APACHE starts OK.
> > 
> > I removed all the html files at the htdocs and placed my index.asp 
> > file
> > 
> > I also included in the DIRECTORYINDEX the index.asp (as well as with
> > index.html)
> > 
> > I open explorer  http://localhost/
> > 
> > It gives me the script of the ASP file instead of the web page.
> > 
> > Any help here folks ?
> > 
> > Many thanks
> > 
> > 
> > 
> > Giannis
> > ---------------------
> > 
> > Giannis Giakas PhD
> > Medical School
> > University of Ioannina
> > 
> > ggiakas@cc.uoi.gr
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server 
> > Project. See <URL:http://httpd.apache.org/userslist.html> for more 
> > info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> > 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP 
> Server Project. See 
> <URL:http://httpd.apache.org/userslist.html> for more info. 
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: I see the ASP script instead of the page

Posted by chad kellerman <ck...@alabanza.com>.
Are you using CHilisoft Asp.  Apache does not know what .asp extensions are unless you have them pointing to a module in the httpd.conf..

   I am familiar with CHiliSoft running on linux.  In this case you need soething like:

LoadModule casp2_module /opt/casp/module/linux2_optimized/apache_1.3.20/standard/mod_casp2.so

AddHandler chiliasp .asp
AddHandler chiliasp .asa
CaspLib /opt/casp/asp-apache-3000

    THe AddHandlers tell apache what to do with the web pages that have the .asp or .asa extension.

--chad


On Tue, 23 Apr 2002 14:43:13 +0300
"Giannis Giakas" <gg...@cc.uoi.gr> wrote:

> I downloaded the perl-win32-bin-07.exe and placed all the files in the
> c:\ directory.
> 
> The APACHE starts OK. 
> 
> I removed all the html files at the htdocs and placed my index.asp file
> 
> I also included in the DIRECTORYINDEX the index.asp (as well as with
> index.html)
> 
> I open explorer  http://localhost/
> 
> It gives me the script of the ASP file instead of the web page.
> 
> Any help here folks ?
> 
> Many thanks
> 
> 
> 
> Giannis
> --------------------- 
> 
> Giannis Giakas PhD
> Medical School
> University of Ioannina
> 
> ggiakas@cc.uoi.gr
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


I see the ASP script instead of the page

Posted by Giannis Giakas <gg...@cc.uoi.gr>.
I downloaded the perl-win32-bin-07.exe and placed all the files in the
c:\ directory.

The APACHE starts OK. 

I removed all the html files at the htdocs and placed my index.asp file

I also included in the DIRECTORYINDEX the index.asp (as well as with
index.html)

I open explorer  http://localhost/

It gives me the script of the ASP file instead of the web page.

Any help here folks ?

Many thanks



Giannis
--------------------- 

Giannis Giakas PhD
Medical School
University of Ioannina

ggiakas@cc.uoi.gr


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: IIS on Win2000

Posted by James Green <ja...@stealthnet.co.uk>.
Well it's not quite that simple. Certainly with Windows you point and click,
get prompted for common configs, install, reboot, and bobs your uncle.
However in all our experience (a little presumptuous but hey..) there are
great number of factors involved from whether the software actually works
(and doesn't crash, etc.), starts up at all, to more annoying problems like
the terminology of the config tool being alien and having to stab in the
dark to "just make it work".

On Unix the hardest part is it knowing what is needed. Getting the webserver
installed is one problem although modern unixes have very powerful and easy
to use package management systems these days (Debian, FreeBSD, etc.) but
knowing that you need to get the webserver's user permissions right, and
then deploy a security system to give web users permission to write their
web pages to disk and the webserver to read them gives an addition thing to
think about (even though there is a much accepted standard nobody.nobody
system).

When I set up a remote FBSD server from scratch the hard parts were learning
how to get ports going, and getting VirtualHosts to work. The rest was dead
easy.

Heh I think the hardest part for a newbie is finding out how to use vim;
once they can edit their configs they can often then download an easier
editor like nano, but they all end up spending some initial time in the
worst editor ever for a newbie :).

James

> From: alex dyas
>
> One of the big differences between a UNIX environment and Windows is the
> steep learning curve.  UNIX tends to favour flexibility and power over
> the ease of use Windows has come to be known for.  Show a novice a UNIX
> machine and tell them to get a web site up and running, and most of the
> time it will take them longer than a novice doing the same thing in a
> Windows environment.  However, I can guarentee that the person doing it
> using UNIX will have learnt a hell of a lot more at the end of the
> experience than the person using Windows.
>
> I'm not saying this approach suits everyone, I'm just pointing out
> something that you may want to bare in mind.  Using the quick and easy
> route does not always make sense in the long run.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: IIS on Win2000

Posted by alex dyas <ad...@twowaytv.co.uk>.
One of the big differences between a UNIX environment and Windows is the 
steep learning curve.  UNIX tends to favour flexibility and power over 
the ease of use Windows has come to be known for.  Show a novice a UNIX 
machine and tell them to get a web site up and running, and most of the 
time it will take them longer than a novice doing the same thing in a 
Windows environment.  However, I can guarentee that the person doing it 
using UNIX will have learnt a hell of a lot more at the end of the 
experience than the person using Windows.

I'm not saying this approach suits everyone, I'm just pointing out 
something that you may want to bare in mind.  Using the quick and easy 
route does not always make sense in the long run.

alex...

> Having worked for years designing websites for various companies I landed a
> job at an IT company where theyre using all PC based solutions (IIS,
> WinRoute Pro etc), trouble is theyre all trial, shareware or 'dodgy'
> versions and the bosses at the company are a bit worried about being
> audited. Result is they need to spend £1000's on various liscences, so I
> thought 'Why not use Linux, Apache and all to create a cost effective and
> secure solution?'. Trouble is I (and the others) have no experience with
> Linux and I'm finding setting up Apache to be rather hard work, and judging
> by the amount of other mail on this mailing list I'm not the only one. So,
> would it possibly be an idea to add some kind of a configuration program? Or
> maybe even a frontend (to ease transition from Windows for the rest of us)??
> 
> I would be only too glad to aid in such a venture, although I must confess
> that I have no programming abilities whatsoever, but I can always beta test.

-- 
-= alex dyas - webmaster - twowaytv - uk =-


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org