Hi, Federico! Thanks for the response! Unfortunately, I am using DSpace 7.x, I don't think it uses jspui anymore. Also I do not have an SSL certificate yet, I just want to configure my apache to proxy requests to tomcat via reverse proxying with ajp or HTTP on port 80 without a certificate. On Thursday, March 3, 2022 at 9:51:01 PM UTC+8 [email protected] wrote:
> Hi Jan, > > Try using mok_jk instead of reverse proxying. Its simpler and works > better. > Your apache ssl config should look like this (for jspui): > > <VirtualHost *:443> > ......... > RedirectMatch ^/$ /jspui > > JkMount /jspui* ajp13_worker > JkMount /oai* ajp13_worker > JkMount /swordv2* ajp13_worker > ............. > > After enabling mok_jk and configuring the worker in workers.properties. > > Regards > > El jueves, 3 de marzo de 2022 a las 9:53:29 UTC-3, [email protected] > escribió: > >> Hi, can you help me? I cannot get service from DSpace by reverse proxying >> apache to tomcat. It only shows the static page in "${SRVROOT}/htdocs". >> >> this is my httpd-vhosts.conf (this .conf file is alread included in my >> httpd.conf): >> >> <VirtualHost *:80> >> ProxyPreserveHost On >> ServerName repository-uecal.com >> ProxyPass /server ajp://localhost:8009/server >> ProxyPassReverse /server ajp://localhost:8009/server >> </VirtualHost> >> >> >> On Monday, February 7, 2022 at 9:58:38 PM UTC+8 Phillip jan wrote: >> >>> Hi! I am running on windows 10. >>> On Monday, February 7, 2022 at 9:38:25 PM UTC+8 Mark H. Wood wrote: >>> >>>> On Sun, Feb 06, 2022 at 08:48:07AM -0800, Phillip jan wrote: >>>> > Hi! I am having issues with the backend installation, particularly >>>> step 16. >>>> > I don't know how to setup a virtualhost using https/port443 proxy to >>>> proxy >>>> > all requests to apache and how to create an ssl certificate. I am new >>>> to >>>> > deploying a website in production environment. Can someone help me? >>>> thanks >>>> > in advance. >>>> >>>> The details will depend on your operating system. Is this on Linux or >>>> Windows? If Linux, what distribution (Ubuntu, Red Hat, etc.) and >>>> version? >>>> >>>> Some general notes: >>>> >>>> o Virtual hosting and proxying are two separate issues. The proxy >>>> connection will run within the virtual host. >>>> >>>> o Proxying between Tomcat and HTTPD can be done using HTTP or AJP. >>>> You need to choose one. The two services must both be configured >>>> to agree on the details of their connection. >>>> >>>> o Do you want to create a self-signed certificate, or obtain a >>>> certificate from a certificate authority? Self-signed certificates >>>> are easier and quicker to create, but will not be trusted by >>>> browsers. They are useful for testing, or in closed environments. >>>> A commercial or corporate certificate should be automatically >>>> trusted within the scope of the authority which signed it. To make >>>> your repository generally available, you will most likely want a >>>> commercial certificate. >>>> >>>> o It may be best to get these things working one at a time. >>>> That is: first set up the virtual host and test that you can get >>>> service from it with a simple static page. Then set up the proxy >>>> connection and test that you can get service from DSpace. Then add >>>> the certificate and set up HTTPS. >>>> >>>> -- >>>> Mark H. Wood >>>> Lead Technology Analyst >>>> >>>> University Library >>>> Indiana University - Purdue University Indianapolis >>>> 755 W. Michigan Street >>>> Indianapolis, IN 46202 >>>> 317-274-0749 <(317)%20274-0749> >>>> www.ulib.iupui.edu >>>> >>> -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/d15d60cf-5dc3-4ccd-96ba-3a8105b08543n%40googlegroups.com.
