Tried to change c5 virtual host to dev.domain.com/c5-site/ - can't view or login

Permalink
Hi There,

When I installed c5, I originally had it living on our new dev domain here:
dev.domain.com/

But I then needed to upload a couple of other dev sites so tried to change the virtual host file so c5 would live here:
dev.domain.com/c5-site/

When I did this, I tried the following:
- Cleared the c5 cache
- Updated the c5 site.php BASE_URL
- Updated the c5 site.php DIR_REL
- Changed the apache dev.domain.com virtual host file
- Reloaded Apache

But I'm sure I missed something painfully obvious because it didn't work - how do you get c5 running in a sub-folder on a domain? BTW, I'm not using pretty URLs.

Any help would be much appreciated.

Cheers

Ben

 
cmscss replied on at Permalink Best Answer Reply
Sorry got it working - I'd added a trailing slash to both the BASE_URL and DIR_REL.

For more reference later on (incase I forget) the setup needs to look like this:

Apache virtual hosts file:
DocumentRoot /home

c5 site.php file:
define('BASE_URL', 'http://dev.domain.com');
define('DIR_REL', '/c5');

Cheers

Ben