CodeIgniter Forums
.htaccess file shows Deny from all - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: .htaccess file shows Deny from all (/showthread.php?tid=40019)



.htaccess file shows Deny from all - El Forum - 03-27-2011

[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.


.htaccess file shows Deny from all - El Forum - 03-28-2011

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


.htaccess file shows Deny from all - El Forum - 03-29-2011

[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..