Archa Posted June 1, 2008 Report Share Posted June 1, 2008 Tatad itka uzrakstiju pareizu mod_rewrite scriptu, bet man neradas ne bildes ne stylesheet taja lapa ko parrakstiju parejas ir viss ok RewriteRule ^torrent_category/([a-zA-Z0-9_-]+)?$ browse.php [L] http://www.katls.lv/bildes/files/kmy1xznz3knkrnzdhmtz.jpg Link to comment Share on other sites More sharing options...
4e4en Posted June 2, 2008 Report Share Posted June 2, 2008 RewriteRule ^torrent_category/([0-9]+)/$ browse.php?cat=$1 [L] Link to comment Share on other sites More sharing options...
andrisp Posted June 2, 2008 Report Share Posted June 2, 2008 Pirms taas rindinjas vajag veel shitaadu ielikt: RewriteCond %{REQUEST_FILENAME} !-f Tas noziimee, ja pieprasiitais URL atbildiis kaut kaadam failam, tad rewraitoshana nenotiks. PS. Kaa jau 4e4en noraadiija, tavs rule izskataas nepareizs. Link to comment Share on other sites More sharing options...
Archa Posted June 2, 2008 Author Report Share Posted June 2, 2008 .htaccess fails, joprojam nav izmainju Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^torrent_category/([a-zA-Z0-9_-]+)?$ browse.php [L] RewriteRule ^torrent_category/([0-9]+)/$ browse.php?cat=$1 [L] Link to comment Share on other sites More sharing options...
andrisp Posted June 2, 2008 Report Share Posted June 2, 2008 Tev tas pēdējis Rule vispār neizpildās. Un kā jau teicām - priekšpēdējais izskatās vispār nepareizs. Link to comment Share on other sites More sharing options...
Archa Posted June 2, 2008 Author Report Share Posted June 2, 2008 nja ka butu pareizi browse.php parakstit uz torrent_category/ Link to comment Share on other sites More sharing options...
Recommended Posts