Kathleen Borja wrote:
I set the following variables in LocalSettings.php file. The 'ccs.adnu.edu.ph' is an intranet. It's our school's server so I can just access it within the school. $wgServerName = 'ccs.adnu.edu.ph';$wgServer = 'http://ccs.adnu.edu.ph';
Say if i am accessing my page outside the school, having the address of my main page http://ccs.adnu.edu.ph/wikibits/index.php/Main_Page, it can be viewed and is still accessible. But when I tried logging in, i am redirected to this address http://ccs/wikibits/index.php/Main_Page which is an invalid page. So, in this case, the $wgServer has the value of 'http://ccs%27.How can i fix this properly? Thanks, guys. ^_^
Did you add $wgServer = 'http://ccs.adnu.edu.ph'; at the bottom of LocalSettings.php ? Looks like the server calls himself ccs and that's what mediawiki is picking up. An explicit $wgServer should fix it.