How can i make Codeigniter allowing subfolders subfolders? |
[eluser]Lacsap[/eluser]
Hello, I have installed CI in root and Wordpress in root/blog. But I cant open mysite.de/blog without getting a 404 error. How can i unprotect the blog folder and its subfolders with .htaccess? My .htaccess on root: Quote:<IfModule mod_rewrite.c> I have to say that i dont know what my htaccess file is doing ![]() I googled and tried to add Code: RewriteCond $1 !^(index\.php|blog) Thanks.
[eluser]toopay[/eluser]
Code: RewriteEngine On
[eluser]Lacsap[/eluser]
Adding or replacing this code didnt help me. Could you tell what i've to do with this code?
[eluser]Lacsap[/eluser]
Codeigniter in /root/ and my Wordpress Blog in /root/blog. Do you need more?
[eluser]toopay[/eluser]
:coolhmm: Ok, forget that. How you access the index of your CodeIgniter App, i mean the fullpath..like 'http://idontknowwhatyourbasepath.com/bla..bla...' which give you welcome page or default controller.
[eluser]toopay[/eluser]
modify your.htaccess to Code: RewriteEngine On
[eluser]Lacsap[/eluser]
Now opening my CI mainpage not blog/.... But no 404 error
[eluser]toopay[/eluser]
Change the last line, to this Code: RewriteRule ^.* index.php/$1 [L] |
Welcome Guest, Not a member yet? Register Sign In |