php .htaccess query
Posted on 2010-09-03
I have a GODADDY hosting account which holds several domains.
I have the file structure in the background as
/ (root folder which contains the main domain files
/_websites/ (other website domain files here)
I have several websites, one of which is cubecart4, the others are joomla 1.5. I am trying to get apache rewrite setup on all of these sites, but there is a problem. I am not able to configure each with their own, completely different .htaccess file as they insist on using the one at the root.
So I have a .htaccess file setup in the root container and all my joomla sites quite happily use this, and work fine. If I try to put a HTACCESS file in each sites virtual root (i.e /_websites/domain.com/.htaccess they will not use it and just give internal server errors.
However, I cannot install a .htaccess for my cubecart site. I tried to put it in the root of the site and it wont work.
Any ideas on how I can set this up without having to get a seperate hosting account for each domain? Is anyone on godaddy hosting several sites on one account with different .htaccess and how was it done?