Customizing the web files

Top  Previous  Next

 

To customize the web files, you should:

 

1. Create a folder called "BrandingFiles", if it doesn't exist yet, under the folder webrdp located inside the ThinRDP Server installation directory. (e.g.: C:/Program Files/ThinRDP Server/webrdp)        

 

2. Make copies of the original web files that you want to modify to the "BrandingFiles" folder. Copy only the files to be modified without their associated folder structure.

 

3. Customize the files (html, css, etc) as you prefer.

 

4. Create the WebAliases.ini file and configure it:

 

a. Create a file called "WebAliases.ini" in the installation directory (e.g.: C:/Program Files/ThinRDP Server/WebAliases.ini). If the file already exists, only append the lines to it.

 

b. Configure the redirection to the files you have modified, by adding a line similar to the examples below for each modified file:

 

[Alias]

 

/index.html=BrandingFiles\my_index.html

/css/index.css=BrandingFiles\my_index.css

 

c. Save it.

 

5. Open the application and check out the changes.

 

 

Take into account:

 

a. Any line in the "WebAliases.ini" file that starts with a semicolon will not be considered by the application. It can be used to leave comments.

 

b. The paths located in the HTML, CSS, and other contents will be kept relative to the original file location. This means that you won't have to change the content paths when customizing this files.