Re: Directory Index not displaying

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



OK.  I think I got it.

Re-installed Apache2. (Totally different issue there - let me tell you.)

1)  Edited a <p> section into the README.html file. Simple text message. This was most certainly one of my primary failures.

2) I queried another individual running similar configuration and did the following per their suggestion.  Added these 3 lines in /etc/apache2/sites-available/default  in the 
Alias /doc/ "/usr/share/doc/" section exactly as you see them:
        IndexIgnore *html
        IndexOptions SuppressHTMLPreamble
        IndexOptions SuppressColumnsorting

3) Added the following two entries in the header/readme  section at the bottom of /etc/apach2/mods-available/autoindex.conf exactly as you see them:
ReadmeName README.html
HeaderName HEADER.html

3a)  I did test whether the system would pick up the header/readme settings if I put them in the /etc/apache2/sites-available/default file.  From there they did not work.  Apparently they need to be in the autoindex.conf file.

I left the IndexOptions line alone in the autoindex.conf file.  Previously I was trying to edit it.

The module man pages confused the heck out of me.  Hopefully, someone might see this post and be less confused.

Thanks very much for you assistance and suggestions.  Glad to know folks like you are out there.

Stan

On Thu, Nov 24, 2011 at 11:07 AM, Stan Laughlin <stan.laughlin@xxxxxxxxx> wrote:
I tried editing the closing tags and the +SuppressHTMLPreamble edit but nothing is changing.

The module man pages are confusing for me and I don't fully understand how I need to enter the edits.
I am in the process of un-installing Apache and will re-install the thing because I'm not certain any longer what is original and what I have edited incorrectly.

Thanks for the suggestions.  I appreciate the attempts to assist me.  If I can figure it out I will update this note.

I am now discovering yet another mess involved in attempting to uninstall Apache.  It looks like I will have to re-install Ubuntu to get an honestly clean Apache re-install.   Man, the fun never stops.

Thanks again for the assistance.
Be well.

stan


2011/11/24 Igor Galić <i.galic@xxxxxxxxxxxxxx>


----- Original Message -----
> Stan,
>
> Stan Laughlin schrieb (23.11.2011 22:26 Uhr):
>
> > This is the HEADER.html
> > <html>
> > <head>
> >         <title>"STAN'S DOC INDEX"</title>
> > </head>
> > </html>
> >
> >
> > This is the README.html
> > <html>
> > <head>
> >         <title>"README FILE </title>
> > </head>
> >   <body>
> >         <h1>README FILE</H1>
> >         p>This is the readme file</p>
> >   </body>
> > </html>
> "If the file specified by HeaderName contains the beginnings of an
> HTML
> document (<html>, <head>, etc.) then you will probably want to set
> IndexOptions +SuppressHTMLPreamble, so that these tags are not
> repeated."
> http://httpd.apache.org/docs/2.0/mod/mod_autoindex.html

Also you might want to actually *not* close the <body> or the <html>
tags. In either case.

>
> Marc

i

--
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@xxxxxxxxxxxxxx
URL: http://brainsware.org/
GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




--
stan.laughlin@xxxxxxxxx
"Beer is always in season"



--
stan.laughlin@xxxxxxxxx
"Beer is always in season"

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux