Skip to main content
edited body
Source Link
arkascha
  • 43.2k
  • 8
  • 61
  • 97

I took the liberty to reformat your question so that the information you provided is actually readable. Please take care for future questions to do that yourself. It is in your own interest to ask a question such that it is easy to read ...

Your issue (most likely) is the location of that ".htaccess" file. If I interpreted your question correct that, you placed it inside the "Public" folder. Where it won't get considered, since an incoming request does not target that folder. You should place that file in the top folder that is used as your DocumentRoot folder, so most likely Public_html.

Also you need to make sure that rewriting is enabled at all for that http host (not sure about. We do not know the default settings of your provider or how to change such setting there. Consult the documentation or ask them.

And take care with upper case letters in your folder and file names. Keep in mind that internet server's are usually based on Linux systems, not MS-Windows, for obvious reasons (security). Linux uses case sensitive file systems. So a folder called "Test" is not targeted by a request to https://example.com/test because of the upper case of the "T" in it's name.

I took the liberty to reformat your question so that the information you provided is actually readable. Please take care for future questions to do that yourself. It is in your interest to ask a question such that it is easy to read ...

Your issue (most likely) is the location of that ".htaccess" file. If I interpreted your question correct that you placed it inside the "Public" folder. Where it won't get considered, since an incoming request does not target that folder. You should place that file in the top folder that is used as your DocumentRoot folder, so most likely Public_html.

Also you need to make sure that rewriting is enabled at all for that http host (not sure about the settings of your provider or how to change such setting there.

And take care with upper case letters in your folder and file names. Keep in mind that internet server's are usually based on Linux systems, not MS-Windows, for obvious reasons (security). Linux uses case sensitive file systems. So a folder called "Test" is not targeted by a request to https://example.com/test because of the upper case of the "T" in it's name.

I took the liberty to reformat your question so that the information you provided is actually readable. Please take care for future questions to do that yourself. It is in your own interest to ask a question such that it is easy to read ...

Your issue (most likely) is the location of that ".htaccess" file. If I interpreted your question correct, you placed it inside the "Public" folder. Where it won't get considered, since an incoming request does not target that folder. You should place that file in the top folder that is used as your DocumentRoot folder, so most likely Public_html.

Also you need to make sure that rewriting is enabled at all for that http host. We do not know the default settings of your provider or how to change such setting there. Consult the documentation or ask them.

And take care with upper case letters in your folder and file names. Keep in mind that internet server's are usually based on Linux systems, not MS-Windows, for obvious reasons (security). Linux uses case sensitive file systems. So a folder called "Test" is not targeted by a request to https://example.com/test because of the upper case of the "T" in it's name.

Source Link
arkascha
  • 43.2k
  • 8
  • 61
  • 97

I took the liberty to reformat your question so that the information you provided is actually readable. Please take care for future questions to do that yourself. It is in your interest to ask a question such that it is easy to read ...

Your issue (most likely) is the location of that ".htaccess" file. If I interpreted your question correct that you placed it inside the "Public" folder. Where it won't get considered, since an incoming request does not target that folder. You should place that file in the top folder that is used as your DocumentRoot folder, so most likely Public_html.

Also you need to make sure that rewriting is enabled at all for that http host (not sure about the settings of your provider or how to change such setting there.

And take care with upper case letters in your folder and file names. Keep in mind that internet server's are usually based on Linux systems, not MS-Windows, for obvious reasons (security). Linux uses case sensitive file systems. So a folder called "Test" is not targeted by a request to https://example.com/test because of the upper case of the "T" in it's name.