stava skrev 25. nov. 2010 22:21: > We have Trac 0.12.1 using mod_python and Apache 2.2. > > Apache is setup with a simple Directory Index to serve files > from the /var/downloads directory. > > I'd like to integrate that file listing with Trac. I've tried the > various downloads plugins, but they kinda' shoot over our > goal and causes a bit of a maintenance nightmare for the > volume of files we're looking at (hundreds of files). > > iframe is not allowed within Trac 'cause it's not XHTML compliant. > Never did get the object tag to work. > > Any suggestions? > > Should it be done with a plugin somehow, or is there already a > plugin that can integrate an apache directory index with Trac?
If you require listing of "hundreds of files" -- simply linking from the wiki to your /download-dir might be the best approach. Other than that there's the IncludeMacro: http://trac-hacks.org/wiki/IncludeMacro It's only advertised to work with 0.10 and 0.11 -- and I'm unsure how well the permission system works -- but it might do what you need ? Best regards, -- .---. Eirik Schwenke <[email protected]> ( NSD ) Harald HÃ¥rfagresgate 29 Rom 150 '---' N-5007 Bergen tlf: (555) 889 13 GPG-key at pgp.mit.edu Id 0x8AA3392C
signature.asc
Description: OpenPGP digital signature
