CodeIgniter Forums
CI and non-CI addon domains - 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: CI and non-CI addon domains (/showthread.php?tid=49154)



CI and non-CI addon domains - El Forum - 02-09-2012

[eluser]Unknown[/eluser]
Hello,

Hope this is the correct forum ...

I have a CI site up and running (let's call it domain.co.uk). I've set up a non-CI site in an addon domain (let's call it addon.co.uk) with the same hosting account, which is in public_html/addon.co.uk

I set up the addon domain via cPanel, and the .htaccess in public_html/ is as follows:

RewriteEngine on
RewriteCond $1 !^(index\.php|images|js|pdf|styles|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]

# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

The problem is a 500 server error when visiting addon.co.uk. Any idea on how to solve it? I've looked at other similar cases but the setup is usually slightly different ...

Thank you.