Vobshchem the second day I vpuplyayu something and I can not force the Apache to turn his gaze to .htaccess.txt lying in the root What did you do:
Created the .htaccess.txt file. Its contents:
AddDefaultCharset UTF-8 RewriteEngine on ErrorDocument 404 /404.html RewriteRule ^/pub/([0-9]+) /pub/?id=$1Make sure that line 156 is uncommented in httpd.conf (
LoadModule rewrite_module modules/mod_rewrite.so)Make sure that in lines 229, 265, 378 is
AllowOverride All
At the same time, the site works as usual, does not produce any errors and does not redirect anywhere. What am I doing wrong?