https://bugzilla.wikimedia.org/show_bug.cgi?id=32823
--- Comment #6 from [email protected] 2011-12-07 14:08:52 UTC --- (In reply to comment #5) > You can look at the remote client address with $_SERVER['REMOTE_ADDR'] , > something like: > > if( preg_match( $_SERVER['REMOTE_ADDR'], '^192\.168\.0\.' ) { > // local LAN clients > > } else if ( $_SERVER['REMOTE_ADDR'] === '127.0.0.1' ) { > // localhost! > > } else { > // external access? > > } Ok. Good idea. Then I would need to put that kind of code to LocalSettings.php and set $wgServer for each case differently. I'll give that a try. Thank you. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
