Forum Moderators: phranque
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME}!-f
RewriteCond %{REQUEST_FILENAME}!-d
RewriteRule . /index.php [L]
</IfModule>
Before using this rewriterule, I was using another one for a different program.
RewriteRule 1 /cgi-bin/index.pl [L]
If I put both the
RewriteRule . /index.php [L]
RewriteRule 1 /cgi-bin/index.pl [L]
together, they don't work.
Is there another way to combine these 2 rewriterules so they both work?
If the list is very long, then maybe list which ones they are not needed for.
Those will be the basis of the RewriteCond that you will need to set up for one or other, or maybe both of the redirects.