<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Andreas,<br>
<br>
Thanks for the response.<br>
<br>
I write in rewrite rule in httpd.conf<br>
<br>
<VirtualHost xxx.xxx.xxx.xxx><br>
ServerName mydomain.org<br>
ServerAlias <a class="moz-txt-link-abbreviated" href="http://www.mydomain.org">www.mydomain.org</a><br>
ProxyPass /
<a class="moz-txt-link-freetext" href="http://xxx.xxx.xxx.xxx/VirtualHostBase/http/mydomain.org:80/mydomaininstance/VirtualHostRoot/">http://xxx.xxx.xxx.xxx/VirtualHostBase/http/mydomain.org:80/mydomaininstance/VirtualHostRoot/</a><br>
ProxyPassReverse /
<a class="moz-txt-link-freetext" href="http://xxx.xxx.xxx.xxx:8080/VirtualHostBase/http/mydomain.org:80/mydomaininstance/VirtualHostRoot/">http://xxx.xxx.xxx.xxx:8080/VirtualHostBase/http/mydomain.org:80/mydomaininstance/VirtualHostRoot/</a><br>
</VirtualHost><br>
<br>
How can i redirect <a class="moz-txt-link-abbreviated" href="http://www.mydomain.com/article/view/11525/1/">www.mydomain.com/article/view/11525/1/</a> to
<a class="moz-txt-link-abbreviated" href="http://www.mydomain.com/archieve/11525">www.mydomain.com/archieve/11525</a><br>
<br>
<br>
Andreas Jung wrote:
<blockquote cite="mid:F0A02133162BAE12B1925ED7@%5B192.168.0.24%5D"
type="cite"><br>
<br>
--On 15. Juli 2008 13:14:53 +0530 Subhendu Kumar Giri
<a class="moz-txt-link-rfc2396E" href="mailto:subhendu.giri@oneworld.net"><subhendu.giri@oneworld.net></a> wrote:
<br>
<br>
<blockquote type="cite">Hi All,
<br>
<br>
Previously I have a website running in php. Now we migrated it to plone
<br>
2.5.5 and zope 2.9. After that I want to maintain all the previous
links
<br>
. Earlier it was like <a class="moz-txt-link-abbreviated" href="http://www.mydomain.com/article/view/11525/1/">www.mydomain.com/article/view/11525/1/</a> (where
<br>
11525 is the article id). Now I created a archieve folder where I
<br>
migrated the contents. The new link is <a class="moz-txt-link-abbreviated" href="http://www.mydomain.com/archieve/11525">www.mydomain.com/archieve/11525</a>.
I
<br>
tried to redirect it from default_error_message but it did not work as
it
<br>
shows the folder contents of article folder.
<br>
<br>
What should be done to redirect the old url to new url.
<br>
</blockquote>
<br>
Apache rewrite rules?
<br>
<br>
-aj<br>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; ">
<title>Subhendu Kumar Giri</title>
<p><font color="#669999" face="Verdana" size="2">Subhendu Kumar Giri [<span
lang="hi">शुभेन्दु कुमार गिरि</span>]</font><br>
<font color="#669999" face="Verdana" size="2"></font><font
color="#669999" face="Verdana" size="2"><br>
</font></p>
</div>
</body>
</html>