Welcome Guest, Not a member yet? Register   Sign In
Code Igniter blocking access to /cgi-bin
#8

[eluser]Techie-Micheal[/eluser]
This worked for me (for things other than the cgi-bin, but should still work)

Code:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !/dir1
RewriteCond %{REQUEST_URI} !/dir2

RewriteRule ^(.*)$ index.php/$1 [L]

From a glance, it looks like the only difference between what I have and what you have is the spacing.


Messages In This Thread
Code Igniter blocking access to /cgi-bin - by El Forum - 03-09-2008, 10:29 PM
Code Igniter blocking access to /cgi-bin - by El Forum - 03-10-2008, 12:01 AM
Code Igniter blocking access to /cgi-bin - by El Forum - 03-10-2008, 12:38 PM
Code Igniter blocking access to /cgi-bin - by El Forum - 03-10-2008, 08:45 PM
Code Igniter blocking access to /cgi-bin - by El Forum - 03-10-2008, 09:09 PM
Code Igniter blocking access to /cgi-bin - by El Forum - 03-11-2008, 09:16 AM
Code Igniter blocking access to /cgi-bin - by El Forum - 03-11-2008, 01:16 PM
Code Igniter blocking access to /cgi-bin - by El Forum - 03-11-2008, 02:50 PM
Code Igniter blocking access to /cgi-bin - by El Forum - 03-11-2008, 10:27 PM
Code Igniter blocking access to /cgi-bin - by El Forum - 03-12-2008, 08:11 AM
Code Igniter blocking access to /cgi-bin - by El Forum - 03-12-2008, 11:38 AM
Code Igniter blocking access to /cgi-bin - by El Forum - 03-12-2008, 11:56 AM
Code Igniter blocking access to /cgi-bin - by El Forum - 03-12-2008, 07:44 PM
Code Igniter blocking access to /cgi-bin - by El Forum - 03-12-2008, 08:15 PM
Code Igniter blocking access to /cgi-bin - by El Forum - 03-13-2008, 06:16 PM
Code Igniter blocking access to /cgi-bin - by El Forum - 03-13-2008, 08:15 PM
Code Igniter blocking access to /cgi-bin - by El Forum - 03-13-2008, 08:54 PM
Code Igniter blocking access to /cgi-bin - by El Forum - 03-13-2008, 09:11 PM
Code Igniter blocking access to /cgi-bin - by El Forum - 03-13-2008, 09:27 PM
Code Igniter blocking access to /cgi-bin - by El Forum - 03-23-2008, 06:40 PM



Theme © iAndrew 2016 - Forum software by © MyBB