INL / corpus-frontend

BlackLab Frontend, a feature-rich corpus search interface for BlackLab.
16 stars 7 forks source link

Website configuration #456

Closed stcoats closed 1 year ago

stcoats commented 1 year ago

Would you be able to help me with configuring the frontend for deployment using CLARIN Federation Shibboleth login?

I would like to have a setup similar to what has been created for https://chn.ivdnt.org: A landing page with some basic information and a CLARIN Federation login button.

Then, after successful login, the user would be taken to the /corpus_frontend-3.1.0/mycorpus/search.

At the moment, the corpus is working as desired at https://coanzse.org, using an nginx reverse proxy server with the Tomcat backend. This is without Shibboleth.

I got some help from the CLARIN folks and have Shibboleth working. They told me it is better to use Apache's httpd as the frontend reverse proxy, because it works better with Shibboleth. We tried to configure this, but can't get it to work properly. Using httpd and Shibboleth, I get taken to the Shibboleth login, log in there, and then am redirected to the Tomcat welcome page, or there is a "Not found" page, no matter what RewriteRule line used in the conf file.

I think maybe the settings on my httpd.conf file are not correct, or perhaps I need to change some configurations in the BlackLab corpus-frontend.properties file, and/or other configuration settings in BlackLab or Tomcat.

If you have any ideas here I would be very grateful!

stcoats commented 1 year ago

It's fixed now! Jan passed along the configuration details from the CHN. I had not included a location element for the server backend.