----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Hi,

Apache 1.3.12 and JServ 1.1.2 on Win NT4.

Could you help me to solve a problem of redirection of request HTTP
using the mode "mod_rewrite".

Context :  
I wish to add one indexes "servlets" in my request HTTP for run a
servlet "processForm" under JServ.
Example : 
(from) http://myServer/processForm (to)
http://myServer/servlets/processForm

page html:
<form action="/processForm/" method="POST"> ... </form>

http.conf (vhost only):
...
<VirtualHost 192.168.20.2>
...
</VirtualHost>
<VirtualHost 192.168.20.2>
     ServerName linxe-virtual.fr
     ServerAlias www.linxe-virtual.fr
     DocumentRoot d:/http/sourcing
     DirectoryIndex index.html
     RewriteEngine on
     RewriteRule ^/processForm(.*)$ /servlets/processForm$1 [R]
</VirtualHost>
...

zone.properties :
servlet.processForm.code=fr.reflexe.util.processForm.FormMailServlet

Results : 
With the configuration above, I systematically recover in my servlet a
request GET !!!???
With the directive "RewriteRule ^/processForm(.*) /servlets/processForm
[PT]", I get the following error : "The requested URL
/servlets/processForm was not found on this server." !!!???.

Thank you.


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to