You are here: Re: modrewrites (different rewrites but same destination - is this possible) ? « PHP Programming Language « IT news, forums, messages
Re: modrewrites (different rewrites but same destination - is this possible) ?

Posted by Marco Zilotti on 12/23/05 00:45

mmm, test this rule:

insert the .htaccess file in you root

RewriteEngine On
RewriteRule ^ps2(.*).html$ pdisplay.php?page=p2/ps2$1&type=htm [L,NC]
RewriteRule ^g2(.*).html$ gdisplay.php?page=g2/g2$1&type=htm [L,NC]

I use rules very similar in most of my website, and they work. Mmm, is
the rewrite engine enabled ?

 

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

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