₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,330,699 members, 8,446,692 topics. Date: Friday, 17 July 2026 at 01:14 AM

Toggle theme

DualCore1's Posts

Nairaland ForumDualCore1's ProfileDualCore1's Posts

1 2 3 4 5 6 7 8 ... 136 137 138 139 140 141 142 143 144 (of 371 pages)

WebmastersRe: Web Hosting by DualCore1: 6:41pm On Mar 28, 2010
www.google.com

If some concepts are still not clear, feel free to ask questions smiley
ComputersRe: *help On My Mtn Modem Error* by DualCore1: 1:42pm On Mar 28, 2010
Uninstall again and delete the mtn fastlink installation directory in C:\Program Files.
Then start the installation again.
ComputersRe: How Do I Open Passworded Winrar/winzip Files by DualCore1: 6:27am On Mar 28, 2010
ponana:
@dualcore
Flash_SlideShow_Builder_v2.3.1.0.rar - RAR archive, unpacked size 11,679,366 bytes

I guess this is the filename you asked for.thanks in advance
The password is www(dot)fullandfree(dot)info
replace the (dot) with the actual .
---------------------------
OYB, that your JAMB/homework, i don fail am o. File name is too short.
But I have gotten the album I think you're talking about.  Album name: Warm Summer Daze. Na him?
WebmastersRe: Limit Download Per Ip by DualCore1: 5:08pm On Mar 27, 2010
You can do this from the Apache webserver using the apache module mod_limitipconn.c

Installing mod_limitipconn.c
Login to your server through shell as the root user.

# wget tar xzvf mod_limitipconn-0.04.tar.gz
# cd mod_limitipconn-0.04
# vi Makefile
Find
APXS = apxs
CHANGE TO:
APXS = /usr/local/apache/bin/apxs
Save

#make
#make install

This adds the module to httpd.conf and backs up the old configuration from httpd.conf.new

# vi /usr/local/apache/conf/httpd.conf
It should have added the following:

LoadModule limitipconn_module libexec/mod_limitipconn.so
and
AddModule mod_limitipconn.c

Now we need to setup the configuration for the site you want to add the limits to. Search the domain you want and go to the configuration for it in httpd.conf

You should be at the part like this:

<VirtualHost IP HERE>
ServerAlias www.domain.com domain.com

Add the following configuration that you want, this restricts 2 directories I have on my site to prevent users from downloading more than 1 video at a time, I have 2 separate rules.

<IfModule mod_limitipconn.c>
    <Location /videos>
        MaxConnPerIP 1
        # In this case, all MIME types other than audio/mpeg and video*
        # are exempt from the limit check
        OnlyIPLimit audio/mpeg video
    </Location>

    <Location /forums/media/data>
        MaxConnPerIP 1
        # In this case, all MIME types other than audio/mpeg and video*
        # are exempt from the limit check
        OnlyIPLimit audio/mpeg video
    </Location>

</IfModule>


So my whole entry for the domain looks like this:

<VirtualHost IPHERE>
ServerAlias www.domain.com domain.com
ServerAdmin webmaster@domain.com
DocumentRoot /home/domain/public_html
BytesLog domlogs/domain.com-bytes_log
ServerName www.domain.com
<IfModule mod_php4.c>
php_admin_value open_basedir "/home/domain:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>
<IfModule mod_limitipconn.c>
    <Location /videos>
        MaxConnPerIP 1
        # In this case, all MIME types other than audio/mpeg and video*
        # are exempt from the limit check
        OnlyIPLimit audio/mpeg video
    </Location>

    <Location /forums/media/data>
        MaxConnPerIP 1
        # In this case, all MIME types other than audio/mpeg and video*
        # are exempt from the limit check
        OnlyIPLimit audio/mpeg video
    </Location>

</IfModule>
User domain
Group domain
CustomLog domlogs/domain.com combined
ScriptAlias /cgi-bin/ /home/domain/public_html/cgi-bin/
</VirtualHost>


Save httpd.conf


Test Apache Configuration
# apachectl configtest start
Make sure it comes back ok without errors

# /scripts/restartsrv_httpd

Apache will restart. Try it out. Go to your limited directory and try to download 2 things (2 depends on your IP limit you set). You should get forwarded to a 503 Temporary Service page. We can customize that as well =)


Customizing the 503 Temporary Service Page
FTP to your webspace and edit your public_html/.htaccess file

Add the following to the top:
ErrorDocument 503 http://www.domain.com/bandwidth.php

Save the file and upload it.

Create a page called bandwidth.php or html, or whatever you want. Put a message saying you�re preventing bandwidth abuse and limiting downloads to 1 at a time.

Make sure everything is working well and go relax, you did a good job and managed to save your server a lot of bandwidth and yourself some cash!
This can only be done if you have SSH access to your account or if you run your own webserver. If you're on shared hosting, you will need to BEG your webhost dudes to squeeze out some of the valuable time they spend on youtube while waiting for a server malfunction or something, to help you install this mod and set the restriction up for your account.
Cleared sessions and cookies cannot defy this method.
ComputersRe: How Do I Open Passworded Winrar/winzip Files by DualCore1: 2:38pm On Mar 27, 2010
^^ i dey wait you. The moment you repent, i'll follow.
ComputersRe: How To Upload Contact To Pidgin by DualCore1: 1:03pm On Mar 27, 2010
yea, just type "<ding>" without the quotation marks.
I'm buzzing your right after this post tongue
ComputersRe: How To Upload Contact To Pidgin by DualCore1: 11:16am On Mar 27, 2010
^^ been using only Pidgin for years and can add buddies. Try the newest version.
WebmastersRe: 2 Domains For Sale by DualCore1: 8:43am On Mar 27, 2010
I'll talk about the first domain alone cuz the second one is just useless IMHO.

Topnigerianmusicians.com was registered yesterday. And you want to sell its ownership off today? You think its how people make quick money from domain sales, eh? Topnigerianmusicians.com as far as ICANN is concerned cannot be transferred to anyone (not even Bill) within 60 days of its registration. This simple means you cannot sell off a domain name you just registered until after 2 months. Changing nameservers is a different thing so don't bring it up as an option.
ComputersRe: This Man Has All The Latest Tech(back In The Day) by DualCore1: 7:28pm On Mar 26, 2010
Our great grand children will make fun of us with our 3rd Generation gadgets.

1 2 3 4 5 6 7 8 ... 136 137 138 139 140 141 142 143 144 (of 371 pages)