This extension works with a modified .htaccess file, which I have placed in the root directory of the pivotx installation. I don't know if this is right

or not, but I have gotten the multi-site mapped web-sites to insert and display images from their /pivotx/sites/anothersite.com/images directory rather than the images directory in the root of the file system.
I am including this example of htaccess because I was confused in two ways about the documentation of the .htaccess file. At first it seemed ambiguous, was example.org my root site or a multi-site. Well obviously it is the multi-site.
Then I wondered "how will the rule would be limited to being applied only when the correct url?"
That is, I wanted to change a directory name when parsing the affected url. So I did this;
Removed by hansfn.The code in the documentation is
- Code: Select all
# Rules for transparent multi-site usage
RewriteRule ^images/(.*)$ pivotx/sites/example.org/images/$1 [L]
RewriteRule ^templates/(.*)$ pivotx/sites/example.org/templates/$1 [L]
Everything is working, maybe I am just complaining about documentation. Why do I think I need the condition? Maybe the documentation example was meant to be put in the /pivotx/sites/example.org/.htaccess - hmm, maybe .... someday I will try that.