logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache get an index of sites
Author
jbrines



Joined: 13 Nov 2015
Posts: 4
Location: UK

PostPosted: Fri 13 Nov '15 21:38    Post subject: Apache get an index of sites Reply with quote

Apache doesn't appear to be working properly on my install of Fedora 23, when I go to the test page I get an index of sites, a list of the sites!!!

Don't know how to troubleshoot.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Mon 16 Nov '15 18:43    Post subject: Reply with quote

You need to adjust the document root.
Back to top
jbrines



Joined: 13 Nov 2015
Posts: 4
Location: UK

PostPosted: Mon 16 Nov '15 20:29    Post subject: Reply with quote

It is pointing the right place as it is showing the correct folders.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Wed 18 Nov '15 11:34    Post subject: Reply with quote

Did you place an index file into that folder?
Did you define the correct DirectoryIndex for your index file?

or do you want to disable directory listing?
Back to top
jbrines



Joined: 13 Nov 2015
Posts: 4
Location: UK

PostPosted: Wed 18 Nov '15 11:40    Post subject: Reply with quote

I have only changed the following from the original installation.

Added the following "DirectoryIndex index.php index.html" to the /etc/httpd/conf/httpd.conf file

And that didn't make a difference.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Thu 19 Nov '15 16:50    Post subject: Reply with quote

Quote:
I get an index of sites, a list of the sites


You talk of website aka should be different domains or different files?
Back to top
jbrines



Joined: 13 Nov 2015
Posts: 4
Location: UK

PostPosted: Thu 19 Nov '15 17:11    Post subject: Reply with quote

James Blond wrote:
Quote:
I get an index of sites, a list of the sites


You talk of website aka should be different domains or different files?


Sorry different files and folders.
Back to top


Reply to topic   Topic: Apache get an index of sites View previous topic :: View next topic
Post new topic   Forum Index -> Apache