[Zope] Apache mod_rewrite module...
mindlace
mindlace@imeme.net
Sat, 20 May 2000 19:41:39 -0600
Pierre Rougier wrote:
>
> Hi,
>
> well... I do not know if this is the place to ask it, but...
> I use two servers... ZServer and apache....
>
> My URL references to Apache
> example:
> http://margo.pla.fr/intra/machin.html
>
> and I want to use httpd.conf to transform it (only for html and htm
> files)
> in
>
> http://margo.pla.fr/intra/?machin.html (which is my ZServer)
>
> Does someone know the rewrite I sould use.... regular expression are a
> mistery for me....
does "intra" represent that it should be represented by zserver? if so,
RewriteRule ^/intra/(.*)htm /intra/?$1htm
RewriteRule ^/intra/(.*)html /intra/?$1html
should do the trick.
http://www.apache.org/docs-1.2/mod/mod_rewrite.html has more
information.
hope that helps,
~mindlace @ imeme & digicool