phpBB Security aUsTiN htaccess instellingen

Hulp nodig bij een modificaties of op zoek naar een MOD? Bekijk ons archief. Support wordt helaas niet meer verleend.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Gesloten
Gebruikersavatar
Pinocchio
Berichten: 107
Lid geworden op: 10 jul 2003, 20:34

phpBB Security aUsTiN htaccess instellingen

Bericht door Pinocchio » 01 jan 2005, 17:04

Ik heb deze mod geinstalleerd en tot alle files
aanpassen geen problemen en dat werkt ook.

Maar ik zit te stoeien met de aanpassingen van de .htaccess
bestanden.

Hier het stukje tekst uit de mod waar ik mee zit te stoeien.

Code: Selecteer alles

Configuring your admin popup login. You will need to goto http://www.earthlink.net/cgi-bin/pwgenerator.pl
and encrtpy your password. Take that & whatever username you want to use & open

rename.phpbbsecurity

In your rename.phpbbsecurity, you need to put the login info in there, in the format below

username:password

Keep in mind the password HAS TO BE encoded before you do this, or you will never be able to 
login to your admin panel.

Now that you have the rename.phpbbsecurity file done, onto the next one. Open rename.htaccess
with a text editor of some sort. Find

AuthUserFile "/home/{USERNAME}/public_html/.phpbbsecurity"

and change that to yours. The word "{USERNAME}" is what needs to be changed. Your cPanel username,
FTP username & phpMyAdmin username, is what it needs to be. After you change that line, close 
& save it. Next file, rename2.htaccess. If you already use a .htaccess in your public_html
directory, you will need to edit it. Otherwise we will use the one provided. If you already
have one, open it & add

<Files .phpbbsecurity>
  deny from all
</Files>

then close & save it.

Now that we have prepared all the files, lets put them in place. Upload rename.phpbbsecurity
and rename2.htaccess to your public_html folder. After they are uploaded, rename them.

rename2.htaccess 	: Rename to :		.htaccess
rename.phpbbsecurity	: Rename to :		.phpbbsecurity

Then upload rename.htaccess to your admin/ directory. After its uploaded, rename it.

rename.htaccess		: Rename to :		.htaccess

After you do all that, you will notice the files disappear, this is normal. That part is done.

These are CaSe SeNsItIvE, so when logging in, you need to use the same info you just stored.

#==== Next Step: ======================= |

Goto your administration panel -> General Admin -> Configuration

Setup how you want everything to work.

EoM
Mijn root gaat zo
/var/www/html

Ik heb nu m`n testforum in de map phpbb staan en heb het volgende
geprobeerd in m`n .htaccess die in de phpbb/admin staat:

require valid-user

AuthType Basic

AuthName "phpBB Security"
/var/www/ftp_naam/html/.phpbbsecurity

In de .phpbbsecurity die op de root geplaatst is staat:

ftp_naam:wachtwoord_gecodeerd_volgens_link

En ik heb .htaccess nr 2 op de root gezet.


Ik kom echter met geen mogelijkheid in m`n admin,
in de popup die verschijnt vul ik dan ftp_naam en het
gewone wachtwoord in maar zonder resultaat.

Wat doe ik allemaal fout?

Gesloten