Options +FollowSymLinks
RewriteEngine On
RewriteBase /www/
<files "password.txt">
order allow,deny
deny from all
</files>
RewriteRule edycja$ index-cms.php
RewriteRule polski$ index.php?lang=pl
RewriteRule english$ index.php?lang=en
RewriteRule (.*),(.*),(.*),(.*),(.*)\.htm$ index.php?$1&id=$2&lang=$3&idproduktu=$4&kategoria=$5
RewriteRule (.*),(.*),(.*)\.htm$ index.php?$1&id=$2&lang=$3 [L]
Tak wygląda plik .htaccess, dziwne żeby to był błąd w składki skoro nawet pusty plik nie działa. Dostałem logi serwera może trafię z dobrym wkleje kilka które wydają mi się dotyczą tego:
/var/www/vhosts/nazwa_domeny/httpdocs/www/.htaccess: Invalid command '\xef\xbb\xbf', perhaps misspelled or defined by a module not included in the server configuration, referer:
http://nazwa_domeny/www//var/www/vhosts/nazwa_domeny/httpdocs/www/.htaccess: Invalid command '\xef\xbb\xbf', perhaps misspelled or defined by a module not included in the server configuration
/var/www/vhosts/nazwa_domeny/httpdocs/www/.htaccess: Invalid command '\xef\xbb\xbfRewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
/var/www/vhosts/nazwa_domeny/httpdocs/www/.htaccess: </IfModule> without matching <IfModule> section