Hi there
I have a slight issue with a rewrite that I'm doing presently, wondered if anyone had any ideas.
One Apache server inside company DMZ: www.myapache.com
One SAP server inside comany DMZ: www.mysap.com:8000
I've disabled https on both servers just for testing and tested a simple proxied mod_rewrite which all works fine.
At present I'm trying to make the following simple link:
http://www.myapache.com/sap
Redirect to this SAP link:
RewriteRule ^sap http://www.mysap.com:8000/sap/bc/webdyn ... p_customer [P,L]
With the above I get an 'Object Not Found!' Error 404 message and nothing that helpful in the apache error log.
I can get this to work to some degree if I make it a lot simplier
RewriteRule ^sap http://www.mysap.com:8000/sap/bc/webdynpro/ [P,L]
Do I need to create a regular expression and then pass that to the redirect?
UPDATE
---------
Finally got this to work partially, looks like it was an issue with the firewall, however now I'm having problems passing the SAP variable, here's my rule:
RewriteRule ^sap$ http://sapserver:8000/sap/bc/webdynpro/ ... p_customer [P,L]
This rule seems to ignore anything after the '?', instead of going to a specific SAP page it just goes it a SAP generic login screen.
Any ideas?
Thanks
Sorry I realise now I should have posted this in a different forum....