CodeIgniter Forums

Full Version: A weird url problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum


an exemple is better than a big speach :

I can access to my controller admin by this link : but not by this one :

An idea, why CI needs an extra-slash?

My .htaccess

RewriteEngine on

RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]

Thanks for helping a newbie Smile

El Forum


Check this...

Hope this helps.

El Forum

Thank for this fast answer but even with this .htaccess the problem is the same...

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php/$1 [L]

<IfModule !mod_rewrite.c>
    # If we don't have mod_rewrite installed, all 404's
    # can be sent to index.php, and everything works as normal.
    # Submitted by: ElliotHaughin

    ErrorDocument 404 /index.php

El Forum

Whats the value of your configuration variable $config['index_page'] in /system/application/config/config.php ??

El Forum

it's blank btw