odoc.apache 779 B

123456789101112131415161718192021222324252627282930313233
  1. # - Think about security.
  2. # - can documentation contain "evil" links ?
  3. #
  4. # - docs should be browsable without httpd
  5. # (file:%prefix/share/openpkg/docs/index.html)
  6. # - mod_alias included by default ?
  7. # - move %prefix/share/openpkg/docs/index.html to %prefix/doc ?
  8. # add the following line to httpd.conf:
  9. # include @l_prefix@/share/openpkg/docs/odoc.apache
  10. # <openpkg @l_prefix@>
  11. #
  12. Alias @l_prefix@/share/openpkg/docs @l_prefix@/share/openpkg/docs
  13. <Directory @l_prefix@/share/openpkg/docs>
  14. Options None
  15. AllowOverride None
  16. Order allow,deny
  17. Allow from all
  18. </Directory>
  19. Alias @l_prefix@/doc @l_prefix@/doc
  20. <Directory @l_prefix@/doc>
  21. Options Indexes FollowSymLinks
  22. AllowOverride None
  23. Order allow,deny
  24. Allow from all
  25. </Directory>
  26. #
  27. # </openpkg>