CSF How To Config Limit Theart When Download Direct Files
Dec 25, 2008
I have an server linux OS CentOS 5.2 and using firewall CSF. and need question.
how to limit download theart ( limit connecting when download files ) EX : 4 connecting or 8 or 16 connecting ( my Guest using soft Internet Download Manager ).
For example, my website [url]and Direct links are: [url]. how to limit theart (Connecting) when Guest download which and using soft internetdownloadmanager, flasget.
View 3 Replies
ADVERTISEMENT
Oct 22, 2009
I have a website which has a FLV player serving .flv files which are hosted in the server. I notice that some users are directly downloading the files using the direct URL and they seem to be using download managers for that which is opening several Apache connections and open slows down Apache. I want to prevent this. I thought of preventing it using a .htaccess file but did not help. This is what I used:
<Files *>
order allow,deny
allow from 127.0.0.1
allow from localhost
deny from all
</Files>
I thought this would work but it doesn't as it is blocking the FLV player from playing the file. Can anyone tell me the right way to do it?
View 3 Replies
View Related
May 15, 2008
I have a website, where i provide streaming videos. Recently i read somewhere that, streaming video or audio files increases server load a loot. Is providing direct download to files is a better option than streaming videos? Please let me know.
View 14 Replies
View Related
Nov 28, 2006
I have a 2003 SBS server with about 50 users on exchange. It is a standalone DC - all the users connect with 'profiles' and 'docs' on the server and use exchange thru outlook..when they leave the office they VPN in and exchange works like a charm.
Problem is for a quick setup I've used the POP 3 connector and kept the emails hosted on my server - I want to get rid of the POP3 connector setup altogether and have mail delivered directly to the server.
Can someone give me a walk thru of steps to do this - so far I have fgured out that I have to add the domain to the recipient policy - configure it properly and then setup each user to receive email for that username and it will just work....
I want to be sure and was hoping that someone who has done the same thing could point me to an accurate tutorial of sorts.
View 0 Replies
View Related
May 12, 2007
I am setting up a file download server and using FTP.
But i only want user to download and not to upload( prevent possibility of uploading bad script or shell script )
So does anyone know how can i do it?
Does it have any risk of security using this method?
Currently i am using apache so user can download, but this method take too much resource and server often overload when too many people download.
View 5 Replies
View Related
Jul 13, 2009
im using vmware in centOS dedicated server
how i can limit Download speed for each IP ?
OR
how i can limit download speed for each Vms?
OR
how i can limit download speed for all Vms?
View 8 Replies
View Related
Jun 13, 2008
What's best way to limit upload/download from/to server?
I have found this
[url]
about mod_cband
Is mod_cband best solution ?
This can be done also with mod_bandwith, default enable on whm/cpanel, as write here:
[url]
View 5 Replies
View Related
Oct 29, 2007
We have several site that are downloading. how may i limit this site
limit bw,omit speed download,limit connection and ... ecause this sites have very download and ...
my server is centos
View 10 Replies
View Related
Jun 22, 2008
Is there any apache module which can limit user download daily. e.g. userA can download XX GB per day.
I am using mod_cband but it seems it can't do something like that.
View 2 Replies
View Related
Oct 26, 2014
in wordpress is wp-includes folder, i dont want anyone just execute file from this directory so it just serve wordpress not any malicious file be executed from there,
so i added this rule into /wp-includes/.htaccess:
RewriteRule ^(wp-includes)/.*$ ./ [NC,R=301,L]
View 2 Replies
View Related
Jun 9, 2007
I just went to a box for myself, and just realized that my ram is closing in on it's limit.
We have 1gb of ram, yet we have around 50MB left.
We run 2 forums, with around 200 concurrent to 2000 on peaks. ( Currently it's 200 concurrent. )
Just hoping somebody could take a look at my httpd.conf and my my.cnf to see if I should tweak anything.
Ran top shift+m, and find that alot of apache connections is using 5mb per process:
Code:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3173 apache 15 0 73672 51m 3924 S 0.0 5.1 0:56.63 httpd
4790 apache 15 0 73676 51m 3912 S 0.0 5.1 0:13.36 httpd
4980 apache 15 0 73672 51m 3908 S 0.0 5.1 0:08.21 httpd
3172 apache 15 0 69844 48m 3940 S 0.0 4.8 0:45.93 httpd
5096 apache 15 0 69872 48m 3896 S 0.0 4.8 0:06.21 httpd
4394 apache 15 0 68544 46m 3912 S 8.2 4.6 0:20.24 httpd
4256 apache 15 0 68540 46m 3912 S 0.0 4.6 0:30.12 httpd
3729 mysql 15 0 130m 35m 4968 S 2.0 3.5 147:49.81 mysqld
4003 psaadm 15 0 48212 34m 23m S 0.0 3.5 0:27.61 httpsd
1489 apache 15 0 53056 31m 3928 S 0.0 3.2 1:10.80 httpd
1538 apache 15 0 52692 31m 3928 S 0.0 3.1 1:15.86 httpd
1452 apache 15 0 52636 31m 3932 S 0.0 3.1 1:24.45 httpd
2098 apache 15 0 52576 31m 3976 S 0.0 3.1 1:10.90 httpd
1450 apache 15 0 52556 31m 3940 S 0.0 3.1 1:24.80 httpd
1457 apache 15 0 52484 31m 3964 S 0.0 3.1 1:22.13 httpd
1718 apache 16 0 52444 31m 3964 R 30.7 3.1 1:27.99 httpd
httpd.cnf ( Please tell me if I have missed anything out. )
Code:
#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 60
#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive Off
#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100
#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 10
##
## Server-Pool Size Regulation (MPM specific)
##
# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# ServerLimit: maximum value for MaxClients for the lifetime of the server
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 2000
</IfModule>
# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
my.cnf:
Code:
[mysqld]
set-variable=local-infile=0
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
[mysql.server]
user=mysql
basedir=/var/lib
[mysqld_safe]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
[mysqld]
max_allowed_packet=16M
View 13 Replies
View Related
Mar 5, 2007
I'm using oscommerce on a PHP5/Apache 2 installation. I've got several virtualhosts, and I'm using webmin to administrate them. I've just moved to this new server, and now files are being played in browser instead of downloaded....I thought I had changed the mime.types file correctly, but obviously not...
Here is the content of it:
Code:
# This is a comment. I love comments.
# This file controls what Internet media types are sent to the client for
# given file extension(s). Sending the correct media type to the client
# is important so they know how to handle the content of the file.
# Extra types can either be added here or by using an AddType directive
# in your config files. For more information about Internet media types,
# please read RFC 2045, 2046, 2047, 2048, and 2077. The Internet media type
# registry is at [url].
# MIME typeExtension
application/EDI-Consent
application/EDI-X12
application/EDIFACT
application/activemessage
application/andrew-insetez
application/applefile
application/atomicmail
application/batch-SMTP
application/beep+xml
application/cals-1840
application/commonground
application/cybercash
application/dca-rft
application/dec-dx
application/dvcs
application/eshop
application/http
application/hyperstudio
application/iges
application/index
application/index.cmd
application/index.obj
application/index.response
application/index.vnd
application/iotp
application/ipp
application/isup
application/font-tdpfr
application/mac-binhex40hqx
application/mac-compactprocpt
application/macwriteii
application/marc
application/mathematica
application/mathematica-old
application/msworddoc
application/news-message-id
application/news-transmission
application/ocsp-request
application/ocsp-response
application/octet-stream mp3 avi mpeg mpg bin dms lha lzh exe class so dll img iso
application/oggogg
application/parityfec
application/pdfpdf
application/pgp-encrypted
application/pgp-keys
application/pgp-signature
application/pkcs10
application/pkcs7-mime
application/pkcs7-signature
application/pkix-cert
application/pkix-crl
application/pkixcmp
application/postscriptai eps ps
application/prs.alvestrand.titrax-sheet
application/prs.cww
application/prs.nprend
application/qsig
application/remote-printing
I'm trying to have the users download mpg files....
View 1 Replies
View Related
Jul 10, 2009
When deploying new server/servergroup/cluster to your IT infrastructure, deployment (simplified) consist of following steps:
OS installation: to do it over network, boot server must be configured for this new server/servergroup/cluster,
configuration/package management: configuration server has to be aware of the newcomer(s),
monitoring and alerting: monitoring software must be reconfigured,
performance metrics: a tool for collecting data must be reconfigured.
There are many excellent software solutions for those particular jobs, say configuration management (Puppet, Chef, cfengine, bcfg2), monitoring hosts and services (Nagios, Zabbix, OpenNMS, Zenoss, etc) and performance metrics (Ganglia, etc). But each of these tools has to be configured independently or at least configuration has to be generated. What tools do you use to achieve this?
For example, when you have to deploy a new server, how do you create configs for, let's say, PXE boot server, Puppet, Nagios and Ganglia, at once?
View 2 Replies
View Related
Dec 4, 2008
backup from my iptables config files, where is important config files for iptables?
View 2 Replies
View Related
Dec 11, 2013
I am trying to get a Apache (Win7x64) to run using totally custom config files, so far I have this:
Code : httpd.exe -f ......confapachehttpd.conf
Loads fine and here is my trivial config:
Code:
Listen 8082
ServerRoot webinapacheapache-2.4
ServerName fitrak.me
DocumentRoot webhomewebsites
Regardless of whether I make the DocumentRoot absolute or relative Apache still won't load index.html
500 Internal Server Error
Nothing coming up erroneous in the logs...WTF am I missing???
The port is not occupied...
View 2 Replies
View Related
Jun 18, 2009
I'm running a remote dl site where user will request a file from various file sharing site like rapidshare and megaupload, and allow it to stream and dl. Few days ago everything was normal, but since yesterday all rar files download have corrupt name and sizes but when trying to extract it seems to be corrupted, zip files are running fine though.
View 1 Replies
View Related
May 7, 2007
I am having trouble with moving my files to another server.
i have 1 servers, 1 hosting account (no ssh), both are using different control panel and i need to move all of the media files(movies) in the hosintg account to other server since hosting account contract will expire soon.
So, i am thinking of using FTP to transfer multiple files using mget command for FTP. But the thing is i will need to be there any press enter( to accept download) for every single files to be download. Which is very time consuming since i have hundred of files to move.
So my question is:
1/ is there a better way to move files in this situation?
2/ or Is there a shell script that i can use to download all of the file to my server without pressing enter accepting every single file?
View 7 Replies
View Related
Sep 4, 2007
Is there any command to generate it? The httpd.include is there but httpd.conf is not picking it up. Suppose there is a "middle" man to connect the vhosts httpd.include and httpd.conf
View 1 Replies
View Related
Nov 13, 2014
I followed the following KB to allow country to be identified via GeoIP in AWStats: [URL] .... It works well on one of my domain, but I had to disable first the stats through PLESK Admin, then to reactivate it, so it would regenerate the conf file in /usr/local/psa/etc/awstats/* for a particulair domain. I then followed this KB to re-calculate all stats with country identification: [URL] .... It works as well.
But now: How can I regenerate all the conf file in /usr/local/psa/etc/awstats/* ? Is there any magic command?
View 1 Replies
View Related
Oct 24, 2009
I want to know the best offer for hosting my site:
I've 10 GB dowloadable files zip, mp3,...
I need to host at least 10 Domains and unlimited SubDomains.
PHP5 and at least 10 MySQL DBs.
I prefer Umlimited Bandwidth and Ulimited visitors hits.
I've a forum with +22k I prefer to e-mail them weekly so I want to know outgoing e-mails limit.
It will be good if there is a Shell access.
View 8 Replies
View Related
Feb 20, 2015
I committed a fault, I reinstalled apache2 in my dedicated server, all my apache config files are missed so now plesk not work, i have 3 domains in production w and all are broken ...
error: Not Found
The requested URL / was not found on this server.
I tried to reconfigure but:
psa/admin/sbin/httpdmng:: No such file or directory
There is a solution to restore my apache2 old installation w files config?
View 7 Replies
View Related
Nov 14, 2007
I'm setting up a web site for my online music library, doing it the hard way and learning as I go!
What I want to do I keep all the audio files secure so only registered users can get at them, how do I do this? FTP? permissions? Can I pass the user data from the client database somehow or do I have to set it up manually for each client?
I'm using php and mysql and have a table set up with all the file locations in it and that side of things is mostly working well. Once a user gets the URL of the file how do I make sure only that user can download the file?
I've tried searching the web for info but I have the sneaking suspicion I'm not asking the right question.
View 3 Replies
View Related
Aug 29, 2014
I have a problem with users that want to download files that are in a protected folder. They don't get the login popup when the click on a link, if they use a direct url then they get the login but the download doesn't begin.
iPhone OS 7.12
Plesk Control Panel version: psa v8.4.0_build20080505.00 os_Windows 2003/2008
Operating systemMicrosoft: Windows 5.2;build-3790;sp2.0;suite272;product3
View 2 Replies
View Related
Sep 2, 2014
I was trying to update my Plesk Panel installation and got the following error:
It seems the auto updater can't download the needed files necessary to this operation.
OS: CentOS 5.7
Panel version:10.3.1
Trying to update to version: 12.0.18
ERROR LOG
Code:
Installation started in background
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* atomic: www7.atomicorp.com
* epel: mirror.23media.de
* openvz-kernel-rhel5: mirror.fastvps.ru
[Code] .....
View 13 Replies
View Related
Jun 30, 2009
I been having a heck of a time just with this one cpanel server and open files limit. At first using open_files_limit did not work so I changed it to open-files-limit that seemed to work but now it rejects the value and sets its down to 65535.
Then system open files limit is 500000. I try to set it to any value about 65535 in my.cnf and here is usual error:
090630 9:32:07 [Warning] option 'open_files_limit': unsigned value 120510 adjusted to 65535
090630 9:32:07 [Warning] option 'open_files_limit': unsigned value 120510 adjusted to 65535
When I run something like the tuning-primer it shows:
Current open_files_limit = 120510 files
The open_files_limit should typically be set to at least 2x-3x
that of table_cache if you have heavy MyISAM usage.
Your open_files_limit value seems to be fine
But Im not sure if it is just reading my.cnf or something. I am still getting complaints from users about lost connections and I see the errors in error log. Ive looked everywhere and cant seem to find a solution to this.
View 7 Replies
View Related
May 26, 2007
I have a RHEL 4 plain server, and im using vsftpd server, i can not find an option to specify the max size for uploading files... does anybody know something about this?
View 1 Replies
View Related