old-www/LDP/LG/issue32/tag_apache.html

375 lines
15 KiB
HTML

<!--startcut ======================================================= -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html><head>
<META NAME="generator" CONTENT="lgazmail v1.1preB">
<TITLE>The Answer Guy 32:
MS FrontPage for Linux/Apache:
</TITLE>
<!-- ORIGINAL SUBJECT:
RE: Linux Gazette
JTD SUBTITLE:
-->
</head>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#A000A0"
ALINK="#FF0000">
<H4>"Linux Gazette...<I>making Linux just a little more fun!</I>"
</H4>
<P> <hr> <P>
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<H1 align="center"><A NAME="answer">
<img src="../gx/dennis/qbubble.gif" alt="" border="0" align="middle">
<a href="./index.html">The Answer Guy</a>
<img src="../gx/dennis/bbubble.gif" alt="" border="0" align="middle">
</A></H1>
<BR>
<H4 align="center">By James T. Dennis,
<a href="mailto:linux-questions-only@ssc.com">linux-questions-only@ssc.com</a>
<BR>Starshine Technical Services, <A HREF="http://www.starshine.org/">http://www.starshine.org/</A>
</H4>
<p><hr><p>
<!--endcut ========================================================= -->
<H3><img src="../gx/dennis/qbub.gif" alt="(?)"
width="50" height="28" align="left" border="0"
>MS FrontPage for Linux/Apache:</H3>
<p><strong>From Terry Singleton on 18 Aug 1998 </strong></p>
<!-- begin body -->
<p><strong>Hi there,
</strong></p>
<p><strong>Being a newbie LINUX user I searched YAHOO and found your site. It
is a relief to actually find a site which has some newbie
material..thanks.
</strong></p>
<p><strong>I am hoping you can shed some light on this subject.
</strong></p>
<p><strong>I recently put up a LINUX server, I am hoping to use it for email
and http purposes. However our users are not knowledgeable enough to
be able to ftp html files into their directories and therefore we
would like to use Front Page. I have downloaded and installed APACHE
1.3.1 and noticed that MS does have FP extensions that are supposed
to run on LINUX and APACHE.
</strong></p>
<blockquote><img src="../gx/dennis/bbub.gif" height="28" width="50"
alt="(!)" border="0"
>I think you are underestimating your users. You might
want to find the WS_FTP and/or the "CuteFTP" package.
These shareware Windows packages are pretty easy for
Windows users --- and work pretty much like the old
file manager.
</blockquote>
<blockquote>(As for e-mail, I suppose some/many of them will be
use Netscape Communicator's POP client. You can also
offer them Eudora and Pegasus Mail. These will work
with any POP server --- including whichever one was
almost certainly already installed with your distribution).
</blockquote>
<blockquote>The easiest way to allow your Windows users access to their
files on your web server is to install and use Samba. Samba
implements the SMB protocol --- which is the native file sharing
system that's implemented in Windows for Workgroups, Windows '95,
Windows '98, Windows NT, and OS/2 (LAN Manager and LAN Server).
files.
</blockquote>
<blockquote>With Samba you'd give each user access to their home directory
(possibly creating symlinks from their home directories to any
shared directories). You users would simply drag and drop
files using the same file manager and "Explorer" interfaces
that they'd use with any other WfW or NT fileserver.
</blockquote>
<blockquote>You can also create group shares (on your Linux or other Unix
system) which will automatically show up to the appropriate
users in their browse lists.
</blockquote>
<blockquote>The last time one of my associates looked into using
Microsoft's FrontPage server extensions the idea was abandoned
without even attempting the installation. There were
showstopper limitations and design features that obviated any
need to look further at it.
</blockquote>
<blockquote>Her conclusion was also supported by a number of messages that
I've read on the Bugtraq and NTSecurity mailing lists.
</blockquote>
<blockquote>So I recommend that you reconsider your options and avoid
FrontPage if you have any choice in the matter.
</blockquote>
<blockquote>If you insist on using FP despite these limitations then
you'll probably want to look at:
</blockquote>
<blockquote><dl><dt>The Unofficial FP Server Extensions Home Page
<dd><A HREF="http://compy.ww.tu-berlin.de/FP-Server_Extensions/default.htm"
>http://compy.ww.tu-berlin.de/FP-Server_Extensions/default.htm</A>
<dd><A HREF="http://www.bewley.net/httpd/frontpage.html"
>http://www.bewley.net/httpd/frontpage.html</A>
</dl></blockquote>
<blockquote>Although I've never used it, I've read about another way to
upload files to a web server using HTTP POST commands. It's
described in the O'Reilly book on _CGI_Programming_ (one with
a mouse on the cover) on page 414 (Appendix D).
</blockquote>
<blockquote>Basically you create a form that looks like so:
</blockquote>
<pre>
&lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"&gt;&lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;
File Upload Form &lt;/TITLE&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1&gt;
File Upload Form &lt;/H1&gt;&lt;HR&gt;
&lt;FORM ACTION="/cgi-bin/upload.pl"
ENCTYPE="multipart/form-data" METHOD="POST"&gt;
Your Name: &lt;INPUT TYPE="text" NAME="username"&gt;
File to Upload: &lt;INPUT TYPE="file" NAME="filename"&gt;
&lt;INPUT TYPE="submit" VALUE="Send the Multi-part (MIME) file..."&gt;
&lt;INPUT TYPE="reset" VALUE="Clear/Restart"&gt;
&lt;/FORM&gt;&lt;/BODY&gt;&lt;/HTML&gt;
</pre>
<blockquote>At the time it was only supported in Netscape. This will show
up as a form with a filename field, and a "Browse" button next
to that. I don't know if any other browsers ever added
support for it. (I just check with Lynx 2.7.2 --- it
recognized the <tt>INPUT TYPE="file"</tt> and rendered it as "Not
Implemented")
</blockquote>
<blockquote>Also you'll have to create/find a cgi script/program that
implemented the file/MIME decoding portion of this (I just
used "<tt>upload.pl</tt>" as a placeholder for this example).
</blockquote>
<blockquote>That same book listed some Perl 5 modules that might be useful
for this sort of thing --- I think one of them was
"BasePlus.pm" --- you'd want to search CPAN (the Comprehensive
Perl Archive Network: <A HREF="http://www.cpan.org">http://www.cpan.org</A>,
<A HREF="http://www.perl.com/CPAN-local">http://www.perl.com/CPAN-local</A> among many) for related work.
</blockquote>
<blockquote>I don't know for sure but you might start at:
</blockquote>
<blockquote><dl><dt>CPAN: By Category: WWW, HTML, HTTP and CGI
<dd><A HREF="http://www.perl.com/CPAN-local//modules/by-category/15_World_Wide_Web_HTML_HTTP_CGI/"
>http://www.perl.com/CPAN-local//modules/by-category/15_World_Wide_Web_HTML_HTTP_CGI/</A>
</dl></blockquote>
<p><strong><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
>Being new to LINUX I have no idea how to get started.
<br>Some of the questions I have:
</strong></p>
<strong><ol>
<li>How do install them,,do they run on 1.3.1?
<li>After installation how are they configure?
<li>How do we setup permissions?
</ol>
</strong>
<blockquote><img src="../gx/dennis/bbub.gif" height="28" width="50"
alt="(!)" border="0"
>I don't know the answers to any of these questions. However,
I think you'll find some instructions at the two sites listed above.
</blockquote>
<strong><p><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
>4. Virtual hosting would be nice but I think simply subdir
will suffice for each user (using the <tt>~username</tt> notation).
</p></strong>
<blockquote><img src="../gx/dennis/bbub.gif" height="28" width="50"
alt="(!)" border="0"
>There are a couple of HOWTO's on this.
</blockquote>
<blockquote>The one you'll want to start with is:
</blockquote>
<blockquote><dl><dt>Linux WWW HOWTO
<dd><A HREF="http://sunsite.unc.edu/LDP/HOWTO/WWW-HOWTO.html"
>http://sunsite.unc.edu/LDP/HOWTO/WWW-HOWTO.html</A>
</dl></blockquote>
<strong><p><img src="../gx/dennis/bbub.gif" height="28" width="50"
alt="(!)" border="0">Any help or direction would help.
<br>thanks
</p></strong>
<blockquote><img src="../gx/dennis/bbub.gif" height="28" width="50"
alt="(!)" border="0">This is a start.</blockquote>
<!-- end body -->
<p><hr width="40%" align="center"><p>
<!-- .................. -->
<H3><img src="../gx/dennis/qbub.gif" alt="(?)"
width="50" height="28" align="left" border="0"
>Re: Linux Gazette</H3>
<p><strong>From Terry Singleton on 20 Aug 1998 </strong></p>
<p><strong>thanks...I would love some more information on getting SAMBA
working. I have read alot about a NFS client. Will I still need the
NFS client to connect when using SAMBA.
</strong></p>
<blockquote><img src="../gx/dennis/bbub.gif" height="28" width="50"
alt="(!)" border="0"
>No. You won't need NFS to access your Samba systems.
As for more info on Samba --- there's a whole book on
the subject. There's also an SMB-HOWTO that's quite old
but should still get you started;
</blockquote>
<code><blockquote><A HREF="http://sunsite.unc.edu/LDP/HOWTO/SMB-HOWTO.html"
>http://sunsite.unc.edu/LDP/HOWTO/SMB-HOWTO.html</A>
</blockquote></code>
<blockquote>... I gather that this hasn't been updated since '96!
I know that Samba has been under constant, sometimes
intense, development throughout that time. However,
the basics still work that same.
</blockquote>
<strong><p><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
>Or if I implement SAMBA will the machine be accessible by
\\linuxmachinename like other NT boxes...do I have to create a WINS
entry for the LINUX box??
</p></strong>
<blockquote><img src="../gx/dennis/bbub.gif" height="28" width="50"
alt="(!)" border="0"
>Yes. You can use UNC naming and normal "Explorer" browsing
to access your Linux box. It will look "just like" an
NT box to those protocols. (Many sysadmin's have reported
that they've replaced NT servers with Linux with increases
in performance, capacity, reliability --- and no complaints
or comments from their users).
</blockquote>
<p><hr width="40%" align="center"><p>
<!-- .................. -->
<H3><img src="../gx/dennis/qbub.gif" alt="(?)"
width="50" height="28" align="left" border="0"
>Terry comments about Linux' Future</H3>
<p><strong>From Terry Singleton on 20 Aug 1998 </strong></p>
<!-- begin body -->
<p><strong>You really are the answer guy, thanks for your time.
</strong></p>
<p><strong>General Comments:
Being new to LINUX I am very impressed with it. I initially bought a copy of
RedHat to get started with UNIX. The college just bought this bohemith DEC
ALPHA server which is to run DEC UNIX. Because I was now to learn this OS I
thought it prudent to play with LINUX as it would install on my machine
quite easily.
</strong></p>
<p><strong>After inserting my setup boot diskette and 20 minutes of answering quite
simple questions I am up and running with LINUX and a GUI called CDE.
Although I would not install the GUI on a server for a desktop environment
it is quite nice.
</strong></p>
<p><strong>The RedHat install detected by 3COM905 NIC card, my ATI video card and used
my DHCP server to set itself up on the network, I must say that even with NT
or 95 most of the time I need to supply additional drivers for the install,
not in LINUX's case. Now I must say that I am not sure that these drivers
are optimized for the OS but they are functioning fine.
</strong></p>
<p><strong>After having great success with LINUX on the desktop and learning most of
the basic shell commands I installed LINUX again, this time in a server
environment(kind of a rogue operation). Configured sendmail, qpopper and
dns; now this little LINUX box handles all our student email and DNS
requirements. It replaced 2 NT servers and handles 2000 POP3 users and
1000's of emails per day.
</strong></p>
<p><strong>Future Directions: I am hoping LINUX can provide some much needed LDAP
services for email address books and I may even consider using LINUX as our
corporate web server OS, because LINUX also provides SAMBA file services we
may even look to LINUX for our file and print services needs. The only thing
holding me back in this arena is MS's ASP technology which is a great server
side scripting language. Perhaps when SUN et al finalize JSP (JAVA Server
Pages) and the JDK is released for LINUX I will re-examine this issue.
</strong></p>
<p><strong>To move this environment to the desktop for the <EM>masses</EM> I would say to
COREL, keep up the good work(they ported Word Perfect to LINUX), to Triteal,
keep working on the CDE environment.
</strong></p>
<p><strong>LINUX definetly is an OS with much greater potential than any other OS
currently in development.
</strong></p>
<!-- end body -->
<!--startcut ======================================================= -->
<P> <hr> <P>
<H5 align="center"><a href="http://www.linuxgazette.com/copying.html"
>Copyright &copy;</a> 1998, James T. Dennis <BR>
Published in <I>Linux Gazette</I> Issue 32 September 1998</H5>
<P> <hr> <P>
<!--::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::-->
<table width="98%"><tr valign="center" align="center">
<td rowspan="3"><A HREF="./lg_answer32.html"><IMG
SRC="../gx/dennis/answernew.gif"
ALT="[ Answer Guy Index ]"></A></td>
<td><A HREF="tag_phreak.html">phreak</A>
<td><A HREF="tag_abandon.html">abandon</A>
<td><A HREF="tag_javaterm.html">javaterm</A>
<td><A HREF="tag_BBS.html">BBS</A>
<td><A HREF="tag_flaws.html">flaws</A>
<td><A HREF="tag_doslinux.html">doslinux</A>
<td><A HREF="tag_resume.html">resume</A>
</tr><tr valign="center" align="center">
<td><A HREF="tag_softwindows.html">softwindows</A>
<td><A HREF="tag_convert.html">convert</A>
<td><A HREF="tag_apache.html">apache</A>
<td><A HREF="tag_emulate.html">emulate</A>
<td><A HREF="tag_database.html">database</A>
<td><A HREF="tag_distrib.html">distrib</A>
<td><A HREF="tag_proxy.html">proxy</A>
</tr><tr valign="center" align="center">
<td><A HREF="tag_disable.html">disable</A>
<td><A HREF="tag_DVI.html">DVI</A>
<td><A HREF="tag_superblock.html">superblock</A>
<td><A HREF="tag_serial.html">serial</A>
<td><A HREF="tag_permission.html">permission</A>
<td><A HREF="tag_detach.html">detach</A>
<td><A HREF="tag_cdr.html">cdr</A>
</tr><tr valign="center" align="center">
<td><A HREF="tag_rs422.html">rs422</A>
<td><A HREF="tag_modem.html">modem</A>
<td><A HREF="tag_notfound.html">notfound</A>
<td><A HREF="tag_tuning.html">tuning</A>
<td><A HREF="tag_libc5.html">libc5</A>
<td><A HREF="tag_startup.html">startup</A>
<td><A HREF="tag_clock.html">clock</A>
<td><A HREF="tag_ping.html">ping</A>
</tr><tr valign="center" align="center">
<td><A HREF="tag_accounts.html">accounts</A>
<td><A HREF="tag_lilo.html">lilo</A>
<td><A HREF="tag_NDS.html">NDS</A>
<td><A HREF="tag_95slow.html">95slow</A>
<td><A HREF="tag_nonlinux.html">nonlinux</A>
<td><A HREF="tag_progenv.html">progenv</A>
<td><A HREF="tag_cluster.html">cluster</A>
<td><A HREF="tag_ftpd.html">ftpd</A>
</tr></table>
<P> <hr> <P>
<!--::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::-->
<A HREF="./index.html"><IMG SRC="../gx/indexnew.gif"
ALT="[ Table Of Contents ]"></A>
<A HREF="../index.html"><IMG SRC="../gx/homenew.gif"
ALT="[ Front Page ]"></A>
<A HREF="lg_bytes32.html"><IMG SRC="../gx/back2.gif"
ALT="[ Previous Section ]"></A>
<A HREF="./stemen.html"><IMG SRC="../gx/fwd.gif"
ALT="[ Next Section ]"></A>
<!--::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::-->
</body>
</html>
<!--endcut ========================================================= -->