[phpBB Debug] PHP Warning: in file [ROOT]/portal/includes/functions.php on line 597: Creating default object from empty value FORUMS.DRUGCREW.COM • Portal
This is one of those seemingly simple topics that has most linux geeks a bit stumped until they do some indepth reading on it.. but it's a pretty important procedure - especially for game modders, since we often want to do limited releases of betas etc.
As such, recently I was discussing how I have been locking down folders, and thought everyone could benefit from what I posted.. assuming they have admin access to a linux web server.
[DRuG]NikT wrote: Hey..
the .htaccess is only part of it, if you google the same howto I did (dont have link any more), it detailed the changes you needed to make to the httpd.conf as well... here's a brief one I made..
For each directory you want to secure, you need to adjust /etc/apache2/apache2.conf
Add the following, z being the directory you want to secure.
<Directory /var/www/z> AllowOverride All </Directory>
Create a file in the dir you want to protect called .htaccess - the .htpasswd file can be made later in any folder you like, but it must be specified here.
In total there are 2 users online :: 1 registered, 0 hidden and 1 guest (based on users active over the past 60 minutes) Most users ever online was 1855 on Sat Mar 19, 2016 11:34 am
[DRuG]NikT : Happy New Year folks!! Tue Jan 02, 2018 6:13 pm
FORUM STATISTICS
Total posts 10061
Total topics 1321
Total Announcements: 3
Total Stickies: 10
Total Attachments: 411
Page Loads: 41652454
Topics per day: 0
Posts per day: 2
Users per day: 0
Topics per user: 3
Posts per user: 23
Posts per topic: 8
Total members: 429
Latest: |CrF|Alan
Google [Bot] Sun Jun 22, 2025 1:35 amBing [Bot] Sun Jun 22, 2025 12:27 amMajestic-12 [Bot] Sat Jun 21, 2025 11:10 pmBaidu [Spider] Sat Jun 21, 2025 1:35 pmExabot [Bot] Thu Feb 06, 2025 6:15 pmAsk Jeeves [Bot] Thu Oct 24, 2024 11:20 pmMSNbot Media Tue Sep 03, 2024 3:26 pmMSN [Bot] Wed May 29, 2024 8:38 amGoogle Adsense [Bot] Sun Jul 17, 2022 9:47 amAlexa [Bot] Sun Dec 06, 2020 10:32 pm