Apache

From Wikifications
Jump to: navigation, search

start with apachectl startssl

o conf/ssl.key/ca.key
  The PEM-encoded RSA private key file of the CA which you can
  use to sign other servers or clients. KEEP THIS FILE PRIVATE!
o conf/ssl.crt/ca.crt
  The PEM-encoded X.509 certificate file of the CA which you use to
  sign other servers or clients. When you sign clients with it (for
  SSL client authentication) you can configure this file with the
  'SSLCACertificateFile' directive.
o conf/ssl.key/server.key
  The PEM-encoded RSA private key file of the server which you configure
  with the 'SSLCertificateKeyFile' directive (automatically done
  when you install via APACI). KEEP THIS FILE PRIVATE!
o conf/ssl.crt/server.crt
  The PEM-encoded X.509 certificate file of the server which you configure
  with the 'SSLCertificateFile' directive (automatically done
  when you install via APACI).
o conf/ssl.csr/server.csr
  The PEM-encoded X.509 certificate signing request of the server file which
  you can send to an official Certificate Authority (CA) in order
  to request a real server certificate (signed by this CA instead
  of our own CA) which later can replace the conf/ssl.crt/server.crt
  file.

Some useful apache directives for tweaking the autoindex pages. Scalable column width and reverse sort by date.

IndexOptions NameWidth=*
IndexOrderDefault Descending Date

back to meta


MYSQL Authentication Sample

Uses mod_auth_mysql:

AuthName 'Administrator Login'
AuthType basic
AuthMySQLEnable On
AuthMySQLHost sql.dubstep.fm
AuthMySQLUser ****
AuthMySQLPassword ****
AuthMySQLDB dubstep_main
AuthMySQLUserTable jos_users
AuthMySQLNameField username
AuthMySQLPasswordField password
AuthMySQLGroupField gid
AuthMySQLPwEncryption md5
require group 25 31