Disabling Direct Download
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
ADVERTISEMENT
Apr 16, 2008
login as: hen
hen@xx.xx.xx.xx's password:
Last login:
hen@root [~]# su -
Password:
su: incorrect password
I verified that root password is correct, but no matter how many times I tried, I can't su in
Where's my su permission
-rwxr-xr-x 1 root wheel 24060 Mar 22 2007 /bin/su*
here's inside /etc/group
wheel:x:10:root,hen
View 14 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
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
View Related
Apr 24, 2009
I want to disable the use of other dns being used instead of my name servers is this possible if so how can i do this.
View 4 Replies
View Related
Apr 23, 2009
How do i take one IP on the server down ?
I need to disable eth1:4 as it get ddos attack.
ifdown eth0:4 is not working
Quote:
[root@server22 ~]# ifdown eth0:4
usage: ifdown <device name>
[root@server22 ~]#
I think the command used to work before.
Anyone know how to take down only that IP with out editing ifcfg-eth0-range0 ?
View 5 Replies
View Related
Nov 27, 2008
Disabling POP and IMAP on cPanel
We're using Google Apps to handle all e-mail for the domain, so we have no need for POP and IMAP services running on our server (and I'm always getting e-mails from LFD that show bots are trying to connect with random passwords and such) so I want to disable them, but keep SMTP active since some scripts running on our server use it and I don't feel like rewriting them right now.
I unchecked IMAP and POP in the WHM service manager to disable them, but it's still enabled and I'm able to connect and everything. How can I completely disable these 2 services?
View 5 Replies
View Related
Apr 4, 2009
We all know that some php funcions are dangerous, such as:
system, system_exec, passthru, shell, shell_exec, exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, pfsockopen, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg
Those functions can be disabled at php.ini using disable_functions option.
Now.. what about disable_classes option? I haven't seen anyone talking about this on the common security tutorials. What are your suggestions for this? What classes should be disabled?
View 2 Replies
View Related
Jul 2, 2009
Is there someway to disable shell files from working? Because even if you disable shell, shell files still seem to work...
View 2 Replies
View Related
Mar 1, 2008
i have a dedicated server wich has safe_mode ON.
i run a joomla portal and i am having issues regarding uploading new modules and stuff like that.. i know that the solution is disabling the safe_mode
i have tried using a customized php.ini but it didnt work... what else can i try?
View 4 Replies
View Related
Apr 7, 2007
I am not expert in linux box.... Actually I have found a problem in my machine, our clients are not able to access their sites from server, when I checked the system log it was related to Permission Denied. Someone told me to disable SELinux enforcing, Now after that my problem resolved.
But I am curious that what exactly Selinux is and what kind of issue it may create for my box if I disable it?
View 4 Replies
View Related
Apr 18, 2007
I have RH ES4 running as a vhost on Plesk.
Does anyone know how I can turn off IonCube? I don't see the .so for IonCube in php.ini
View 4 Replies
View Related
Apr 18, 2007
I just got a new vps running virtuozzo with cpanel/whm. I have no plans on ever using email on this server. What's the best way to turn all of it off from whm/cpanel and is it worth doing to speed up the server?
View 4 Replies
View Related
Apr 18, 2008
I am trying to troubleshoot messages piling up in my /var/log/messages on CentOS 5 that look like this:
Apr 18 10:04:01 sc16 kernel: printk: 3 messages suppressed.
Apr 18 10:04:06 sc16 kernel: printk: 2 messages suppressed.
Apr 18 10:04:14 sc16 kernel: printk: 3 messages suppressed.
Apr 18 10:04:17 sc16 kernel: printk: 1 messages suppressed.
Apr 18 10:04:25 sc16 kernel: printk: 3 messages suppressed.
Apr 18 10:04:31 sc16 kernel: printk: 1 messages suppressed.
Apr 18 10:04:39 sc16 kernel: printk: 2 messages suppressed.
The messages are supressed so I can't see what they are or what is causing them.
How can I disable printk supression?
I have already tried:
echo 0 > /proc/sys/kernel/printk_ratelimit_burst
echo 0 > /proc/sys/kernel/printk_ratelimit
They don't seem to disable it... Any ideas?
View 3 Replies
View Related
Jul 21, 2008
I like to disable the CGI Module in httpd.conf. Can you please help me to disable the CGI Module.
View 5 Replies
View Related
Feb 3, 2008
i have a problem with a hacker that uses .htaccess to disable mod_security
using this code
PHP Code:
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
so is there a way to stop this?
also they have come up with a smart way to run shell files named as images using this code in .htaccess
PHP Code:
AddType application/x-httpd-php .gif
is there a way to disable the "AddType application"?
View 14 Replies
View Related
Jan 2, 2007
someone develop a game which is server-centric. Everything is done server-side. In any case, he can compile it without a problem in Ubuntu, but on my CentOS 4.4 servers, he's having trouble.
The one last bug that he's hit, is that he needs to disable the stack protector on CentOS 4.4 in order to compile the game without any more problems.
View 2 Replies
View Related
Apr 3, 2009
in order to secure my server against instrusion, i disabled ssh root login and created a user for myself. however in order to access the user i need to enable SSH Password authentication
I dont enable password authentication all the time and i keep it disabled unless i need to do something via ssh.
Now my question will be, is there a way to keep the user i created and keep the root login disabled and password authentication disabled but use ssh keys for the user i created?
I was informed that if i opt to login to ssh via the user i created, the only way to do that is to enable password authentication as it cannot work with ssh keys. is this true?
I really hope someone can help me how to use the user i created together with ssh keys so i dont have to enable password authentication when loggin to ssh
View 7 Replies
View Related
Jul 25, 2009
A customer asked me if it could be possible to disallow certain email accounts to send emails out of the accounts domain. Is there a way to do so with the Exim installation in Cpanel?
View 0 Replies
View Related
Apr 2, 2008
Everytime a new account is created in WHM/cPanel, the "Allow Annonymous Access for FTP" option is enabled by default. Since this is something I want turned off for all new accounts... does anyone know a way of switching this off globally in cPanel/WHM so that every new account will have this turned off by default?
View 3 Replies
View Related
Jun 4, 2014
At times as I'm developing, due to some coding error in PHP on my part, particularly calling a COM object, the apache server crashes. I'm delighted that it recovers, but in so doing it always tries to rerun the query that crashed it, which just causes another crash, and so on. Is there some way of getting round this, so that it recovers but the problematic code is not rerun?
XP SP3 (still!)
Apache/2.4.3 (Win32) mod_fcgid/2.3.7 PHP/5.4.9
Firefox (Aurora)
View 1 Replies
View Related
Oct 11, 2009
Well what i can i say that direct admin is really pain in the ass, twice i asked in their forum but it was queued for moderation then not published. i'm having a problem setting up my domain 100% correctly.
let me explain more:
Before 1 or 2 weeks, i re-build the server and installed direct admin, but its really harder than other panels and i couldn't figure it 100% how to do,
my website now is running but i have the following problems
1- domain name can not be solved by all people. when i try to ping it it says its not resolvable, while the domain opens for most of users except for very few which gives an error saying can not connect to server
2- i get this error when using intodns.com
[url]
while everything else is ok
3- some of users in some countries access home/admin/domains/sharedip/... while others access home/admin/domains/mydomain.com/... which is the correct one, this causes problems but i temporary solved the problem by uploading files into both folders
View 2 Replies
View Related
Jan 9, 2008
I've heard a internet bandwidth service from Equinix named Equinix direct, how about the quality of this service? Does there somebody have the experience of this service?
View 14 Replies
View Related
Feb 20, 2008
I am trying to install Direct Admin on Cent OS 4.5 ( 64 bit ), but i am constantly getting library files error, one after another,
Example -
./directadmin: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
then
./directadmin: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory
then
./directadmin: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
goes on .........
But if i install 32 Bit library files (RPM), for them, they vanish and next error comes, with new file missing
I have tried loading 10 RPM's of 32 bit, but i cant go now forever...
Is there anyway to install Direct Admin on 64 Bit Cent OS?
Is there any 1 RPM file, which i can install and then Direct Admin wont give library problems.. ?
View 6 Replies
View Related
Sep 30, 2008
As in recent threads i have posted about getting a DA lifetime licence within the next month. I currently get my domains from 123-reg but i am just wondering if someone could help me or if they have an answer to my question!
If i bought a domain from 123-reg and then got a lifetime licence from DA and had it installed onto my server what happens to the nameservers? Like when DA install it onto my box would they sort out the nameservers for my domain aswell like ns1.mydomain.com, ns2.mydomain.com or would i have to pay extra for them?
View 5 Replies
View Related
May 21, 2007
Does Level3 have a monthly minimum of some sort? I currently own a dialup internet service provider, buy through a dialup reseller that mainly uses the Level3 managed modem service, and would like to deal with them directly if possible. I am also interested in their collocation services and ip connections in the future.
View 3 Replies
View Related
Mar 29, 2007
Can we disable sender verificaiton for a specific domain in exim? If so, can you tell me the steps?
View 2 Replies
View Related
Mar 4, 2014
We are trying to disable server info into response header.
Header unset Server
Header set Server "unknown"
It is not working.We have installed "Apache 2.4.6-x86 server" on Win 2008 R2 Standard server (64-Bit).
View 3 Replies
View Related