[eluser]Randy Casburn[/eluser]
[quote author="Yednotek" date="1223426133"]I'm kind of running into a similar problem.
My .htaccess looks like this:
Code:
RewriteEngine on
RewriteCond $1 !^(trans\.php|index\.php|images|forum|cgi-bin|cgi-bin/mail\.cgi|css|links|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
I need to access the mail.cgi script in my cgi-bin folder, but I keep getting a 404 page not found error. Any suggestions?[/quote]
Yea...you can't use 'paths' in your RewriteCond above. cgi-bin/mail\.cgi isn't going to work. To do that you'll need to use maps.
My best attempt would have you try...
Code:
RewriteEngine on
RewriteCond $1 !^(trans\.php|index\.php|images|forum|cgi-bin|mail\.cgi|css|links|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
That should fix you up. But like my previous post said. I'm no expert here.
Randy