I am running an Ubuntu 11.10 server w/Apache 2.2.
I am familiar with linux and command line but not familiar w/Apache.
When enter the server IP address like this to a browser URL (pretend IP
here) : 10.10.10.10/doc/
It will list the default directory Index for the /usr/share/doc/
directory. All very nice.
Then I edit autoindex.conf for these two values "HeaderName HEADER.html"
and "ReadmeName README.html"
Restart apache and refresh browser.
This is the HEADER.html
<title>"STAN'S DOC INDEX"</title>
This is the README.html
<title>"README FILE </title>
p>This is the readme file</p>
The web page shows the "STAN'S DOC INDEX" title. But there is no directory
listing and there is no README info.
The 'dir.conf' file looks like this
DirectoryIndex HEADER.html index.html index.cgi
index.plindex.php index.xhtml index.htm
If I remove the HEADER.html text then the page reverts back to the default
display and shows the directory index.
So...obviously the thing is picking up the HEADER.html but why isn't it
picking up anything else?
I have been trying to make this work for several days.
I have read and re-read the autoindex and Directory module pages. Because
I'm new at this they are somewhat confusing. A possible solution is the
htaccess file but the mod page strongly recommends not going that route.
I would appreciate any suggestions.
"*Beer is always in season*"