I have three different domains for a restaurant web site. One part of website is in English (.com), one in Finnish (.fi) and one in Chinese (.cn). "National parts" are published on their own subdirectoriess on one single virtual server account. However I need/want to hide that subfolder on url-path.

Everything is working just fine expect when working with one feedback form. Please feel free to try the form yourself to see the problem live.

The problem can't be solved by changing the mod_rewrite. The PHP (not the JavaScript, you are correct) is probably expecting a _SERVER variable to be set with /finish in it (or not in it) and failing because of that.