Forum Moderators: phranque

Message Too Old, No Replies

Description Tag

How to add a description to an 'Index Of' page

         

elbartouk89

7:07 pm on May 5, 2006 (gmt 0)

10+ Year Member



Hi

Just made my website 'open' as they say for the public to view my files which are on the server. I have no index page or anything and have made an .htaccess file with the Option +Indexes inside it. It is therefore an 'Index Of/' page...

I have the Name, Last Modified and Size filled for my files but the Description part is blank. How do i create a Description for it?

Thanks in advance, EB

jdMorgan

3:15 am on May 6, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



EB,

Welcome to WebmasterWorld!

Are you looking for the AddDescription [httpd.apache.org] directive of mod_autoindex?

Jim

elbartouk89

11:01 am on May 6, 2006 (gmt 0)

10+ Year Member



Yes, that's the one! I knew it was done through the .htaccess but didn't know what to type!

Thanks so much Jim :D

elbartouk89

12:56 pm on May 6, 2006 (gmt 0)

10+ Year Member



HI again, I've got the description working but the size is too small. I read somewhere that you can increase the byte size but I'm not sure where to put it or what to put...

Options Indexes
IndexOptions FancyIndexing
HeaderName header.html
ReadmeName footer.html
IndexIgnore header.html footer.html astats webcam robots.txt .htaccess
AddDescription "College Assignment" .html

That's my .htaccess, can anyone help?

Thanks, EB

jdMorgan

5:22 pm on May 6, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I believe you'll find the answer in the same document I linked to above. See DescriptionWidth under IndexOption.

Jim

elbartouk89

10:14 am on May 7, 2006 (gmt 0)

10+ Year Member



Yep, thanks again!