...
- Redirect to the Servlet: https://dev-ddb.fiz-karlsruhe.de/oai --> http://ddb-di-vm08:8080/oai/OAIHandler
- Redirect to Stylesheet + Images: https://dev-ddb.fiz-karlsruhe.de/oai/docs --> http://ddb-di-vm08:8080/oai
- Rewrite-Rule because of tailing slash (may not be behind Servlet-Path)
Code Block collapse true <Location /oai > # OAI-Test in DI-Network AuthType Basic AuthName "Sie greifen auf ein Testsystem der DDB zu. Wenn Sie den Benutzernamen und das Passwort nicht kennen, dann sind Sie hier wahrscheinlich falsch." AuthUserFile "/etc/httpd/conf/htaccess" Require valid-user ProxyPass http://ddb-di-vm08:8080/oai/OAIHandler ProxyPassReverse http://ddb-di-vm08:8080/oai/OAIHandler </Location> <Location /oai/docs > # OAI-Test in DI-Network AuthType Basic AuthName "Sie greifen auf ein Testsystem der DDB zu. Wenn Sie den Benutzernamen und das Passwort nicht kennen, dann sind Sie hier wahrscheinlich falsch." AuthUserFile "/etc/httpd/conf/htaccess" Require valid-user ProxyPass http://ddb-di-vm08:8080/oai ProxyPassReverse http://ddb-di-vm08:8080/oai </Location> RewriteCond %{REQUEST_URI} ^/oai.* RewriteRule ^(/oai)/+$ $1 [R=301,L]
...