old-www/HOWTO/Intranet-Server-HOWTO-6.html

96 lines
6.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>The Linux Intranet Server HOWTO: Accessing the Web</TITLE>
<LINK HREF="Intranet-Server-HOWTO-7.html" REL=next>
<LINK HREF="Intranet-Server-HOWTO-5.html" REL=previous>
<LINK HREF="Intranet-Server-HOWTO.html#toc6" REL=contents>
</HEAD>
<BODY>
<A HREF="Intranet-Server-HOWTO-7.html">Next</A>
<A HREF="Intranet-Server-HOWTO-5.html">Previous</A>
<A HREF="Intranet-Server-HOWTO.html#toc6">Contents</A>
<HR>
<H2><A NAME="AccessHTML"></A> <A NAME="s6">6. Accessing the Web</A></H2>
<P>Now that we have setup the HTTP server, the clients and interconnected the Linux server with the other servers, we need to make some small adjustments on the Linux server to be able to access these mounted filesystems from the Web Browser.
<P>
<H2><A NAME="ss6.1">6.1 Accessing the mounted filesystems</A>
</H2>
<P>To access the mounted directories in your HTML pages you have two methods:
<UL>
<LI>Create a link in DocumentRoot (<CODE>/usr/local/etc/httpd/htdocs</CODE>) to refer to the mounted directory as
<BLOCKQUOTE><CODE>
<PRE>
ln -s /mnt/MYDOM_NW/vol1/home/htmldocs netware
or
ln -s /mnt/MYDOM_NT winNT
or
ln -s /mnt/MYDOM_UNIX unix
</PRE>
</CODE></BLOCKQUOTE>
</LI>
<LI>to edit the file <CODE>srm.conf</CODE> in your <CODE>/usr/local/etc/httpd/conf</CODE> directory and add a new alias.</LI>
</UL>
<P>
<BLOCKQUOTE><CODE>
<PRE>
# Alias fakename realname
Alias /icons/ /usr/local/etc/httpd/icons/
# alias for netware server
Alias /netware/ /mnt/MYDOM_NW/vol1/home/htmldocs/
Alias /winNT/ /mnt/MYDOM_NT/
Alias /unix/ /mnt/MYDOM_UNIX
</PRE>
</CODE></BLOCKQUOTE>
And restart your HTTPd. You can access the documents on the netware server by referring to them as <CODE>http://linux.mydomain/netware/index.htm</CODE> for the netware files and similar notations for the others.
<P>
<H2><A NAME="ss6.2">6.2 Connecting to the Internet</A>
</H2>
<P>You can finally connect your Intranet to the Internet to access E-Mail and all the wonderful information out there. I propose to write a brief note on how to do this in a future revision. Detailed explanations are available in the ISP Hookup HOWTO from
<A HREF="http://sunsite.unc.edu/mdw/HOWTO/ISP-Hookup-HOWTO.html">http://sunsite.unc.edu/mdw/HOWTO/ISP-Hookup-HOWTO.html</A> and Diald mini HOWTO at
<A HREF="http://sunsite.unc.edu/mdw/HOWTO/mini/Diald">http://sunsite.unc.edu/mdw/HOWTO/mini/Diald</A> for setting up these connections.
<P>
<H2><A NAME="ss6.3">6.3 Other uses</A>
</H2>
<P>The HTTP server can be used in the office to provide transparent access to information residing on different servers, at several locations and directories. The data can be simple documents in Word, Lotus spreadsheets, or complex databases.
<P>The application of this technology is being typically used as follows:-
<P>
<UL>
<LI>Publishing corporate documents<P>These documents can include newsletters, annual reports, maps, company facilities, price lists, product information literature, and any document which is of value within the corporate entity.
</LI>
<LI>Access into searchable directories<P>Rapid access to corporate phone books and the like. This data can be mirrored at a Web site or, via CGI scripts, the Web server can serve as a gateway to back-end pre-existing or new applications. This means that, using the same standard access mechanisms, information can be made more widely available and in a simpler manner.
This means that it can be used to create an interface with RDBMS like ORACLE and SYBASE for generating real-time information. Here is a list of links to such sites on the Web.
<P>- Web Access -
<A HREF="http://cscsun1.larc.nasa.gov/~beowulf/db/web_access.html">http://cscsun1.larc.nasa.gov/~beowulf/db/web_access.html</A>
- CGI gateways -
<A HREF="HTTP://www.w3.org/hypertext/WWW/RDBGate/Overview.html">HTTP://www.w3.org/hypertext/WWW/RDBGate/Overview.html</A><P>
</LI>
<LI>Corporate/Department/Individual pages<P>As cultures change within organistions to the point where even each department moves towards their own individual mission statements, the Intranet technology provides the ideal medium to communicate current information to the Department or Individual. Powerful search engines provide the means for people to find the group or individual who has the answers to the continuous questions which arise in the normal day-to-day course of doing business.
</LI>
<LI>Simple Groupware applications<P>With HTML forms support, sites can provide sign-up sheets, surveys and simple scheduling.
</LI>
<LI>Software distribution<P>Administrators can use the Intranet to deliver software and up-dates on-demand to users across the corporate network . This can be done with 'Java' which allows the creation and transparent distribution of objects on-demand rather than just data or applications. This is indeed possible more easily with the newer versions of Linux which has builtin support for Java.
</LI>
<LI>Mail<P>With the move to the use of Intranet mail products with standard and simple methods for attachment of documents, sound, vision and other multimedia between individuals, mail is being pushed further forward as a simple, de facto communications method. Mail is essentially individual to individual, or individual to small group, communication. Several utilities are available on the Linux platform to setup an E-mail system like <B>sendmail, pop3d, imapd</B>.
<P>
</LI>
<LI>User Interface<P>The Intranet technology is evolving so rapidly that the tools available, in particular HTML, can be used to dramatically change the way we interface with systems. With HTML you can build an Interface which is only limited by the creators imagination. The beauty about using Intranet technologies for this is that it is so simple. Clicking a hyperlink from HTML can take you to another page, it could ring an alarm, run a yearend procedure or anything else that a computer program can do.
</LI>
</UL>
<P>
<HR>
<A HREF="Intranet-Server-HOWTO-7.html">Next</A>
<A HREF="Intranet-Server-HOWTO-5.html">Previous</A>
<A HREF="Intranet-Server-HOWTO.html#toc6">Contents</A>
</BODY>
</HTML>