Hello there, I have followed the following guide.
But I still can access the files mentioned.
aka:
I can read mydomain.com/content/site.txt
I do not see a redirect to error page: mydomain.com/site/config/config.php
same for mydomain.com/kirby/bootstrap.php
Not sure what I am doing wrong.
I have followed the aforementioned page step by step and made sure the .htaccess files are in the folders as instructed.
Why can I still access my content txt files and why is are the redirects not working?
I did not do this step: Custom folder setup | Kirby CMS
Not sure if this is required?
Thanks for your guidance.
Your server is an Apache server, and the site works otherwise, ie all links, the Panel, images?
Hello, yes all links work, every loads fine, the panel works as I would expect it.
I am running on a combell host. I do assume it is ngix / windows. I have opened a ticket to be sure as I can not see more details.
Do you have a link to your project?
From what I understood from the combell website, their are using Apache webservers. So your .htaccess
should work as expected.
Make sure you use the original .htaccess
from the Starterkit which already contains all the required rules.
Hi there,
I did include everything that is on the starter kit. though I have added the other .htaccess files as mentioned.
I can share the project but not publicly due to NDA. Is there a way to contact you directly?
Thanks for your help!
I don’t understand this sentence. What do you mean by multiple .htaccess files?
The .htaccess file that comes with the Starterkit already has all the rules mentioned in that guide article, no need to add anything anymore.
I feel so incredibly silly right now.
Here’s what happened: I found a guide (Secure your project | Kirby CMS) on securing my project and followed its instructions to add .htaccess files to the specified folders. Removing these files now works as expected.
However, I didn’t realize that the starter kit already included the correct .htaccess file in the root directory. Even though I usually read documentation, some parts can be overwhelming when I’m dealing with something new.
It’s probably a good idea to keep this topic on the forum in case others make the same mistake. Thanks for the heads-up!