Cowboy Denny Posted March 15, 2023 Posted March 15, 2023 So this is odd.. my default homepage doesn't come up and instead I get my plesk login page BUT if I go to hosangit.net/admin I can login just fine. I can also go to any page like hosangit.net/blogs or hosangit.net/forums and they all work.. Now Pages isn't working no matter what which is default so I change the default page to blogs and all this does is make blogs AND pages not work but I can still get to forums or links or whatever. I reinstalled and same issue. I'm not at all saying its a IPB 4.7.8 issue but more looking for some direction on what the heck it can be. I reissued my certs, I removed rewrite and re-enabled as well as reuploaded htaccess and no difference. Out of ideas
Nathan Explosion Posted March 15, 2023 Posted March 15, 2023 Check your root - if you have an index.html and an index.php then delete the index.html
Randy Calvert Posted March 15, 2023 Posted March 15, 2023 This sounds like your host is not recognizing index.php as a default file. This is typically set through the DirectoryIndex directive in httpd.conf DirectoryIndex index.html index.php By the way... https://hosangit.net/index.php If you specifically add the index.php, it works. So yes... this is a config issue within your server. Either you've got an existing index.htm(l) file that is being called first, or you don't have index.php as a default file. 🙂 Cowboy Denny 1
Cowboy Denny Posted March 15, 2023 Author Posted March 15, 2023 (edited) 19 minutes ago, Randy Calvert said: This sounds like your host is not recognizing index.php as a default file. This is typically set through the DirectoryIndex directive in httpd.conf DirectoryIndex index.html index.php By the way... https://hosangit.net/index.php If you specifically add the index.php, it works. So yes... this is a config issue within your server. Either you've got an existing index.htm(l) file that is being called first, or you don't have index.php as a default file. 🙂 Since I'm running a VPS which all use the same httpd.conf I just added the DirectoryIndex in my .htaccess file and bam it worked. Appreciate it.. very odd that all my other sites work, just not this one and then I discovered the setting in Plesk you can set Directory Index different for each site. It was set to Default but I changed to custom and removed my entry in .htaccess and it worked. Just sharing for anyone else that might run into this. Edited March 15, 2023 by Cowboy Denny
Randy Calvert Posted March 15, 2023 Posted March 15, 2023 (edited) EDIT: Nevermind. Looks like you did it through the UI! I misread statement. Thought you were editing httpd.conf manually. 😄 Edited March 15, 2023 by Randy Calvert
Recommended Posts