Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
shyest Posted November 25, 2019 Posted November 25, 2019 So I have my test site all setup and works like a charm however when restricting it to just my ip it breaks and have to add /index.php to see the site and the acp is non-existent. Is there a way to resolve this or will I have to install it on a local machine to get it working? Any help/advice would be appreciated. Running: Nginx: 1.17.6 PHP: 7.2.24 Message me if you need any other info.
bfarber Posted November 26, 2019 Posted November 26, 2019 If you have to add index.php to the URL, you might not have the DirectoryIndex in Apache set right. https://stackoverflow.com/questions/19322345/how-do-i-change-the-default-index-page-in-apache You are probably best served talking to your host about the issues.
shyest Posted November 26, 2019 Author Posted November 26, 2019 8 hours ago, bfarber said: If you have to add index.php to the URL, you might not have the DirectoryIndex in Apache set right. https://stackoverflow.com/questions/19322345/how-do-i-change-the-default-index-page-in-apache You are probably best served talking to your host about the issues. Thank you for the response @bfarber however I am running Nginx instead of Apache.
bfarber Posted November 27, 2019 Posted November 27, 2019 https://forum.nginx.org/read.php?11,5020 You may also need to check any friendly URL configuration you've added.
shyest Posted November 27, 2019 Author Posted November 27, 2019 Ok so I was messing around with the config and removed the line return 404; and it works so I guess I will run it without that line. Thanks @bfarber for the suggestions.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.