-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I want to be able to use my mediawiki installation through my Iceweasel browser but that it accepts connections from localhost only. What is the prefered way to configure it so?
Preferably I would like to move "/mediawiki" out of "/var/www" altogether, and instead access it like this: "file:///home/tommy/wiki/".
- -- Regards,
Thomas Anderson "Quidquid latine dictum sit, altum sonatur"
OpenPGP fingerprint: ED7E 1E98 225A 3FCC 458C B3D7 D625 20E6 F316 BD21 OpenPGP public key: http://todu.dyndns.org/pubkey.txt
2007/7/22, Thomas Anderson andersonthomas@gmail.com:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I want to be able to use my mediawiki installation through my Iceweasel browser but that it accepts connections from localhost only. What is the prefered way to configure it so?
.htaccess.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Schneelocke wrote:
2007/7/22, Thomas Anderson andersonthomas@gmail.com:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I want to be able to use my mediawiki installation through my Iceweasel browser but that it accepts connections from localhost only. What is the prefered way to configure it so?
.htaccess.
I found this and followed the instructions: http://www.walkingpaper.org/362
I added a .htaccess file too, just in case. The reason I didn't want to use a .htaccess solution in the first place was because the password I intended to use was quite short and it seems as if apache does not "take a timeout" after a few failed attempts. That would make it possible to bruteforce my password quite quickly since I can download at 1 MiBps.
I increased the password length to > 20 chars as a workaround.
- -- Regards,
Thomas Anderson "Quidquid latine dictum sit, altum sonatur"
OpenPGP fingerprint: ED7E 1E98 225A 3FCC 458C B3D7 D625 20E6 F316 BD21 OpenPGP public key: http://todu.dyndns.org/pubkey.txt
2007/7/22, Thomas Anderson andersonthomas@gmail.com:
I added a .htaccess file too, just in case. The reason I didn't want to use a .htaccess solution in the first place was because the password I intended to use was quite short and it seems as if apache does not "take a timeout" after a few failed attempts. That would make it possible to bruteforce my password quite quickly since I can download at 1 MiBps.
I increased the password length to > 20 chars as a workaround.
You don't need a password at all; you can just use the .htaccess file to restrict connections based on IP addresses. Something like
Order allow,deny Allow from 127.0.0.1
should probably work (although I should note I have little experience with Apache).
Thomas Anderson wrote:
I want to be able to use my mediawiki installation through my Iceweasel browser but that it accepts connections from localhost only. What is the prefered way to configure it so?
Preferably I would like to move "/mediawiki" out of "/var/www" altogether, and instead access it like this: "file:///home/tommy/wiki/".
Configure Apache to listen only on the loopback address (127.0.0.1), instead of on all interfaces. As mediawiki is a (big) server script, it can't be accessed with file:///
mediawiki-l@lists.wikimedia.org