janhoy commented on pull request #70: URL: https://github.com/apache/solr-site/pull/70#issuecomment-1030954635
Tried this by merging (and sorry for not squash-merging, became a bit noisy). While the rules in `guide/.htaccess` worked in isolation, unfortunately I could not * get it to inherit rules from parent with `RewriteOptions Inherit` - it should then have applied parent rules after local rules * replicate the last two rules from main htaccess into the local guide/htaccess, as it is illegal to redirect to parent folder, and the `__root/docs.solr.apache.org/` folder is only available on the root level. I think, to make this work, we need to either * Find a way to make inheritance work. Could be that inheritance is disallowed by main httpd config file? * or have infra make another symlink to `__root...` inside the guide folder, but that is dirty.. * add all the redirects to the main .htaccess file and take the performance hit * ask INFRA to add our rewrites as a map in the main config. This is more performant, but a hassle to maintain -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
