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

[eluser]toopay[/eluser]
you didn't have any controllers named 'blog' did you?
#22

[eluser]Lacsap[/eluser]
No, I dont have blog controller.
#23

[eluser]Lacsap[/eluser]
Server:
Apache-Version 2.2.17
PHP-Version 5.2.17
#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!
#25

[eluser]Lacsap[/eluser]
Hmm crazy.
Now I am using your last htaccess code.

Tried and failed...

I deleted all in blog. Create index.php with echo "blub" an saved it in blog and in blog/test.
I see the index.php echo blub in both directories. Works.

Uploaded Wordpress again. Now it works.... THANKS.
I realy dont know why it works now. Thanks Smile
#26

[eluser]toopay[/eluser]
:bug: Browser cache! You didn't clear it i bet! Next time, everytime you change .htaccess or when you in the middle of debugging some code, you should clear your browser cache.
#27

[eluser]Lacsap[/eluser]
Yeah i only raped F5 Smile
Thanks toopay Smile Have a nice day.




Theme © iAndrew 2016 - Forum software by © MyBB