WordPress.org

Ready to get started?Download WordPress

Forums

Intranet Installation view site link takes me to directory (5 posts)

  1. aquapan
    Member
    Posted 8 years ago #

    So i have a partly working installation on an intranet. Whenever i go to view site after creating a new post or page i get a listing of the wordpress directory? How do i make it default to the correct files?

    I am not sure what to do here.

    All help appreciated.

  2. gornik321
    Member
    Posted 8 years ago #

    whitch web server are you using? (apache, IIS,...)

  3. aquapan
    Member
    Posted 8 years ago #

    apache 2

  4. gornik321
    Member
    Posted 8 years ago #

    in the apache2 install dir go to conf subdir and open httpd.conf file. Find this line:
    DirectoryIndex index.html index.html.var
    and add index.php to the end
    DirectoryIndex index.html index.html.var index.php

    note: this doesn't disable directory listig
    note2: save file and restart apache2

  5. aquapan
    Member
    Posted 8 years ago #

    Thanks!... that fixed my problem. Muchly appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic