Hi,

Whit the help of other member of the list (Antonio) I understood rewriterules 
is not what I need, the best option is mod_proxy

This is what I have:
Server.apache
Server.plone

And I want this:
When accessing https://server.apache redirect to http://server.plone but 
"hiding" the url and showing https://server.apache 

Now I'm reading documentation about mod_proxy 

Thanks!  

Saludos,

Jose Rabadán



-----Mensaje original-----
De: Krist van Besien [mailto:krist.vanbes...@gmail.com] 
Enviado el: miércoles, 16 de diciembre de 2009 10:21
Para: users@httpd.apache.org
Asunto: Re: [us...@httpd] rewriterules

On Mon, Dec 14, 2009 at 12:51 PM, Rabadan Palenque, Jose
<jose-raba...@rba.es> wrote:

>             RewriteRule ^/(.*) 
> http://ploneserver:8080/VirtualHostBase/https/%{SERVER_NAME}:443/$1 [P]

It is perfectly possible to use RewriteRules to proxy a particular URL
to another server. And the general pattern is indeed:
RewriteRule   <URL pattern> http://<destination server>/<destination URL>.

If you have trouble making this work we can help. However, you need to
provide us with more information. And your URL looks funny, I'm not
sure that URLs with a : followed by what looks like a port number are
a good idea...

- What do you mean with "it does not work". What were you expecting,
and what did you get in stead? Be specific.
- Switch on the RewriteLog, and look in the log what you see there. If
you see something there you don't understand feel free to ask here.
- Also check that your backend is not messing things up by sending
redirects to URLs that the client can't reach.

Krist

-- 
krist.vanbes...@gmail.com
kr...@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org


---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to