I have moved a small 'hand rolled' ftp application over from the old account to the new account, there is a folder called 'appconfig' in the root of the old account which I have also moved over to root folder of the new account. This folder contains a file called 'httpd.include' and it contains various php.ini directives, one of which is to include a file in the same root directory folder that contains the following:
Code: Select all
DocumentRoot /home/theaccount/public_html/portal
AddType application/x-httpd-php .php .htmlCode: Select all
AddType application/x-httpd-php .php .htmlCode: Select all
DocumentRoot /home/theaccount/public_html/portalAnyone any ideas how I can get this root directory file 'httpd.include' to be used by the php.ini file? I have access to the whole server where the new account is but only limited access to pull the app off the old server although I have all the files the app uses and altered any configuration files for the app. The problem is that when someone enteres the domain.com they are taken to the 'home' folder, while I want them to be taken to the 'portal' folder.. in otherwords for the portal folder to be used as the home directory.
I have an account that uses cpanel, I have a sub domain set up as portal in cpanel, the portal directory I want to default to as the document root.
Thanks in advance