Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[apache2] Customize the directory listing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
kaksi
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2004
Posts: 125

PostPosted: Tue Mar 07, 2006 10:57 am    Post subject: [apache2] Customize the directory listing Reply with quote

Hi!

I want to customize the directory listing page generated by the mod_autoindex module. I guess there have to be a template for the html output somewhere? I can not find it... I want to alter the html output generated. I know that I can define custom 404, 500.. etc error pages. But the directory listing is dynamic. Where do I alter this? Is it possible?
Back to top
View user's profile Send private message
nlindblad
Guru
Guru


Joined: 30 Jun 2005
Posts: 476
Location: Lund, Sweden

PostPosted: Tue Mar 07, 2006 11:13 am    Post subject: Reply with quote

Apache Guide: Generating Fancy Directory Listings with mod_autoindex
Hope that helps.
_________________
Please provide detailed tracebacks and your emerge --info when posting compile errors.
Add [SOLVED] to the thread's topic if you feel that your question has been anwered or your problem is solved.
Back to top
View user's profile Send private message
smerf
l33t
l33t


Joined: 06 Nov 2004
Posts: 778
Location: Polska

PostPosted: Tue Mar 07, 2006 11:13 am    Post subject: Reply with quote

Use IndexIgnore to hide files from being listed, HeaderName with SuppressHTMLPreamble in IndexOptions allows you to modify top of your page (you can add another title, <head>, styles....), ReadmeName - footer of your page. Use AddIcon, AddIconBy{Type,Encoding},AddAlt,AddAlt{ByType,ByEncoding},AddDescription, etc... use Apache manual for syntax details. Put this inside .htaccess or in global config file...
_________________
Microsoft is not the answer, Microsoft is the question, the answer is no.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum