Cannot change the document root of a migrated server from 4.1.
Workaround: Edit the migrated instance's obj.conf and server.xml manually. These files
are located under SERVER_ROOT/HTTPS-INSTANCE/config directory.
In obj.conf change the line
NameTrans fn=document-root root="<existing_doc_root>"
|
to
NameTrans fn=document-root root="$docroot"
|
In server.xml, under the relevant VSCLASS change
the line
<PROPERTY name="docroot" value="existing-doc-root">
to
<PROPERTY name="docroot" value="new-doc-root">
|