So here is what I’m trying to do:
1. Run multiple domains from one instance of EE
2. Rename the index.php file to something unique for each domain
Server/Hosting provider info:
1. Secondary domain runs in a folder “above” the EE directory
2. Primary domain runs in the EE directory
The providered help me by modifiying the .htaccess file to this:
(NOTE: “key” is the replacement for a specific domain. It was not changed in the primary EE directory)
----
<Files key>
ForceType application/x-httpd-php
SetHandler application/x-httpd-php
DirectoryIndex key
</Files>
Options All
RewriteEngine on
RewriteCond %{HTTP_HOST} ^moremoredaddy.ambleconnect.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.moremoredaddy.ambleconnect.com$
RewriteRule ^(.*)$ http://moremoredaddy.ambleconnect.com/key [R=301,L]
-----
Also in the situation where a secondary domain is running “above” the primary directory for EE, do I have to use absolute paths or will relative still work?
Thanks
Stuart
