Installation Nette on production server. Dont work routing

2 months ago

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

2 months ago

CZechBoY
Member | 3296
+
+1
-

Send us error message.

2 months ago

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

2 months ago

ppar
Backer | 195
+
+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)

2 months ago

David Matějka
Moderator | 5807
+
+1
-

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

2 months ago

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!