View previous topic :: View next topic |
Author |
Message |
kaksi Tux's lil' helper
Joined: 21 May 2004 Posts: 125
|
Posted: Tue Mar 07, 2006 10:57 am Post subject: [apache2] Customize the directory listing |
|
|
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 |
|
|
nlindblad Guru
Joined: 30 Jun 2005 Posts: 476 Location: Lund, Sweden
|
Posted: Tue Mar 07, 2006 11:13 am Post subject: |
|
|
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 |
|
|
smerf l33t
Joined: 06 Nov 2004 Posts: 778 Location: Polska
|
Posted: Tue Mar 07, 2006 11:13 am Post subject: |
|
|
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 |
|
|
|
|
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
|
|