[phpBB Debug] PHP Warning: in file [ROOT]/portal/includes/functions.php on line 597: Creating default object from empty value [phpBB Debug] PHP Warning: in file [ROOT]/portal/includes/functions.php on line 597: Creating default object from empty value [phpBB Debug] PHP Warning: in file [ROOT]/portal/includes/functions.php on line 597: Creating default object from empty value [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 4 users online :: 3 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
Registered users: Baidu [Spider], Bing [Bot], Google [Bot]
Total posts 10061
Total topics 1321
Total Announcements: 3
Total Stickies: 10
Total Attachments: 411
Page Loads: 55024569
Topics per day: 0
Posts per day: 1
Users per day: 0
Topics per user: 3
Posts per user: 23
Posts per topic: 8
Total members: 429
Latest: |CrF|Alan
Bing [Bot] Sat Jan 24, 2026 2:46 amBaidu [Spider] Sat Jan 24, 2026 2:43 amGoogle [Bot] Sat Jan 24, 2026 2:28 amMajestic-12 [Bot] Fri Jan 23, 2026 8:27 pmW3C [Validator] Thu Dec 18, 2025 1:28 amMSN [Bot] Wed Dec 17, 2025 10:12 pmYahoo [Bot] Wed Dec 17, 2025 6:18 pmAsk Jeeves [Bot] Wed Dec 17, 2025 2:28 amMSNbot Media Tue Dec 16, 2025 9:01 pmFAST WebCrawler [Crawler] Sun Dec 14, 2025 7:32 am