Chciałbym przerobić - lighttpd
$HTTP["host"] =~ "^(www\.|)test\.domena\.pl$" { url.rewrite-once = ( "^/admin/(.*)\.html" => "/admin/index.php", "^/(.*)\.html" => "index.php","^/statusbar/img([^-]+)_([^-]+).jpg$" => "/baner.php?id=$1&type=$2","^/admin/(.*)$" => "/admin/index.php") server.document-root = "/var/kunden/webs/lukasz/gamepanel.domena.pl/" accesslog.filename = "/var/kunden/logs/test.domena.pl.log" }
Na wpis htaacces w apache2
Mój aktualny htacces:
Options FollowSymLinks RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !/admin/ RewriteRule .* index.php [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .* admin/index.php [L] Allow from all
Tylko nie wiem jak zedytować htacces z lighttpd na apache2
Pomoże mi ktoś z tym htaccesem ?