My directory structure on the server looks as follows:
- Code: Select all
/sites/commonlibs - shared libraries for all sites
/sites/site1
/sites/site2
...
I have two domains, for example www.site1.com and www.site2.com.
Those domains MUST be bound to folder /sites/ on the server.
(otherwise sites'll have no access to commonlibs)
So, if somebody types www.site1.com it should use /sites/site1 (not /sites/) and if somebody types www.site2.com it should use /sites/site2.
How should the .htaccess file in /sites/ folder look like?
Thank you for your support
Michael