3
Quote:
gediminasbyt wrote:
Are you sure you are moving to / on ISP's site? Check the path with 'pwd' and then, after changes are done update mainfile.php with a correct path to xoopsinstall and mysql. Then login to adminside and to be safe update all modules including system, news, etc.
Gediminas
Hi,
No, I am not moving to / on the ISP site, only to / on the virtual server. So, this is the scenario:
I have a site at
http://www.kunibakai.nu. This is non-XOOPS at the moment. I am now creating a XOOPS version of this site, but since I would not want to release it without contents, which other people must provide, I put it in for instance
http://www.kunibakai.nu/xoops/.
Then, when the site is finished and ready for release, I move the site to
http://www.kunibakai.nu/, following hte steps in the migration quide. However, now I have potentially a lot of links in static contents pages that point to
http://www.kunibakai.nu/xoops/images/image1.jpg which is not there anymore. So, I would like then to not manually edit all these links but automatically redirect every request for a file in
http://www.kunibakai.nu/xoops/to the same file in
http://www.kunibakai.nu/Say that the acctual path on this server is
/home/kunibakai.nu/public_html/, what would the rewrite rule be?
I have tried
RewriteEngine on
RewriteRule (.*)/xoops/(.*) $1/$2 [R]
But every time I try to access
http://www.kunibakai.nu/xoops/, I get a 404 responce,
How do I do this?
/Fredrik