hi again,
Just wanted to say thanks. Although through all my testing REMOTE_USER did
not show up in "local" networks, I was able to use the LocalSettings
approach as you suggested to achieve the configuration I was looking for.
David
On 10 September 2013 07:34, wrote:
> This might be the simp
This might be the simplest, though I was hoping to avoid any
code-level hack since it may be more difficult to keep up to date
with
MW releases. Though MW auth would be better than the htauth popup
that
no one likes. I didn't realize this could be done in LocalSettings, I
thought it was cached,
hi again,
On 7 September 2013 16:08, wrote:
> Oh, thanks for clarifying. Two things that come to my mind are:
>
> 1) Try to do it on the application level. For example, try a following
> hack - check $_SERVER['REMOTE_ADDR'] in LocalSettings.php and conditionally
> set $wgGroupPermissions['*']['*
the wiki will become read-only for non-local addresses...
(sorry, I've meant "the wiki will become unreadable for non-local
addresses")
___
Mediawiki-enterprise mailing list
Mediawiki-enterprise@lists.wikimedia.org
https://lists.wikimedia.org/mailma
Oh, thanks for clarifying. Two things that come to my mind are:
1) Try to do it on the application level. For example, try a following
hack - check $_SERVER['REMOTE_ADDR'] in LocalSettings.php and
conditionally set $wgGroupPermissions['*']['read'] to false (also
'edit', 'createaccount', 'creat
I want REMOTE_USER since I am using Apache to require login if the user is
not coming from the local network. But I don't want to have them log in
twice. Essentially in psuedocode;
if user is on a remote network:
deny access without login (through htauth)
prompt for login
on success, pass lo
"Local" users are on an identified network address range (via
.htaccess) and "remote" users are anyone who's not "local." In both
cases they have accounts. The problem is Apache won't pass
REMOTE_USER if the directory is considered to not require auth, which
I need to have the site read-only for
Hi,
"Local" users are on an identified network address range (via .htaccess)
and "remote" users are anyone who's not "local." In both cases they have
accounts. The problem is Apache won't pass REMOTE_USER if the directory is
considered to not require auth, which I need to have the site read-only
Hi David! What do you exactly mean by "local" and "remote" users? Where do
either of them really have accounts?
david mason пишет:
>Hi all,
>
>I've been hacking at this for a while and hoping someone has solved it.
>
>I am trying to set up MediaWiki with LDAP so users from a remote
>network
>mus
Hi all,
I've been hacking at this for a while and hoping someone has solved it.
I am trying to set up MediaWiki with LDAP so users from a remote network
must log in, but it's optional on the local network. I don't want users to
have to log in twice, so I set up Extension:AutomaticREMOTE_USER (hta
10 matches
Mail list logo