File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 808808 # get the sub path of the webserver and set the correct RewriteBase
809809 WEBSERVER_PATH=$( get_path_from_url ${TEST_SERVER_URL} )
810810 HTACCESS_UPDATE_FAILURE_MSG=" Could not update .htaccess in local server. Some tests might fail as a result."
811- remote_occ ${ADMIN_AUTH} ${OCC_URL} " config:system:set htaccess.RewriteBase --value /${WEBSERVER_PATH} / "
811+ remote_occ ${ADMIN_AUTH} ${OCC_URL} " config:system:set htaccess.RewriteBase --value /${WEBSERVER_PATH} "
812812 remote_occ ${ADMIN_AUTH} ${OCC_URL} " maintenance:update:htaccess"
813813 [[ $? -eq 0 ]] || { echo " ${HTACCESS_UPDATE_FAILURE_MSG} " ; }
814814 # check if mod_rewrite module is enabled
817817 if [ -n " ${TEST_SERVER_FED_URL} " ]
818818 then
819819 WEBSERVER_PATH=$( get_path_from_url ${TEST_SERVER_FED_URL} )
820- remote_occ ${ADMIN_AUTH} ${OCC_FED_URL} " config:system:set htaccess.RewriteBase --value /${WEBSERVER_PATH} / "
820+ remote_occ ${ADMIN_AUTH} ${OCC_FED_URL} " config:system:set htaccess.RewriteBase --value /${WEBSERVER_PATH} "
821821 remote_occ ${ADMIN_AUTH} ${OCC_FED_URL} " maintenance:update:htaccess"
822822 [[ $? -eq 0 ]] || { echo " ${HTACCESS_UPDATE_FAILURE_MSG/ local/ federated} " ; }
823823 # check if mod_rewrite module is enabled
You can’t perform that action at this time.
0 commit comments