Get parameters at the end of URL on Apache Web Server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux