Apache: Difference between revisions
From DWIKI
(→FAQ) |
m (→Authentication) |
||
Line 46: | Line 46: | ||
=FAQ= | =FAQ= | ||
==Authentication== | ==Authentication== | ||
Read [http://www.askapache.com/htaccess/apache-authentication-in-htaccess.html Apache Authentication in htaccess] | Read: | ||
*[http://www.askapache.com/htaccess/apache-authentication-in-htaccess.html Apache Authentication in htaccess] | |||
*[http://weavervsworld.com/docs/other/passprotect.html Password Protection with .htaccess & .htpasswd] | |||
In .htaccess put: | In .htaccess put: | ||
Line 53: | Line 55: | ||
Require valid-user | Require valid-user | ||
AuthName "Protected" | AuthName "Protected" | ||
==Hide directories== | ==Hide directories== |
Revision as of 20:15, 30 March 2008
From the apache homepage:
The Apache HTTP Server Project is an effort to develop and maintain an open-source HTTP server for modern operating systems including UNIX and Windows NT. The goal of this project is to provide a secure, efficient and extensible server that provides HTTP services in sync with the current HTTP standards.
Links
Documentation | |
http://httpd.apache.org/ | Apache homepage |
http://httpd.apache.org/docs/2.2/ | 2.2 Reference |
http://httpd.apache.org/docs/2.0/ | 2.0 Reference |
http://httpd.apache.org/docs/1.3/ | 1.3 Reference |
Apache and SSL | |
Apache2, Debian and SSL | |
More Apache and SSL | |
Articles | |
vhosts explained | "Simplify Your Life with Apache Virtual Hosts" Russell Dyer 07/24/2003 |
Tools | |
http://awstats.sourceforge.net/ | Apache log analyzer |
Application & modules
AWStats
Notes
- Don't use the CGI to present the data unless it is protected. Best use awstats_buildstaticpages.pl to build the static pages and present those. Save resources and is more secure.
Related Items
Web-based Single Sign-On
Applications
Comparisons
- http://www.jisc.ac.uk/uploaded_documents/CMSS-Gilmore.pdf
- http://www.umich.edu/~umweb/downloads/WebSSOImplementationComparision.pdf
FAQ
Authentication
Read:
In .htaccess put:
Authtype Basic AuthUserFile /etc/apache/htusers Require valid-user AuthName "Protected"
Hide directories
RedirectMatch 404 /\.svn(/|$)
<FilesMatch \.(?i:gif|jpe?g|png)$>
Strange hang and not restarting
ipcs -s|grep apache for i in `ipcs -s|grep apache|awk {'print $2'}`;do ipcrm sem $i;done;