Welcome Guest, Not a member yet? Register   Sign In
How can i make Codeigniter allowing subfolders subfolders?
#24

[eluser]toopay[/eluser]
Code:
RewriteEngine On
RewriteBase /

# Below lines, means if there is a valid
# call to exist file, then it will send to it directly
# which means, if you access yoursite.com/blog/wp-admin/install.php
# it should brought you there! not CI 404
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*) index.php?/$1 [L]
I suspect mod_rewrite rule within above htaccess isn't working
Are you could access, let's say, some image file directly? by doing something like http://yoursite.com/somefolder/someimage.jpeg? Or try this:
create some file, named it test.php. Echoing something in it, put it on 'blog', try to access that file!


Messages In This Thread
How can i make Codeigniter allowing subfolders subfolders? - by El Forum - 04-19-2011, 02:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB