CodeIgniter Forums

Full Version: .htaccess file shows Deny from all
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Unknown[/eluser]
Hi All,

I have my laptop with Windows 7 OS and CI 2.0. When i open to edit application/.htaccess it shows me a text 'Deny from all'. What shall i do for get rid of this issue.

El Forum

[eluser]kr1pt[/eluser]
It must show that. Google: 403

El Forum

[eluser]Reneesh T K[/eluser]
make no changes to the htaccees file in application folder and create a new htaccess in the root where application folder resides and put this in it :

Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?/$1 [QSA,L]

It is for SEO urls..