Author |
|
jbrines
Joined: 13 Nov 2015 Posts: 4 Location: UK
|
Posted: Fri 13 Nov '15 21:38 Post subject: Apache get an index of sites |
|
|
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
|
Posted: Mon 16 Nov '15 18:43 Post subject: |
|
|
You need to adjust the document root. |
|
Back to top |
|
jbrines
Joined: 13 Nov 2015 Posts: 4 Location: UK
|
Posted: Mon 16 Nov '15 20:29 Post subject: |
|
|
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
|
Posted: Wed 18 Nov '15 11:34 Post subject: |
|
|
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
|
Posted: Wed 18 Nov '15 11:40 Post subject: |
|
|
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
|
Posted: Thu 19 Nov '15 16:50 Post subject: |
|
|
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
|
Posted: Thu 19 Nov '15 17:11 Post subject: |
|
|
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 |
|