Jump to content
php.lv forumi

Mod_rewrite nestrada


Archa

Recommended Posts

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

.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

×
×
  • Create New...