Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Rewrite na serwery.pl, Jak ustawić mod_rewrite na serwerze provider w serwery.pl
lstaniec
post 25.05.2012, 13:35:11
Post #1





Grupa: Zarejestrowani
Postów: 1
Pomógł: 0
Dołączył: 25.05.2012

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


Witam
Mam problem

Mialem strone na serwerze Active w nazwa.pl
Zalozylem serwer provider w serwery.pl (teoretycznie ta sama firma)

Wszytskie strony nie działają mi bo mialem document root wskazujacy na katalog strony jako ustawienie w active. W provider tego nie ma wiec musze ustawić RewriteBase

ustawiam RewriteBase /

i nie dziala


Mam tak jak ponieżej ale niestety nie działa
Podanie całej sciezki zamiast / tez nie pomaga. Wpisanie jakiejś innej wartości powoduje błedy 404 (czyli czyta i działa)


RewriteEngine on

RewriteRule ^([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+)\.html$ index.php?$1=$2 [L]
RewriteRule ^([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+)\.html$ index.php?$1=$2&$3=$4 [L]
RewriteRule ^([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+)\.html$ index.php?$1=$2&$3=$4&$5=$6 [L]
RewriteRule ^([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+)\.html$ index.php?$1=$2&$3=$4&$5=$6&$7=$8 [L]
RewriteRule ^([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+)\.html$ index.php?$1=$2&$3=$4&$5=$6&$7=$8&$9=$10 [L]
RewriteRule ^([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+)\.html$ index.php?$1=$2 [L]
RewriteRule ^([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+)\.html$ index.php?$1=$2&$3=$4 [L]
RewriteRule ^([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+),([a-zA-Z0-9\%\_\.\-]+)\.html$ index.php?$1=$2&$3=$4&$5=$6 [L]



prosze o pomoc
Co mam żle?
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: 19.07.2025 - 04:37