Re: [htdig] Re: Guess this is a FAQ


Subject: Re: [htdig] Re: Guess this is a FAQ
From: Clint Gilders (servermaster@kingsnake.com)
Date: Fri Sep 15 2000 - 07:10:36 PDT


> http://www.apache.org/docs/mod/mod_autoindex.html
>
> (Compile in mod_autoindex, and set IndexOptions as you want.)
>
mod_autoindex is compiled into apache by default so unless whomever
compiled apache specifically disabled it it is most likely there.

> Could you send an example configuration of Apache that uses the
> mod_autoindex?

In apache you need to have "Indexes" enabled in your httpd.conf. This
is usually done by default and looks something like this once you have
added other options to it:
                <Directory "/path/to/you/root/dir">
                        Options Indexes Includes MultiViews ExecCGI
                </Directory>

To utilize it all you need to do is point htdig (start_url:) at a
directory that conatains none of the defualt index files (index.html,
index.htm, index.whatever the sysadmin has added) and apache will spit
out a listing of all the files in the directory. Htdig will then
follow all those links to wherever you allow it with limit_urls_to:
directive.

        start_url: http://www.yourserver.com/path/to/dir/
        limit_urls_to: /path/to/dir/ http://www.otherserver.com/goodstuff/

You can also make a web page that contains links to the directories you
want to index and use that as your start_url:

        start_url: http://www.yourserver.com/listofdirs.html
        limit_urls_to: /path/to/dir/ http://www.otherserver.com/yep/

-- 
Clint Gilders
Servermaster Onlinehobbyist Inc.
servermaster@kingsnake.com

------------------------------------ To unsubscribe from the htdig mailing list, send a message to htdig-unsubscribe@htdig.org You will receive a message to confirm this. List archives: <http://www.htdig.org/mail/menu.html> FAQ: <http://www.htdig.org/FAQ.html>



This archive was generated by hypermail 2b28 : Fri Sep 15 2000 - 07:16:34 PDT