Rewrite rule for Apache 1.3.33

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
BornForCode
Forum Contributor
Posts: 147
Joined: Mon Feb 11, 2008 1:56 am

Rewrite rule for Apache 1.3.33

Post by BornForCode »

Hello

How can i rewrite the htaccess file to do the equivalent of the following lines:

Code: Select all

RewriteEngine on
RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php
It seems that in Apache 1.3.33 this lines don't work properly :( (a 500 error is triggered).

Thank you
Post Reply