A
A
Alinw2020-07-05 12:29:26
Hetzner
Alinw, 2020-07-05 12:29:26

hetzner web hosting not processing files, what's the problem?

hetzner web hosting does not process files.
On another hosting, uploaded and went. On Hetzner, filled and plug. No matter what you do, nothing helps. Support ... it is not.
What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SKEPTIC, 2020-07-05
@pro100chel

If you have shared hosting and you write in Laravel, then you need to do the following.
Understand which web server processes requests
If it is Apache, then you need to create a file called .htaccess in the folder with the site and write the following there

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteRule ^(.*)$ public/$1 [L]
</IfModule>

If Nginx is installed on the host, then nothing much can be done. Try to find in the control panel the option to select a web server and specify Apache there

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question