problem with subdomain on hosting(Godaddy) .htaccess

#1
[eluser]harman[/eluser]
hi to all,
-----i have problem with my "sub domains"( Please suggest .htaccess settings)-------

i have two domains on(Godaddy.com) in my hosting account.

"www.domain_1.com" is Primary Domain(which is completely based on CodeIgniter FrameWork).

"www.domain_2.com" is Secondary Domain Which is Fully STATIC site("HTML ONLY")

the problem is when i access Static site with Invalid url("Wrong Path") it show Errors Of "CodeIgniter 404 Page Not Found"

i don't want that . because i am not using CI on that site("www.domain_2.com") . then why this happen .


here some details----

---FileSystem-------------

--www.domain_1.com(Root Domain or Primary Domain)
|
|-CI(System)
|-index.php
|-.htaccess
|
|-domain_2(Dir) Static Data
|-index.html
|-dir(Contains all Files)

-End-FileSystem-------------

---.htaccess-------------

Code:
Options +FollowSymLinks
Options -Indexes
DirectoryIndex index.php index.html index.htm
RewriteEngine on
RewriteCond $1 !^(index\.php|img|css|js|robots\.txt|favicon\.ico)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L,QSA]

---End .htaccess-------------



-----Please Help Me.

#2
[eluser]Unknown[/eluser]
sory bro, i can't help you, i am newbie. Sad


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.