This is a strange occurrence that I've been unable to get past. I am trying to move a small microsite into a subdirectory using or a2 hosting account, and coming across an error I've never seen before.
Here is as much info as I have.
We have two domains: domainA.com and domainB.com
domainA.com is pointed to the public_html folder
domainB.com will be pointed to public_html/subfolder/
I am installing 2.3.1 into a subdirectory. public_html/subfolder/
in that directory I have an .htacccess file with the following :
RewriteEngine On
RewriteBase /subfolder/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
Pretty much the stock ht.access that's included with the base changed.
Once installed i can see MODX working, and i've rerun the setup (which works fine).
However the manager login rather than going to
http://www.domain.com/subfolder/manager immediately reverts to
http://www.domain.com/manager
The manager page, while the css is broken allows me to log in.
Inspecting the page gives me a bit more to go on.
Many files are listed like this:
http://domainA.com/manager/assets/ext3/resources/css/ext-all-notheme-min.css
when I am expecting:
http://domainA.com/subfolder/manager/assets/ext3/resources/css/ext-all-notheme-min.css
In my templates my base tags says <base href="
http://domainA.com/" />
I'm using the A2 Prime Web Hosting package.
any thoughts or more that I can clarify for people?
[ed. note: jalterixnar last edited this post 9 years, 9 months ago.]