You are here: modrewrite (won't work for second rule) « All PHP « IT news, forums, messages
modrewrite (won't work for second rule)

Posted by andrew.bistak on 12/21/05 09:24

hi all,

RewriteEngine On
RewriteBase /
RewriteRule ^([^/]+)\.html$ pdisplay.php?page=p2/$1&type=htm
RewriteRule ^([^/]+)\.html$ gdisplay.php?page=g2/$1&type=htm

does anyone know why this rewrite won't work? It works for the first
rule but not the second
cheers,
Andrew

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация