Can I run Apache server on a single system, non-networked?

Can I run Apache server on a single system, non-networked?

Post by jettma.. » Fri, 28 Feb 1997 04:00:00



I am new to web servers, so please bear with me.

I want to run some CGI scripts on my Linux 1.2.13 system.
I have Netscape Navigator 3.01 Gold for Linux
I have Apache 1.1.1 for Linux (binary distribution)
I have a Pentium PC

(1) Is it necessary to have a web server to execute CGI scripts?
(2) If so:  I installed the abovenamed Apache server on my Linux system
and got it to run with a few modifications to the config files.  I ran
'top' and could see the 5 servers running.  I copied a sample HTML file
to the directory where Apache would look for such a file.  I tried to
access that HTML file with:    
http://<my_machine's_host_name>/<path_to_html_files>/sample.html
Netscape gave me an error about it couldn't find the specified host and
something about it doesn't have a DNS entry.  What do I need to do to
run Apache on my single un-networked PC?  Is this possible?  I made sure
I specified the correct host name (which is in the /etc/HOSTNAME file).
(3) I have heard about DNS servers.  Do I need to implement this on my
machine somehow?

Any responses or pointers to reference material are greatly appreciated.
Thank You.

 
 
 

Can I run Apache server on a single system, non-networked?

Post by Christian Wern » Fri, 28 Feb 1997 04:00:00



> I am new to web servers, so please bear with me.
> I want to run some CGI scripts on my Linux 1.2.13 system.
> I have Netscape Navigator 3.01 Gold for Linux
> I have Apache 1.1.1 for Linux (binary distribution)
> I have a Pentium PC
> (1) Is it necessary to have a web server to execute CGI scripts?

Yes

Quote:> (2) If so:  I installed the abovenamed Apache server on my Linux system
> and got it to run with a few modifications to the config files.  I ran
> 'top' and could see the 5 servers running.  I copied a sample HTML file
> to the directory where Apache would look for such a file.  I tried to
> access that HTML file with:    
> http://<my_machine's_host_name>/<path_to_html_files>/sample.html
> Netscape gave me an error about it couldn't find the specified host and
> something about it doesn't have a DNS entry.  What do I need to do to
> run Apache on my single un-networked PC?  Is this possible?  I made sure
> I specified the correct host name (which is in the /etc/HOSTNAME file).

Did You enter the domain within your URL ?

Quote:> (3) I have heard about DNS servers.  Do I need to implement this on my
> machine somehow?

Not really...on a single computer a DNS is oversized...
try to get the configuration of your /etc/hosts.* files right...
everything should work then...except services using the DNS of course...

        Regards
                Chris

Quote:> Any responses or pointers to reference material are greatly appreciated.
> Thank You.

--
-----------------------------------------------------------------------
So wenig Zeit...
-----------------------------------------------------------------------
Christian Werner                                Tel: 089-289-28187


 
 
 

Can I run Apache server on a single system, non-networked?

Post by Petr » Fri, 28 Feb 1997 04:00:00




>I am new to web servers, so please bear with me.
>I have Apache 1.1.1 for Linux (binary distribution)

        Get the source. Learn to compile your own, it's worth it in the
long run (and the short).

Quote:>I have a Pentium PC
>(1) Is it necessary to have a web server to execute CGI scripts?

        Pretty much.

Quote:>(2) If so:  I installed the abovenamed Apache server on my Linux system
>and got it to run with a few modifications to the config files.  I ran
>'top' and could see the 5 servers running.  I copied a sample HTML file
>to the directory where Apache would look for such a file.  I tried to
>access that HTML file with:    
>http://<my_machine's_host_name>/<path_to_html_files>/sample.html

RTFM on the config files, and then use http://localhost/path/sample.html.

--
***************** PLEASE TAKE NOTE:
In an effort to reduce the amount of junk mail that I receive, I am no longer

login = petro. You send unsoliciated commercial email, and I will kill you.