Results 1 to 2 of 2

Thread: httpd2 welcome.conf - where the heck is it?

  1. #1

    Default httpd2 welcome.conf - where the heck is it?

    Hi,

    I'm dicking around with an Apache server on openSuse 11.4 and everything's been going well so far. However, I can't get it to list directories in the abscence of an index.html file (it just gives a 404) - it's not my permissions, it's not /etc/apache2/httpd.conf, so I think it must be the welcome.conf file giving me the trouble.

    Problem is, I can't find the **** thing! Everywhere says it's /etc/httpd(2)/conf.d/welcome.conf, but there's no /etc/httpd2 directory! Half an hour of Googling has yielded nothing.

    Could anyone tell me where httpd(2)'s welcome.conf file resides, or its equivalent? Or am I barking up the wrong tree?

    Thanks in advance.

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,683
    Blog Entries
    4

    Default Re: httpd2 welcome.conf - where the heck is it?

    In /etc/apache2/default-server.conf at line 22 change the

    Options None

    to

    Options Indexes

    Note that these are the settings for the tree starting at DocumentRoot, which is /srv/www/htdocs. When you define virtualhosts or add more Directory stanzas, you can override the default settings, including allowing .htaccess to override config file settings without having to edit this.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •