-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handling links with version query strings #409
Comments
How are you indexing the WARCs? |
We are using the default configuration that comes with OpenWayback uses a Berkeley DB (BDB) database to store information about where to find WARC files and an index of their content. |
Hi @Axenu
I believe Generally, loading URLs with version query strings should work in OpenWayback. Are you able to share the WARC file that includes |
@ldko Sorry for not being so clear. What I mean is that a file named What we would want to happen is that OWM serves the file The warc containing the file |
We have a html file with the following link:
<script type="text/javascript" src="app/main-config.js?v=1.17.0"></script>
When the html file loads in OpenWayback the javascript file is not found and the page does not render since it needs the file.
Trying to manually load the same file
http://192.168.10.210:8080/wayback/20191021115240/https://domain.com/app/main-config.js?v=1.17.0
fails as well. So it is confirmed that the file cannot be loaded. The problem is however that the file:
http://192.168.10.210:8080/wayback/20191021115240/https://domain.com/app/main-config.js
can be loaded, so it does exist.
When verifying the contents of the WARC files we can see that the file is named
main-config.js?v=1.17.0
The expected behaviour is that openwayback let me open the file with the query string as it exists like that in the .WARC.
version: Apache Tomcat/8.5.20
OpenWayback: 2.3.2
The text was updated successfully, but these errors were encountered: