RewriteMap with Java

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I try tu use a RewriteMap to rewrite dynamically urls on MacOS 10.5 Leopard Server. The code is really simple in the http.conf file :

	RewriteMap    mymap       prg:/path/to/map.class
	RewriteRule   ^/path/(.*)$  /path/page?${mymap:$1}

But when I launch Apache, I have this message in error log :
[Mon Jul 14 15:47:43 2008] [error] (86)Bad CPU type in executable: exec of '/etc/apache2/Main.class' failed

Anybody knows what could be the problem ?
Is it possible tu use a Java file for RewriteMap ?

Thanks for your help
Cedric.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux