|
Posted by Janwillem Borleffs on 12/22/05 14:50
Andrew wrote:
> thanks, I'm actually trying to make them all have the same .html
> extension? Is this possible with those two rules, the first rules
> works like a charm, which is why I want to have the second rule
> working too because both pdisplay and gdisplay show different code
> (e.g. html and style sheets etc)
>
As I suggested, you should redirect the requests to pdisplay.php and let it
handle requests to gdisplay.php.
Each RewriteRule is handled by its pattern and when both patterns are
exactly the same, Apache will select the first it encounters.
If you are able to make each pattern unique by a variation in the file name,
only then it will work.
JW
Navigation:
[Reply to this message]
|