Hi,

After hours of reading manuals and countless trials I'm close to loosing
the plot.

The problem:
After entering an URL like <www.mydomain.com.au/4711> into the a browser
a page has to be served with the number after the "/" used as ID to get
the appropriate information out of 4D.
The destination page is uses get form variable ("ID") to obtain the right
information.

Question:
How can I tell Apache to take the number after the slash and re-write it
to the destination page so "get form variable" can grab it as the ID-variable?

Configurations
    Web Server:
    G4  MacOS X 10.2.8, Apache 1.2.27

    4D Server
    G4 MacOS X 10.2.8, 4D 2003.1, Active4D 3.0.b14

Here are some samples I already tried:

RewriteRule (.*) /[0-9]+$1 http://192.168.3.4:8000/4DCGI/myFolder/
mypage.html$1 [P]
RewriteRule (.*) [0-9]+$1 http://192.168.3.4:8000/4DCGI/myFolder/
mypage.html$1 [P]
RewriteRule (.*) /([0-9]+) http://192.168.3.4:8000/4DCGI/myFolder/
mypage.html/$1 [P]
RewriteRule (.*) ([0-9]+) http://192.168.3.4:8000/4DCGI/myFolder/
mypage.html/$1 [P]

Any help is highly appreciated.


Cheers
J�rg


Reply via email to