Witam

Chciałbym przerobić - lighttpd
  1. $HTTP["host"] =~ "^(www\.|)test\.domena\.pl$" {
  2. url.rewrite-once = ( "^/admin/(.*)\.html" => "/admin/index.php", "^/(.*)\.html" => "index.php","^/statusbar/img([^-]+)_([^-]+).jpg$" => "/baner.php?id=$1&type=$2","^/admin/(.*)$" => "/admin/index.php")
  3. server.document-root = "/var/kunden/webs/lukasz/gamepanel.domena.pl/"
  4. accesslog.filename = "/var/kunden/logs/test.domena.pl.log"
  5. }



Na wpis htaacces w apache2


Mój aktualny htacces:
  1. Options FollowSymLinks
  2. RewriteEngine on
  3.  
  4. RewriteCond %{REQUEST_FILENAME} !-f
  5. RewriteCond %{REQUEST_FILENAME} !-d
  6. RewriteCond %{REQUEST_URI} !/admin/
  7. RewriteRule .* index.php [L]
  8.  
  9. RewriteCond %{REQUEST_FILENAME} !-f
  10. RewriteCond %{REQUEST_FILENAME} !-d
  11. RewriteRule .* admin/index.php [L]
  12.  
  13. Allow from all


Tylko nie wiem jak zedytować htacces z lighttpd na apache2




Pomoże mi ktoś z tym htaccesem ?