Hello guys, I have a URL with the following syntax: https://www.domain.com/pay/a1b2c
In the /pay directory I have a simple payment form. I am using _javascript_ to get the URL appendix a1b2c and process it in order to get further data to display in the payment form: var url = window.location.href;
var appendix = url.split("/").pop();
...
But if I open the URL in the browser, Apache says (of course): Not Found
The requested URL /pay/a1b2c was not found on this server.
How can I solve this problem? Which Apache config do I need? Thank you! Best, Marcel |