|
||||||
The great thing about Sun Java System Web Server 7.0 is not that it's a free web server, it's that it is a free web server that runs ASP on Linux
Mention ASP (Active Server Pages) to any Linux programmer and they'll probably do one of three things:
That is, of course, if they don't know about Sun Java System Web Server 7.0 - with Sun Java System Web Server 7.0 installed a programmer can develop ASP on a Linux system. Sun Java System Web Server 7.0 PlatformsSun Java System Web Server 7.0 is not soley available on Linux, it is also available for:
This is the big advantage to any ASP programmers - they are no longer bound to Windows only; they can now move to any platform, benefiting from the reductions in cost (since the Linux operating system is free). Installing Sun Java System Web Server 7.0Sun Java System Web Server 7.0 may be downloaded from the Sun Download Center (http://www.sun.com/download/) by using the Sun Download Manager. Once the required files have been downloaded and uncompressed then a simple installation program can be run to install and to start the server. Adding ASP Support to Sun Java System Web Server 7.0Sun Java System Web Server 7.0 does not support ASP by default - for that Sun Active Server Pages 4.0.3 must be installed as well. Sun Active Server Pages 4.0.3 is also available from the Sun Download Center, and again it is downloaded using the Sun Download Manager. However, unlike Sun Java System Web Server 7.0, a Sun online account is required in order to download ASP 4.0.3 - fortunately creating that account is free and only takes a few minutes. With the account in place and the files downloaded then it's just a matter of running another installation script - this one will automatically update and restart the web server. Creating a Sun Active Server Pages 4.0.3 Web PageIf Sun Java System Web Server 7.0 has been installed on a Linux system then the installation process will have created a directory named something like: /sun/webserver7/https-<host name>/docs
for example, for host name 'aeneas' the process will have created: /sun/webserver7/https-aeneas/docs
it is this directory that will contain the pages for the web site, for example a simple page called hello.asp: <html>
<body>
<%
response.write("This is ASP on Linux")
%>
</body>
</html>
This ASP will now be run correctly regardless of whether the ASP is on a Linux server or a Windows server. ConclusionASP has now become a cross-platform programming language thanks to Sun Java System Web Server 7.0 - a web server which is:
With Sun Java System Web Server 7.0 a web developer can have best of both worlds - the reliablity and security of Linux and the power and versatility of ASP.
The copyright of the article Running ASP on a Linux Server in ASP Programming is owned by Mark Alexander Bain. Permission to republish Running ASP on a Linux Server in print or online must be granted by the author in writing.
Comments
May 5, 2009 10:17 PM
Guest :
1 Comment:
|
||||||
|
|
||||||
|
|
||||||