Thank for answer, but when I copy .htaccess file to /web10/ folder and refresh page, I get Internal server error.
Then check the exact error message in the error message of the logfile. I'am sure that your .htaccess file contains other settings beside mod_rewrite rules.
But when i copy .htaccess to /web10/web/ directory, I can't see it in the dir. It will disappear. .htaccess file contains only mod_rewrite rules.s
The is there and uploaded correctly but your FTP client or pureftpd hides hidden files (files that start with a dot). Take a look at the settings of the ftp client and the pureftpd configuration file.
my .htaccess file contains this: RewriteEngine On RewriteRule ^uzivatel/(.*) /index.php?id=8&user_name=$1 [QSA] RewriteRule ^(.*)/(.*).xml /index.php?id=$1 [QSA] Where is error log of the website?
If the error.log file is empty then there are no errors. Check on the shell with the "ls -la" command if you placed the .htaccess file in the correct directory, the "web" directory.
Yes. It is in the correct "web" directory. i can access it with command nano /var/www/client/client0/web10/web/.htaccess
And you are sure that this .htaccess works? Have you tested it on another server successfully. In most scripts you have something like "RewriteCond ...." before the rules.
.htaccess works on another servers. I went to "error.log" file and i found errors: "RewriteEngine is not allowed here" What now?
Remove the rewrite engine line as the rwrite engine is enabled already. If this wont work, simply copy the whole content of the .htaccess file into the apache directives field of the site and then delete the .htaccess file.
And you have tested this exact .htaccess file on another server without doing any modifications in it and you do not receibve any error messages in the error log anymore?