Tak jak podałem w temacie. Używając mod_rewrite wszytko jest ok, oprócz tego że w firefoxie (tylko!) głubi mi zmienne sesji, i co najciekawsze nie wszystkie! Logowanie które obsługuje pear dziala (tzn sesje są), a sesji które zapisuje sam nie ma.
Mieliście kiedyś podobny problem??
mój plik .htaccess
Kod
RewriteEngine On
RewriteRule ^index.html$ index.php [L,QSA]
RewriteRule ^mapa-strony.html$ index.php?do=mapa_strony [L,QSA]
RewriteRule ^site-map.html$ index.php?do=mapa_strony&id=33 [L,QSA]
RewriteRule ^wyszukiwanie.html$ index.php?do=show_search [L,QSA]
RewriteRule ^logout.html$ index.php?do=logout [L,QSA]
RewriteRule ^logowanie.html$ index.php?do=login [L,QSA]
RewriteRule ^404.html$ index.php?do=blad&kod=404 [L,QSA]
RewriteRule ^([0-9]+)-([a-zA-Z\_]+).html$ index.php?id=$1&do=$2 [L,QSA]
RewriteRule ^([0-9a-zA-Z\_\-]+).html$ index.php?cos=$1 [L,QSA]
ErrorDocument 404 http://www.nazwastrony.pl/404.html
RewriteRule ^index.html$ index.php [L,QSA]
RewriteRule ^mapa-strony.html$ index.php?do=mapa_strony [L,QSA]
RewriteRule ^site-map.html$ index.php?do=mapa_strony&id=33 [L,QSA]
RewriteRule ^wyszukiwanie.html$ index.php?do=show_search [L,QSA]
RewriteRule ^logout.html$ index.php?do=logout [L,QSA]
RewriteRule ^logowanie.html$ index.php?do=login [L,QSA]
RewriteRule ^404.html$ index.php?do=blad&kod=404 [L,QSA]
RewriteRule ^([0-9]+)-([a-zA-Z\_]+).html$ index.php?id=$1&do=$2 [L,QSA]
RewriteRule ^([0-9a-zA-Z\_\-]+).html$ index.php?cos=$1 [L,QSA]
ErrorDocument 404 http://www.nazwastrony.pl/404.html