On 11/27/12 17:31, McPhail Hunt wrote: > So I was under the impression that with Wordpress MU I need to set up a > different vserver for each domain. I did ADD the domain like you > suggested to vserver 20 and I also added the 10.0.1.3 (my local IP > address). I also turned OFF the other two vservers for > provenencerehab.com <http://provenencerehab.com> so that only one > vserver is running.
I think you come from an Apache era ;) You should see adding multiple domainnames just as 'match'. A match to get to a specific Virtual Server. > If you visit both sites, you can see one works, the other, > provenencerehab.com <http://provenencerehab.com> works, but is missing > the redirection needed for the location of its files. > > For example in the wordpress admin, it says that an image is located here: > http://provenencerehab.com/files/2012/11/kVglG.jpg > > Yet, in reality, the image is located here: > http://provenencerehab.com/wp-content/blogs.dir/2/files/212/11/kVglG.jpg > > How can I configure a redirection to redirect /wp-content/blogs.dir/2/ > for provenencerehab.com <http://provenencerehab.com> AND also work with > all the other rules to run wordpress for this site? > > Here's the new config file reflecting the above changes. You should refer to the documentation on redirections. There is a ${host} modifier you could add to do an internal redirection (invisible to do the user) so /files/ end up at /wp-content/%{host}/... Using these blogs.dir/2/ is a bit unpractical... is there a way to change that? Stefan _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
