• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.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, 07:08 AM
.htaccess to allow script access in cgi-bin folder - by El Forum - 10-13-2008, 09:56 AM
.htaccess to allow script access in cgi-bin folder - by El Forum - 07-14-2009, 06:27 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.