Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> htacces lightppd > apache2
lukrec
post 14.06.2010, 15:34:20
Post #1





Grupa: Zarejestrowani
Postów: 15
Pomógł: 0
Dołączył: 5.07.2008

Ostrzeżenie: (0%)
-----


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 ?
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 29.06.2025 - 14:42