Hi,
First of all, my English is bad, Iapologize for that.
I have Joomla! site, and inside public_html directory there is subdirectory 'portal'containing themoodle.
On my Joomla! I installedAkeeba Admin Tools Pro security extension which has .htaccess Maker.
When Icreated the.htaccess file for the firsttime - there were some problems with loading CSS/Template in Moodle, but that problem is solved (for more info about this, visit: https://www.akeebabackup.com/support/admin-tools/15013-fixed-permissioins-but-moodle-doesnt-load-csstemplate.html)
But, when I create Joomla! .htaccess that redirects non-www to www, everything worksokexcept subdomain:
when I enter:
portal.mysite.com (without www) - it redirects to www.portal.mysite.com/portal/ (/portal/ is added?)
If I enter with www (www.portal.mysite.com), everything is fine. Aslo, there are no problems with www.mysite.com/portal, or mysite.com/portal
If I delete Joomla! .htaccess - there are no problems at all. If I create .htaccess without redirecting non-www to www, also everything is ok.)
if you have any suggestion, advice, idea how to solve this problem, I would be much grateful to you!
I also asked about this problem here: https://www.akeebabackup.com/support/admin-tools/15152-moodle-doesnt-load-csstemplate-non-www-to-www.html
Moodle 1.9.19+
Thanks in advance!
Best regards,
Filip