previous | start | next

The bin Directory

ice%  cd ../

ice%  ls
bin      conf     icons    libexec  man
cgi-bin  htdocs   include  logs     proxy

ice%  cd bin/

ice%  ls
ab          apxs        htdigest    httpd       rotatelogs
apachectl   dbmmanage   htpasswd    logresolve

Apachectl

ice%  ./apachectl
usage: ./apachectl (start|stop|restart|fullstatus|status|graceful|configtest|help)

start      - start httpd -d /home/j/h/jharvard/apache -R /home/j/h/jharvard/apache/libexec"
stop       - stop httpd -d /home/j/h/jharvard/apache -R /home/j/h/jharvard/apache/libexec"
restart    - restart httpd if running by sending a SIGHUP or start if 
             not running
fullstatus - dump a full status screen; requires lynx and mod_status enabled
status     - dump a short status screen; requires lynx and mod_status enabled
graceful   - do a graceful restart by sending a SIGUSR1 or start if not running
configtest - do a configuration syntax test
help       - this screen


./apachectl configtest

ice%  ./apachectl configtest
Syntax OK

Apachectl: start

ice%  ./apachectl start
./apachectl start: httpd started

Accessing our Web Server

ice%  hostname
is03


lynx -dump http://is03.fas.harvard.edu:8080/

ice%  lynx -dump http://is03.fas.harvard.edu:8080/

      It Worked! The Apache Web Server is Installed on this Web Site!
                                      
   If you can see this page, then the people who own this domain have
   just installed the [1]Apache Web server software successfully. They
   now have to add content to this directory and replace this placeholder
   page, or else point the server at their real content.
     _________________________________________________________________
   
     If you are seeing this page instead of the site you expected,
     please contact the administrator of the site involved. (Try sending
     mail to <Webmaster@domain>.) Although this site is running the
     Apache software it almost certainly has no other connection to the
     Apache Group, so please do not send mail about this site or its
     contents to the Apache authors. If you do, your message will be
     ignored.
     _________________________________________________________________
   
   The Apache [2]documentation has been included with this distribution.
   
   The Webmaster of this site is free to use the image below on an
   Apache-powered Web server. Thanks for using Apache!

References

   1. http://www.apache.org/
   2. http://is03.fas.harvard.edu:8080/manual/index.html

Server Status

ice%  lynx -dump http://is03.fas.harvard.edu:8080/server-status

                 Apache Server Status for is03.fas.harvard.edu
                                       
   Server Version: Apache/1.3.9 (Unix)
   Server Built: Aug 16 1999 14:50:57
     _________________________________________________________________
   
   Current Time: Thursday, 02-Dec-1999 11:26:42 EST
   Restart Time: Thursday, 02-Dec-1999 11:26:05 EST
   Parent Server Generation: 0
   Server uptime: 37 seconds
   1 requests currently being processed, 5 idle servers
W_____..........................................................
................................................................
................................................................
................................................................

   Scoreboard Key:
   "_" Waiting for Connection, "S" Starting up, "R" Reading Request,
   "W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup,
   "L" Logging, "G" Gracefully finishing, "." Open slot with no current
   process
   
   PID Key:
   7704 in state: W ,   3119 in state: _ ,   22386 in state: _ 
   13839 in state: _ ,   16414 in state: _ ,   25002 in state: _ 
     _________________________________________________________________
   
   To obtain a full report with current status information you need to
   use the ExtendedStatus On directive.
     _________________________________________________________________
   
   
    Apache/1.3.9 Server at is03.fas.harvard.edu Port 8080

lynx -dump http://is03.fas.harvard.edu:8080/server-info

ice%  lynx -dump http://is03.fas.harvard.edu:8080/server-info

                         Apache Server Information
                                      
   [1]Server Settings, [2]mod_setenvif.c, [3]mod_so.c,
   [4]mod_unique_id.c, [5]mod_usertrack.c, [6]mod_headers.c,
   [7]mod_expires.c, [8]mod_cern_meta.c, [9]mod_proxy.c,
   [10]mod_digest.c, [11]mod_auth_dbm.c, [12]mod_auth_anon.c,
   [13]mod_auth.c, [14]mod_access.c, [15]mod_rewrite.c, [16]mod_alias.c,
   [17]mod_userdir.c, [18]mod_speling.c, [19]mod_actions.c,
   [20]mod_imap.c, [21]mod_asis.c, [22]mod_cgi.c, [23]mod_dir.c,
   [24]mod_autoindex.c, [25]mod_include.c, [26]mod_info.c,
   [27]mod_status.c, [28]mod_negotiation.c, [29]mod_mime.c,
   [30]mod_mime_magic.c, [31]mod_log_config.c, [32]mod_env.c,
   [33]mod_vhost_alias.c, [34]http_core.c
     _________________________________________________________________
   
....rest of output truncated.....



previous | start | next