On Fri, 1 Apr 2011, Tony Zakula wrote:

Hi Alvaro,

On Fri, Apr 1, 2011 at 2:12 AM, Alvaro Lopez Ortega <[email protected]> wrote:
      Hello Tony,

      On Fri, Apr 1, 2011 at 4:32 AM, Tony Zakula <[email protected]> wrote:
            I recently had a project where someone migrated from a PHP app to a 
Java app.  In order to preserve SEO links, we generated about 5000
            redirects from a database script and wrote them to a file for 
Apache to include in its configuration.  Is there any way to mass insert
            redirects into Cherokee like that.  I really did not see anything 
in the docs on that, but I may have missed it.


If the rules do not change, you could generate them in the format of the 
Cherokee configuration file and insert them there. The work will be basically 
the
same, although the overall performance of the server will be much higher. The 
last entry of the FAQ explains it a bit better:
http://www.cherokee-project.com/doc/other_faq.html#faq21
Thanks.  Yes, I am not using htaccess files, just using the Apache config. So 
that is good to know it can be done.  This type of thing is static, but must
be done when migrating people to keep their Google rankings.  Not a Cherokee 
problem or issue, but unfortunately needed.  :-)


If you look on the bugtracker you find an implementation of external database storage for incomming urls and redirects and handler in Cherokee.


Stefan
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to