Welcome Guest, Not a member yet? Register   Sign In
A weird url problem


an exemple is better than a big speach :

I can access to my controller admin by this link : http://dev.annoncesvelo.com//admin but not by this one : http://dev.annoncesvelo.com/admin

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


Check this...http://ellislab.com/forums/viewthread/91563/

Hope this helps.

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

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

it's blank btw

Theme © iAndrew 2016 - Forum software by © MyBB