Installation Nette on production server. Dont work routing

strenget
Member | 6
+
0
-

Hello!

I need help with installation Nette on production server. On my local server this work good, but on the server no. For example on my server work path name_of_web/www but doesnt work another path name_of_web/www/sign.
I tried to find information in Google but i didnt find any information, only some .htaccess

Thank you very much!

Best wishes
Nikita Grigoryev

CZechBoY
Member | 3608
+
+1
-

Send us error message.

strenget
Member | 6
+
0
-

CZechBoY wrote:

Send us error message.

Not Found
The requested URL /SpaceAu/www/sign/ was not found on this server.

Apache/2.4.25 (Debian) Server at 88.85.64.176 Port 80

Petr Parolek
Member | 455
+
+1
-

you forgot set .htaccess file. Look at sandbox on github or you have to turn on mod_rewrite on Apache server.

Last edited by ppar (2019-01-09 21:07)

David Matějka
Moderator | 6445
+
+1
-

also, check that AllowOverride is set to All for your apache virtual host

strenget
Member | 6
+
0
-

ppar wrote:

you forgot set .htaccess file. Look at sandbox on github or you have to turn on mod_rewrite on Apache server.

Thank you! Now it is work!