Welcome Guest, Not a member yet? Register   Sign In
.htaccess to allow script access in cgi-bin folder
#1

[eluser]Yednotek[/eluser]
I figured I'd put my reponse to this post in a new thread.

I need to access the mail.cgi script in my cgi-bin folder, but I keep getting a 404 page not found error. My .htaccess looks like this:

Code:
RewriteEngine on
RewriteCond $1 !^(trans\.php|index\.php|images|forum|cgi-bin|css|links|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]

I have tried adding "mail\.cgi" and "cgi-bin/mail\.cgi" to the exclusion list but to no avail. Anyone have any suggestions?

Thanks!


Messages In This Thread
.htaccess to allow script access in cgi-bin folder - by El Forum - 10-08-2008, 06:08 AM
.htaccess to allow script access in cgi-bin folder - by El Forum - 10-13-2008, 08:56 AM
.htaccess to allow script access in cgi-bin folder - by El Forum - 07-14-2009, 05:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB