Data privacy notice

 

When this content is loaded, usage information is transmitted to Vimeo and may be processed there.

 

             

Customisation of context path in URL

Modified on Tue, 19 Dec, 2023 at 5:19 PM

By default, formcycle must be opened from the subdomain such as /formcycle, for example http://mydomain.com/formcycle/. If the context path of the URL wants to be customised, the following configuration is required in Tomcat.


Using configuration file

Creating a new configuration file

Go to the directory TOMCAT_DIRECTORY/conf/Catalina/localhost and create a file there with the desired new name, e.g. forms.xml.


Moving the formcycle.war file

By default, the FORMCYCLE application file formcycle.war is located at TOMCAT_DIRECTORY/webapps. Move this file to some directory outside the webapps directory, such as for example TOMCAT_DIRECTORY/deploy/formcycle.war. 


Editing the configuration file

You must modify the context path so that it point to the new path of the formcycle.war. When the file has been moved to TOMCAT_DIRECTORY/deploy/formcycle.war, the configuration file must be changed as follows. 

<Context path="" docBase="TOMCAT_DIRECTORY/Tomcat 9.0/deploy/formcycle.war">
    <WatchedResource>WEB-INF/web.xml</WatchedResource> 
</Context>

If the data has been configured as in the example, the new call is http://mydomain.com/forms/.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article