Application Support

Perl Your Configuration File perl.conf Checking for Installation rpm -q mod_perl   PHP Checking for Installation rpm -q php To test Apache and PHP, create a PHP file in you web root named info.php containing the following: <? phpinfo() ?> Now point your browser at the page http://localhost/info.php.   Ruby http://www.ruby-lang.org/en/

SSL and https

–> Review the Apache Administrator’s Handbook, Chapter 22. Confidentiality Integrity Authentication   Certification Authorities: VeriSign, Thawte   Secure Sockets Layer Configuration ssl.conf Does your system support SSL? rpm -q OpenSSL rpm -q mod_ssl   Getting Certified Certificates Create a self-signed SSL Certificate. Place it in the correct location. Create a Key Pair. Create a Certificate …

Virtual Hosts

–> Review the Apache Administrator’s Handbook, Chapter 7. Name-Based vs. IP-Based Virtual Hosts Virtual Host Examples: Listen 80 NameVirtualHost 123.45.67.89 # These are name-based virtual hosts <VirtualHost 123.45.67.89> DocumentRoot /www/cars ServerName www.cars.com </VirtualHost> <VirtualHost 123.45.67.89> DocumentRoot /www/trucks ServerName www.trucks.com </VirtualHost> <VirtualHost 123.45.67.89> DocumentRoot /www/motorcycles ServerName www.motorcycles.com </VirtualHost> # IP-based <VirtualHost 123.45.67.90> DocumentRoot /www/planes ServerName www.planes.com …

Authentication and Access Control

–> Review the Apache Administrator’s Handbook, Chapter 21. Authentication, Authorization and Access Control See Apache.org’s Authentication, Authorization and Access Control page (for the 2.0 version): http://httpd.apache.org/docs/2.0/howto/auth.html Creation and location of the password file: the htpasswd utility Assignment: Use htpasswd to create a password file. Select a secure location. Create the first user. Create a subsequent …

Apache Configuration

–> Review the Apache Administrator’s Handbook, Chapters 4 and 6. The supplied template file /etc/httpd/conf/httpd.conf Syntax: Directives (p. 37) httpd -L AllowOverride Sections (p. 38) Directory and DirectoryMatch Files and FilesMatch Location and LocationMatch Regular Expression Reference – Wildcards and Regular Expressions IfDefine IfModule Limit and LimitExcept VirtualHost   Options (p. 47 ff.)   Building …

Apache

UNM Division of Continuing Education Course: Apache Web Server Management Text:    NOTE: Assignments and Instructions are shown in this bold blue text. Follow these instructions. Please mark this page as your home page. We will be returning here frequently. After we cover each chapter, you are responsible to study the chapter on your own. …