Results 1 to 5 of 5

Thread: apache2 ubuntu

  1. #1
    Join Date
    Sep 2013
    Beans
    20

    apache2 ubuntu

    Mikä määrittely aiheuttaa sen, että tuo sivu tulee vastauksena ko. osoitteella (määrittelytiedoston nimi ja määrittely)
    Mikä tuo latautunut sivu on (sivun nimi ja hakemistopolku)?

    icons.png

  2. #2
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu 14.10 Utopic Unicorn

  3. #3
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: apache2 ubuntu

    Alternately, you can try http://www.ubuntu-fi.org/
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  4. #4
    Join Date
    Sep 2006
    Beans
    7,690
    Distro
    Lubuntu Development Release

    Options Indexes

    What you are seeing there is the effect of the option Indexes in the directive Options. As you can see, if there is no index.html file in a directory, Apache2 will show you the contents of that directory. If you don't want the directory contents to be shown, add a file called index.html there with the contents that you do want shown.

    Another, more complicated method, is to have the server return an error message when index.html is missing. You could choose specific options for that virtual host to deny browsing of directory contents. Specifically you could add something like the following to your vhost's configuration.

    Code:
            <Location />
                    Options FollowSymLinks
            </Location>
    So that would go between the <VirtualHost></VirtualHost> tags.

    Note that Location specifies a path relative to the one you see in the browser.

  5. #5
    Join Date
    Jun 2007
    Location
    Waikikamukau, New Zealand
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: apache2 ubuntu

    Please do not start multiple threads for the same problem.

    Thread closed.

    Älä aloita useita lankoja sama ongelma.

    Thread suljettu.
    Forum DOs and DON'Ts
    Never assume that information you find using a search engine is up-to-date.

Bookmarks

Posting Permissions

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