I recently moved to a new linux hosting with cpanel.

I provide static .conf file to my clients. They can download them directly. They use to download them directly without any problem going to http://myserver.example/path/file.conf

Since I moved to that cpanel service this now returns a 403 Forbidden error.

If I change the extension to something else then I can now download them. e.g. file.cnf instead of file.conf.

Any ideas?

  • It probably has nothing to do with cPanel. There is probably a rule similar to this one either in your .htaccess file or more likely in your host's global Apache config. You probably need to talk to your host. – Stephen Ostermiller Apr 2 '19 at 10:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.