• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

index.html required in Url

D

Deputy

Guest
index.html required in Url why?

Hi I am testing plesk 8.01 on a centos 4,3
and have setup one domain.
But I have to include index.html. www.mydomain.com/index.html in the Url ?
www.mydomain.com brings up the apache test page
Do I have to configure this in plesk
Or is this a bug is there a patch or a file I should edit.

Thanks:confused:
 
default setting .htaccess

Try adding a file with filename .htaccess in the directory /httpdocs.

In this text file, enter:

<DirectoryIndex index.html>


You website should display this index.html page.

Give a try.

DHUB
 
Hi Thanks .htacces file already has this entry
httpd.conf does not.
which httpd file does plesk use.
I am a windows man and linux is proving a bit shy in giving out it secrets ?

Thanks:mad:
 
The domain should resolve without the index.html in the url. Go into the control panel, Server -> IP Addresses and click the link under "Hosting" for the IP you are using. On the next page tic the radio button for the domain and click Set as "default". See if that helps.

Also, with CentOS the httpd.conf file is in /etc/httpd/conf. I am sure that index.html is listed under DirectoryIndex. (around line 462 or so)
 
index.html

Thanks for Not sure what happened there
But it appears to be working now

Thanks again
 
Back
Top