Serve a directory full of .pdf's

Discussion in 'General' started by dlwiggers, Apr 13, 2009.

  1. dlwiggers

    dlwiggers New Member

    I just want to serve a directory full of .pdf files, but cannot figure how to do so.

    All efforts with .htaccess and httpd.conf changes have failed me.

    403 Error- Forbidden!

    [Mon Apr 13 15:32:04 2009] [error] [client] Directory index forbidden by Options directive: /var/www/web1/web/ServeFolder/, referer:
  2. edge

    edge Active Member Moderator

    Add the following to the Apache Directives (it's under ISPconfig > ISPmanager > The domain in question.

    <Directory "/var/www/web1/web/ServeFolder">
    Options +Indexes
    IndexOptions +FancyIndexing
  3. dlwiggers

    dlwiggers New Member

    Helps to edit the right .conf.

    Sorry to bother you.

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The correct solution is what edge suggested. The edit that you made in the conf file will be removed automatically, never edit the vhost files manually.

Share This Page