Welcome Guest, Not a member yet? Register   Sign In
htaccess do not work for subdomain in codeigniter
#1

I have a subdomain

http://codeigniter.akbarwebtech.com

my htaccess
Code:
<IfModule mod_rewrite.c>
   RewriteEngine On
   RewriteBase /
 

   RewriteCond %{REQUEST_URI} ^system.*
   RewriteRule ^(.*)$ /index.php?/$1 [L]


   RewriteCond %{REQUEST_URI} ^application.*
   RewriteRule ^(.*)$ /index.php?/$1 [L]
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteCond %{REQUEST_FILENAME} !-d
   RewriteRule ^(.*)$ index.php?/$1 [L]

</IfModule>

<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
</IfModule>

What wrong I have done. 

I getting flowing errors on page 

http://prntscr.com/fkf9lg


Please Help Me

Thanks.
Reply
#2

Does it work without the .htaccess file?
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB