Security Consulting
  Unix Administration     Firewall     Intrusion Detection     Network Security     Hacking     MORE     HOME    

Apache

  • Restarting Apache is usually done by sending a:
      kill -USR1
    which makes Apache to reread the config file.

    apache.conf directives:

  • ScriptLog: Where the CGI Logs go.
  • HeaderName (set|add|unset|append) {HTTP-header} "value"
  • HeaderName remove {HTTP-header}
  • AccessFilename .htaccess
  • AllowOverride: which directives can be overrideden by .htaccess
  • Header "Location: ..." redirects requests
  • Add Handler xyz zhtml
  • Action xyz /cgi-bin/unzipper
  • IndexOptions NameWidth=* # don't truncate filenames in directory listings.
      <Location /status>
      SetHandler server-status
      </Location>
      <Location /info>
      SetHandler server-status
      SetHandler server-info
      </Location>

    Modules

  • mod_unique_id: Adds an environment variable: UNIQUE_ID
  • SUExec: webage

    FrontPage Extensions

    (I don't really like this stuff, but users asked for it...)

    Installation

    Donwload the extensions from: http://www.rtr.com/fpsupport/download.htm
    Now proceed as follows:
  • Unpack the archives
  • Copy the files to /usr/local/frontpage
  • make sure in your httpd.conf you have the following two lines:
      ResourceConfig /dev/null AccessConfig /dev/null
  • start:
      ./fpsrvadm.exe -o install -t apache-fp -s /etc/httpd/httpd.conf -p 80 -m "" -u user -pw password -xu wwwrun -xg www
    Make sure you change everything you wanna change!


    CopyLeft (l) 2003 by Raffael Marty