Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Article Index
Table of Contents |
---|
Step 1 - Configure ODBC DSN Connection To Framework MyNewHome
Provides the web server with access to the Framework MyNewHome database.
Warning |
---|
Microsoft 64-Bit Operating Systems include two ODBC Data Source Administrator executable files. Depending on the operating system, use the following to open the correct ODBC Data Source: On 32-Bit Operating Systems: Use either: Start Menu > Control Panel > Administrative Tools > Data Sources (ODBC) On 64-Bit Operating System: Use: \\%SystemRoot%\SysWOW64\odbcad32.exe (e.g., C:\Windows\SysWOW64\odbcad32.exe). |
ODBC DSN Configuration - Framework MyNewHome
Open Data Sources (ODBC).
Select the System DSN
Click the Add The Create New Data Source dialog will be displayed.
Select SQL Native Client.
Click the Finish The Create a New Data Source to SQL Server dialog will be displayed.
Enter the following details:
Name: FworkSQLMNH
Critical: For security reasons this should not be given the standard name FworkMyNewHome.Description (optional): Enter a description for the database connection. For example, Framework MyNewHome.
Server: Select the SQL Server from the Server drop-down list.
OR
Enter the SQL Server name.
If there is an error following Step 8, change the server name above to: \[server name]\SQLEXPRESS
Click the Next
Click the Next
Tick Change the default database to.
From the drop-down list select: FworkSQLMNH
Click the Next
Click the Finish The ODBC Microsoft SQL Server Setup dialog will be displayed.
Click the Test Data Source...
If successful, click the OK
Click the OK The ODBC Microsoft SQL Server Setup dialog will close.
Click the OK The Data Sources (ODBC) dialog will close.
Step 2 - Copy Ixed File
The Ixed file procedure is not required if another, working Framework portal has been configured on the same server.
The ixed file contains decompile scripts for the Framework MyNewHome Portal.
Open Windows Explorer.
Browse to: \[fw folder]\Setup\Framework MyNewHome Portal\Ixed\
Right-click on the win file and select Copy.
Browse to: C:\php\ext\ folder and select Paste.
If the file already exists, overwrite it. The folder structure should look like:
x:\[php folder]\ext\The ext folder MUST contain the file win.
Step 3 - Implement Framework MyNewHome Files
Copies the Framework MyNewHome Portal files to the web server.
Open Windows Explorer.
Browse to: \[fw folder]\Setup\Framework MyNewHome Portal\WebSiteFiles\
Select and copy all of the files and folders contained in the WebSiteFiles
Browse to: x:\inetpub\wwwroot\[portalWebsiteFolder]\
Where:
- x is the local target drive, and
- [portalWebsiteFolder] is the folder name of the web portal software (e.g., mynewhome, mnh, etc.).Paste the files and folders into the [portalWebsiteFolder], overwriting any files in the process.
The folder structure should look like:
x:\inetpub\wwwroot\[portalWebsiteFolder]\contacts
x:\inetpub\wwwroot\[portalWebsiteFolder]\css
x:\inetpub\wwwroot\[portalWebsiteFolder]\design
x:\inetpub\wwwroot\[portalWebsiteFolder]\documents
x:\inetpub\wwwroot\[portalWebsiteFolder]\gallery
x:\inetpub\wwwroot\[portalWebsiteFolder]\help
x:\inetpub\wwwroot\[portalWebsiteFolder]\home
x:\inetpub\wwwroot\[portalWebsiteFolder]\images\banner
x:\inetpub\wwwroot\[portalWebsiteFolder]\images\body
x:\inetpub\wwwroot\[portalWebsiteFolder]\images\common
x:\inetpub\wwwroot\[portalWebsiteFolder]\images\header
x:\inetpub\wwwroot\[portalWebsiteFolder]\images\help
x:\inetpub\wwwroot\[portalWebsiteFolder]\images\menu
x:\inetpub\wwwroot\[portalWebsiteFolder]\images\title
x:\inetpub\wwwroot\[portalWebsiteFolder]\inc_files
x:\inetpub\wwwroot\[portalWebsiteFolder]\kit
x:\inetpub\wwwroot\[portalWebsiteFolder]\mh
x:\inetpub\wwwroot\[portalWebsiteFolder]\scripts
x:\inetpub\wwwroot\[portalWebsiteFolder]\sessions
Step 4 - Configure Folder Permissions
The following folders must have their security permissions updated for the following group or user names:
Users ([systemname]\users)
IIS_IUSRS ([systemname]\IIS_IUSRS)
Folder | Permissions |
---|---|
x:\inetpub\wwwroot\[portalWebsiteFolder]\sessions | Read |
Where:
- x is the local target drive, and
- [portalWebsiteFolder] is the folder name of the Web Portal software (e.g., mynewhome).
Configure Folder Permissions
Browse to the folder: x:\inetpub\wwwroot\[portalWebsiteFolder]\
Right-click on the sessions folder and select Properties. The Properties dialog will be displayed.
Select the Security
Click ... The Permissions for... dialog will be displayed.
Select the Users ([systemname]\users) and in the Permissions for Users list, ensure Read, Write, and Modify is allowed.
Select the IIS_IUSRS ([systemname]\IIS_IUSRS) and in the Permissions for Users list, ensure Read, Write, and Modify is allowed.
Click OK. The dialog will close.
Click OK. The dialog will close.
Step 5 - Portal Configuration
Configures the logon and configuration files for the Framework MyNewHome Portal.
Configure Config.php File
Open Windows Explorer.
Browse to: x:\Inetpub\wwwroot\[portalWebsiteFolder]\
Where:
- x is the local target drive, and
- [portalWebsiteFolder] is the folder name of the web portal software (e.g., mynewhomeportal, mnhp, etc.).Right-click on php and select Open With....
When opening the following files, untick Always use the selected program to open this kind of file.From the Open With... dialog, select Notepad. This opens the file for editing.
Locate the text $dsn = "[Insert DSN]";
Replace [Insert DSN] with the server's Framework ECM DSN.
FworkSQLECMLocate the text $user = "";
Within the inverted commas, enter the username of a user who can connect to the Framework ECM Microsoft SQL database.
A username is required if your ODBC connection to the Framework ECM database requires SQL Authentication.Locate the text $pass = "";
Within the inverted commas, enter the password of user who can connect to the Framework ECM Microsoft SQL database.
A password is required if your ODBC connection to the Framework ECM database requires SQL Authentication.Locate the text $dsn1 = "[Insert DSN]";
Replace [Insert DSN] with the server's Framework MyNewHome DSN.
FworkSQLMNHLocate the text $user1 = "";
Within the inverted commas, enter the username of a user who can connect to the Framework MyNewHome Microsoft SQL database.
A username is required if your ODBC connection to the Framework MyNewHome database requires SQL Authentication.Locate the text $pass1 = "";
Within the inverted commas, enter the password of a user who can connect to the Framework MyNewHome Microsoft SQL database.
A password is required if your ODBC connection to the Framework MyNewHome database requires SQL Authentication.Locate the text $footer = "Copyright Framework Homes";
Replace Copyright Framework Homes with your organisation's copyright details.
Copyright Acme Homes. All Rights Reserved.Save and close the file.
Configure Config_logon.php File
Open Windows Explorer.
Browse to: x:\Inetpub\wwwroot\[portalWebsiteFolder]\
Where:
- x is the local target drive, and
- [portalWebsiteFolder] is the folder name of the Web Portal software (e.g., mynewhomeportal, mnhp, etc.).Right-click on php and select Open With....
When opening the following files, untick Always use the selected program to open this kind of file.From the Open With... dialog, select Notepad. This opens the file for editing.
Locate the text $dsn = "[Insert DSN]";
Replace [Insert DSN] with the server's Framework ECM DSN.
FworkSQLECMLocate the text $user = "";
Within the inverted commas, enter the username of a user who can connect to the Framework ECM Microsoft SQL database.
A username is required if your ODBC connection to the Framework ECM database requires SQL Authentication.Locate the text $pass = "";
Within the inverted commas, enter the password of a user who can connect to the Framework ECM Microsoft SQL database.
A password is required if your ODBC connection to the Framework ECM database requires SQL Authentication.Save and close the file.
Step 6 - Configure Internet Information Services
Proceed to the next step if a Framework portal has already been configured and working on the same server.
...
The following guide details the steps required for IIS 7.5.
Configure IIS 7.5
Open IIS 7.5.
From the Connections list, expand: [server_name] > Sites.
Highlight Default Web Site, ensuring that the Features View is selected.
Open Handler Mappings.
From the Actions list (on the right-hand side of the screen), click Add Module Mapping. The Add Module Mapping dialog will be displayed.
Enter the following details:
Request Path: *.php
Module: From the drop-down list, select FastCgiModule
If FastCGIModule is not available, ensure CGI has been installed.Executable: Using the browse button, browse to the location of the php-cgi.exe file.
Name: PHP
Click Request Restrictions.... The Mapping tab of the Request Restrictions dialog will be displayed.
Edit the following details:
Ensure Invoke handler only if request is mapped to: is selected.
Click File or folder.
Select the Verbs
Ensure that All verbs is selected.
Select the Access
Ensure that Script is selected.
Click OK.
Click OK.
Step 7 - Test Framework MyNewHome Portal
Once Framework MyNewHome Portal is installed and configured, the website must be tested.
Open IIS.
From the Connections list, expand: [server_name] > Sites > Default Web Site > [newportalname].
Highlight home, ensuring that the Content View is selected.
Right-click on logon.php and click Browse. The website will open using your system's default browser.