I had created a customized start.html under a unique name and changed the alias statement to point to my custom version, but with version 2.1.6, when I start a program it just references /profoundui/start?pgm= instead of /profoundui/start.html?pgm= Is it still safe to use start.html to run programs or is that being replaced? Alternatively, how do I configure /profoundui/start to have my custom headings?
--Bryan
Custom start.html
-
- Profound User
- Posts: 72
- Joined: Fri Oct 01, 2010 5:07 pm
- First Name: Bryan
- Last Name: Leaman
- Company Name: InVue Security
- Phone: 704-752-6513 x221
- Address 1: 15015 Lancaster Hwy
- City: Charlotte
- State / Province: North Carolina
- Zip / Postal Code: 28277
- Contact:
- Rob
- Profound Logic Staff Member
- Posts: 135
- Joined: Fri Jan 04, 2008 12:12 pm
- First Name: Rob
- Last Name: Ferguson
- Company Name: Profound Logic Software
- Contact:
Re: Custom start.html
With version 2.1.6 we changed the way start.html operates so you can create custom widgets. We have dropped the ".html" off the start URL.
start.html and your custom version newname.html will still continue to operate as before but we recommend you make the following change to the http config file at /www/profoundui/conf/httpd.conf if you have made a custom version of start.html as you have done.
in httpd.conf there is a line:
If your modified copy of start.html is called newname.html, then add a new line directly under the line above. It will look like this:
Save the file and restart the Profound UI instance with these commands:
The URL for your custom start html file will then be:
/profoundui/newname?pgm= etc etc
If you make this change, your custom start html file will be compatible with future features of Profound UI.
start.html and your custom version newname.html will still continue to operate as before but we recommend you make the following change to the http config file at /www/profoundui/conf/httpd.conf if you have made a custom version of start.html as you have done.
in httpd.conf there is a line:
Code: Select all
ScriptAlias /profoundui/start /QSYS.LIB/PROFOUNDUI.LIB/PUI0005001.PGM
Code: Select all
ScriptAlias /profoundui/start /QSYS.LIB/PROFOUNDUI.LIB/PUI0005001.PGM
ScriptAlias /profoundui/newname /QSYS.LIB/PROFOUNDUI.LIB/PUI0005001.PGM
Code: Select all
ENDTCPSVR SERVER(*HTTP) HTTPSVR(PROFOUNDUI)
STRTCPSVR SERVER(*HTTP) HTTPSVR(PROFOUNDUI)
The URL for your custom start html file will then be:
/profoundui/newname?pgm= etc etc
If you make this change, your custom start html file will be compatible with future features of Profound UI.
Who is online
Users browsing this forum: No registered users and 1 guest