ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

htaccess rule needed to direct subdomain to folder in root

February 02, 2012 1:30pm

Subscribe [2]
  • #1 / Feb 02, 2012 1:30pm

    John St-Amand

    865 posts

    Hello, all:

    I’m having some trouble with a subdomain issue. The client has the following folder structure:

    clientfolder/domain.com
    clientfolder/test.domain.com

    What we’re trying to do is setup a completely new install of EE within test.domain.com. The idea is to build their new site in parallel to the current site and then when it’s ready, flip from the old to the new.

    And so i uploaded all the pertinent files, verified file permissions as outlined in the user guide and changes the system path in index.php and admin.php.  When i navigate to test.domain.com, I get the standard pre-installtion “Your config file does not appear to be formatted correctly.” message.  When I go to admin.php, I get nothing but a blank screen. No error message, no code, no nothing when I view source.

    I’m wondering if the host has something setup to prevent the installer from running.  Or alternatively that they have the account configured in such a way that the system folder is inaccessible due to some conflict between the parent domain and the subdomain.

    Is there an htaccess rule i would need to place in domain.com that would ensure that test.domain.com is treated as a completely separate domain?

  • #2 / Mar 07, 2012 11:31pm

    MelPax

    10 posts

    Have you received a reply?

  • #3 / Mar 08, 2012 7:36am

    John St-Amand

    865 posts

    No, but i got around the issue by simply setting up a dev folder at the root instead of a folder within the main installation.  Just proved easier.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases