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

[eluser]Unknown[/eluser]
Hi,

I really struggled with this problem too. This is how I got round it:

Code:
RewriteEngine on

RewriteBase /

RewriteCond $1 ^(cgi\-bin)
RewriteRule ^(.*)$ cgi-bin/$1 [L]

RewriteCond $1 !^(index\.php|images|css|robots\.txt|favicon\.ico|js|uploads|flash|cgi\-bin)
RewriteRule ^(.*)$ index\.php/$1 [L]


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