Repository navigation
Conversation
|
Some questions/doubts:
What do I have to do/configure on the server which forwards accesses to the |
|
This is the |
|
Thanks for the questions and the .htaccess link. |
|
Hi @tillkamppeter , sorry for the late reply. I went through the server setup and the .htaccess. Right now openprinting.org (with or without www) just redirects to openprinting.github.io, and the old printer/driver/query URLs also redirect to openprinting.github.io/foomatic/. The only thing still actually served from the Apache server is /download/. On Telegram I mentioned setting up the GitHub Pages custom domain and updating DNS on your side, but that would break the downloads. I think a better option is to keep the server and have it proxy the site from GitHub Pages, while still serving /download/ itself. Something like this in the vhost config: SSLProxyEngine On
ProxyPreserveHost Off
ProxyPass /download/ !
ProxyPass /.well-known/ !
ProxyPass / https://openprinting.github.io/
ProxyPassReverse / https://openprinting.github.io//.well-known/ stays local so the HTTPS certificate can still renew. The old printer/driver/query redirects (like /printers -> /foomatic/printers) should stay, but point to openprinting.org instead of openprinting.github.io. Since ProxyPass is handled before .htaccess, they would probably need to move into the vhost config too. And www/http should redirect to https://openprinting.org/. I haven't tested this on the actual server, so it might need some tweaks. About your questions:
If this sounds fine to you, once you update the server config I'll check all the URLs and then mark the PR ready for merge. |
|
Great. But how do I update the server config? Where is this "vhost config"? |
The vhost config is Apache's main config for the site, not the .htaccess, and changing it needs root access. If you have a shell on the server, The server is hosted by OSUOSL (openprinting.org points to vip-lb1.osuosl.org), so if you don't have root, they would need to make the change via [email protected]. Let me know if you have access to it. |
Related to #240
Updates the canonical domain and documentation links to openprinting.org while preserving existing RSS item IDs. Adds checks for sitemap/feed URLs and RSS identities.
Tested locally: lint, full build, and URL checks passed.