Page 1 of 1

More configurable file structure and file handling

Posted: Wed Nov 29, 2006 10:54 am
by StAugIT
More configurable file structure.

For instance, I wanted to set up a virtual host and made the documentroot
"/var/www/php/timetrex/interface"

But when I browse to my virtualdomain of

timetrex.localdomain.net/

it tries to browse to

timetrex.localdomain.net/timetrex/interface/Login.php

which is incorrect.

Maybe there is a way to modify this, and if it is the case, then further documentation may be necessary. Thanks!

Re: More configurable file structure and file handling

Posted: Wed Nov 29, 2006 1:00 pm
by mikeb
StAugIT wrote:More configurable file structure.

For instance, I wanted to set up a virtual host and made the documentroot
"/var/www/php/timetrex/interface"

But when I browse to my virtualdomain of

timetrex.localdomain.net/

it tries to browse to

timetrex.localdomain.net/timetrex/interface/Login.php

which is incorrect.

Maybe there is a way to modify this, and if it is the case, then further documentation may be necessary. Thanks!
In your timetrex.ini.php file, try setting:

base_url = /

That should redirect you to:

timetrex.localdomain.net/Login.php