CodeIgniter'ın URL Yeniden Yazma Sorunu

0 Cevap php

I index.php uri gizlemek böylece ben şu htaccess script kullanarak ettik.

RewriteEngine on
RewriteCond $1 !^(index\.php|resources|assets|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]

Ama büyük bir sorunla karşı karşıya ettik: (

I’ve a directory named assets beside my index.php file and it should be there. Now when i browse the directory by browser then the codeigniter’s not found page displays. I can’t browser the file /assets/image.jpg but it displays when i call it from an <img> tag

Ben şimdi ne yapabilirim?

Benim yerel sunucu çalışıyor (localhost) fakat canlı sunucu unutmayın.

0 Cevap