Special: Direct addressing of projects via own URL addresses

Definition of a specific URL address for an single project

Definition of specific URL addresses for several projects

It is possible to assign projects their own URL address and open them directly without accessing them via the overview page. The access modalities defined for the respective project also apply in this case.

 

Definition of a specific URL address for an single project

If you only use one project in total, it is quite simple. On the server computer you are using, open the file

 

C:\Program Files\lexiCan +WEB\Web.config

 

with a text editor and search for the line of code

 

<!-- <add key="DefaultProjectId" value="" /> -->

 

Remove the characters for commenting out (<-- and -->) and the characters "_p.mydomain". Then define the ID of the project as the value. You can find this in the lexiCan Administrator, e.g.

 

 

In the current example, the line of code should look like this.

 

 

After saving the changes to the configuration file, the defined project is opened directly via the previous URL address http://servername instead of the previous overview page or the corresponding access data is requested first.

 

Definition of specific URL addresses for several projects

On the server computer used, open the file

 

C:\Program Files\lexiCan +WEB\Web.config

 

and first look for the line of code

 

<!-- <add key="AllowMultipleDefaultProjectsByHost" value="true" /> -->

 

Remove the characters for commenting out (<-- and -->) and define "true" for the value of the key. The code line must then look like this.

 

 

In the next step, search for the line of code

 

<!-- <add key="DefaultProjectId_p.mydomain.com" value="BMBahj4iqE25GNjOy2PY2Q" /> -->

 

Remove the characters for commenting out (<-- and -->). Then replace "<p.mydomain.com>" in the line of code with the new address that you define yourself and "<WG-ID>" with the ID of the project that is defined in the lexiCan Administrator for the respective knowledge area, e.g.

 

 

According to the current example, the code line couldthen look like this.

 

 

With this setting, the project could then be accessed directly via the URL address http://knowledge.server.

Duplicate this line of code for each of your projects that should be accessible via the web client and define the respective values for "<p.mydomain.com>" and "<WG-ID>" in the lines of code.

 

After saving the file, all projects can then be accessed directly via their individual addresses.

 

Optionally, you can deactivate the overview page with all projects. To do this, set the value of the key

 

<add key="ProjectListEnabled" value="true" />

 

to "false".

 

 

If you have any questions or need support, please contact us via info@lexican.de or our contact form .