rewriterule create alias directory for specific requests

Discussion in 'Apache' started by jenkisan, May 24, 2011.

  1. #1
    Hi all. My first post.

    I have a particular problem and I think a rewriterule might do the trick but if you have a better solution...

    I have reinstall some cms software that originally was installed under http://domain/new/ I know reinstalled it under Http://domain/

    The cms works fine however, almost all content (ie images, attachments article links etc) are all with the old /new/ so nothing is visible in terms of content.

    I was wondering if there is a rewriterule with a rewritecond perhaps that would rewrite any requests of the server from http://domain/new/ to http://domain/ and leave all other requests as they are.

    Thanks and looking forward to this.

    Jeff
     
    jenkisan, May 24, 2011 IP