Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> htaccess z apache2 do lighttpd
kozikowski11
post 14.03.2011, 19:32:09
Post #1





Grupa: Zarejestrowani
Postów: 33
Pomógł: 0
Dołączył: 16.09.2006

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


Witam, mam problem doslownie z kilkoma linijkami rewrite.

plik htacess z apache:
  1. Options FollowSymLinks
  2. RewriteEngine On
  3. RewriteCond %{HTTP_HOST} ^www.wywalamy.pl
  4. RewriteRule ^(.*)$ <a href="http://wywalamy.pl/$1" target="_blank">http://wywalamy.pl/$1</a> [R=permanent]
  5. RewriteBase /
  6. RewriteRule ^pp.([^/]+)$ polecenie.php?id=$1 [L]
  7. RewriteRule ^index,(.*),(.*),(.*)$ index.php?q=$1&w=$2&e=$3
  8. RewriteRule ^index,(.*),(.*).flv$ index.php?q=$1&w=$2
  9. RewriteRule ^index,(.*),(.*)$ index.php?q=$1&w=$2
  10. RewriteRule ^index,(.*)$ index.php?q=$1
  11. RewriteRule ^demo$ _tmp/demo/demo.flv
  12. RewriteRule ^index$ index.php


przetlumaczylem to do poziomu:
  1. url.rewrite-once = (
  2. "^index,(.*),(.*),(.*)$" => "index.php?q=$1&w=$2&e=$3",
  3. "^index,(.*),(.*).flv$" => "index.php?q=$1&w=$2",
  4. "^index,(.*),(.*)$" => "index.php?q=$1&w=$2",
  5. "^index,(.*)$" => "index.php?q=$1",
  6. "^index$" => "index.php",
  7. "^demo$" => "_tmp/demo/demo.flv"
  8. )


Jednak nic nie dziala.

Z gory dziekuje za pomoc
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: 31.07.2025 - 08:02