Właśnie zmieniłem serwer www z Apache na lighttpd i mam pewien problem - mój skrypt używa modrewrite dla przyjaznych adresów, ale nie działa on na lighttpd, a ja nie jestem w stanie go przepisać tak, by na nim działał. Oto on:
Options FollowSymLinks RewriteEngine On RewriteRule news\.rss$ rss.php [L] RewriteRule primera-division-(.*)\.html$ druzyna.php?d=$1 [L] RewriteRule real-madryt-b-(.*)\.html$ druzynab.php?d=$1 [L] RewriteRule champions-league-(.*)\.html$ druzynacl.php?d=$1 [L] RewriteRule (.*),n([0-9]+)\.html$ news.php?id=$2&t=$1 [L] RewriteRule (.*),f([0-9]+)\.html$ felieton.php?id=$2&t=$1 [L] RewriteRule (.*),p([0-9]+)\.html$ page.php?id=$2&t=$1 [L] RewriteEngine On RewriteCond %{HTTP_HOST} ^(www\.)?yyy.pl(.*) [NC] RewriteRule ^(.*)$ <a href="http://www.xxx.pl/$1" target="_blank">http://www.xxx.pl/$1</a> [R=301,L] RewriteEngine On RewriteCond %{HTTP_HOST} ^www.xxx.pl$ [NC] RewriteRule ^(.*)$ <a href="http://xxx.pl/$1" target="_blank">http://xxx.pl/$1</a> [R=301,L]
Jest ktoś w stanie mi pomóc?
