Ubuntu Unleashed 2019 Edition: Covering 18.04, 18.10, 19.04

(singke) #1

and redirection, you can add the following code to a file with the extension
.asis:


Click here to view code image
Status: 301 No more old stuff!
Location: http://gnulix.org/newstuff/
Content-type: text/html


<HTML>
<HEAD>
<TITLE>We've moved...</TITLE>
</HEAD>
<BODY>
<P>We've moved the old stuff and now you'll find it at:</P>
<A HREF="http://gnulix.org/newstuff/">New stuff</A>!.
</BODY>
</HTML>

mod_auth


mod_auth uses a simple user authentication scheme, referred to as Basic
Authentication, which is based on storing usernames and encrypted
passwords in a text file. This file looks very much like UNIX’s
/etc/passwd file and is created with the htpasswd command. See the
“File System Authentication and Access Control” section, earlier in this
chapter, for more information about this subject.


mod_auth_anon


The mod_auth_anon module provides anonymous authentication similar
to that of anonymous FTP. The module enables you to define user IDs of
those who are to be handled as guest users. When such a user tries to log on,
he is prompted to enter his email address as his password. You can have
Apache check the password to ensure that it’s a (more or less) proper email
address. Basically, Apache ensures that the password contains an @ character
and at least one . character.


mod_auth_dbm


mod_auth_dbm uses Berkeley DB files instead of text for user
authentication files.

Free download pdf