please help me. I did try to find similar problem here reading old posts, but I didn’t find anything.
I have a problem with post data.
I’m using Apache tomcat + ajp + Apache Httpd 2.2
Here is a part of my httpd.conf:
#Application has context url = konakart, and tomcat post 8789 for ajp
#I want to avoid typing port in my URL
ProxyPass / ajp://localhost:8789/konakart/
#pretty urls
#I don't want to type http://myshop.com/konakart
#I want http://myshop.com
#I want to put away /konakart/ from URL
RewriteEngine on
Options +FollowSymlinks
RewriteRule ^/konakart/(.*) /$1 [R=301,L]
RewriteRule send-mail index.php?send-mail [NC,P]
Everyting is ok… except that from POST data is lost.
Seems like it’s because of R=301. But I can’t put away R=301. If I do so nothing works.
I’m using VDS so I can do anything…
please help me to overcome this problem .:(
It was combined problem of mod_rewrite and GWT and my curl hands 😉
Here is valid httpd.conf code, see comments in code: