Quantcast
Channel: WampServer - WampServer Francais
Viewing all articles
Browse latest Browse all 3476

.htaccess ne marche pas (1 réponse)

$
0
0
Bonjour,

il s'agit de mon premier post dans ce forum et j'espère que vous pourrez m'aider.

J'ai installer wamp 2.4 avec windows 8. J'utilise code igniter 2.1.4 et j'essaie de retirer index.php de mon url.

Exemple

Au lieu de
localhost/index.php/test/home

Avoir
localhost/test/home

Pour ce j'ai fait les manipulations suivantes

J'ai modifié C:\wamp\www\application\.htaccess avec le code suivant

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

Par la suite, j'ai été dans wamp->apache->apache modules->rewrite_module
J'ai redémarré wamp mais ça ne marche pas.

J'ai donc modifié httpd.conf

<Directory />
AllowOverride none
Require all granted
</Directory>

Par
<Directory />
AllowOverride all
Require all granted
</Directory>

Ne marche toujours pas.

Je n,ai plus d'idée et je n'ai rien trouvé d'autres via google ? Pouvez-vous m'aider


merci

Viewing all articles
Browse latest Browse all 3476


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>