• 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

get other extensions to show up in the httpdocs folder

V

vinnie

Guest
Hi would somebody please post how I can get other extensions to show up in the httpdocs folder. Currently I can get index.html and index.php to show up but when I try index.htm the site defaults to a "Fedora Core Test Page" It instructs to "prevent this page from ever being used, follow the instructions in the file /etc/httpd/conf.d/welcome.conf." I don't know how to edit this. Am I only able to use the .html and php extensions?
 
i think u change the default pages either from .htaccess file in your area (try to log on as a root) or by modifying htttpd.conf
 
Go to /etc/httpd/conf and add the extensions you want in httpd.conf. Look for the line beginning with 'DirectoryIndex' around line 410 or so. Be sure to restart httpd so that the changes take effect.
 
Back
Top