How To Pretect Hotlink On Lighttpd Server

Jan 25, 2008

I found someone can use the following script. But I dont know where to put those script. Is it in htaccess like apache?

$HTTP["referer"] !~ "^($|[url]
$HTTP["referer"] !~ "^($|[url]
url.redirect = (
"(/.*.(JPG|jpe?g|png|gif))$" => [url]
}
}

View 3 Replies


ADVERTISEMENT

Hotlink Protection For Streams From Windows Media Server

Jan 14, 2008

Has any body had experience with the different solutions available for protection your video/audio stream hosted on windows media server. We are planning on launching Media hosting services and are currently considering Video quota to protect clients streams. If there is any other solution,

View 2 Replies View Related

Lighttpd - For My Server

Jun 17, 2008

i have small - mid size forum

1) 25k members with 100 - 125 members / guest being online at all times. about 400,000 page views per month
2) software pages static html about 200,000 page views per month.
3) a script library which get about 200,000 page views per month
4) i get about 2000 - 2500 software downloads per day. each download between 1mb to 3 mb give or take

i would estimate a total of 1 million page views per month...

a) i am using Apache right now would lighttpd help?
b) if yes, how does one go about switching from Apache to Lighthtpd
c) is it easy to manage and optimize lighttpd?
d) can i just ask for lighttpd to be installed as default by any hosting company out there?
e) does lighttpd support cPanel?

currently i am on a AMD Athlon(tm) 64 X2 Dual Core Processor 3800+(2 Ghz) with 2 GB RAM.

my server loads are sky high - anywhere between 10, 15 and 20.

View 2 Replies View Related

Server-status Lighttpd

Oct 12, 2007

How would I enable and use server-status with lighttpd?

I've heard that this may help with this problem that I'm facing.

View 5 Replies View Related

Hotlink

Oct 24, 2007

I use .htaccess to protect hotlinking of photos on one of my sites and it works well. I am having a problem with a myspace kid. About a year ago he tried to hotlink to a photo on my site but screwed up the html so its looking for a file that isn't there.
In the beginning I figure he would fix it, hasn't happened. I sent him a message asking him to fix it, he hasn't.
Im tired of his myspace traffic showing up in my error logs.

The file name his site is looking for is PeterForsberg.jpg%3E%3C/img%3E%3C/td%3E%3C/tr%3E%3Cscript%20language=

I dont know how to format an entry into .htaccess to get his screwed up code to display my hotlink image.

View 4 Replies View Related

Lighttpd / Apache - Restarting The Server

May 30, 2009

We've been thinking about writing our own hosting control panel for our own
"tight" hosting setup, so that can alter the panel just to our needs without relying on updates from anybody else.

To read new configurations in Lighttpd or Apache, as far as I know, requires the software to be restarted (for example service apache restart). Are there any negative effects of this, I'm assuming that whilst being restarted there is a small amount of time during which the software is "down" and websites can't be accessed during that period (probably <1 second). Am I correct?

What is the best way to reload configurations into these http servers without service interruption? I notice that DirectAdmin seems to just restart Apache on any function that alters the configuration file - for example adding a new user.

View 4 Replies View Related

Lighttpd 500 Internal Server Error

Jul 19, 2009

I have useing lighttpd for my website,my site Only picture.

but if access peak , There are often 500 Internal Server Error,

View 10 Replies View Related

Lighttpd File Hosting Server

Apr 25, 2008

Any one manage file hosting servers here?

I run file sharing service, bandwidth usage is going up too much, 300 Mbps, anyone know if file hosting sites use bandwidth shaping ? Any recommended settings for lighttpd?

View 1 Replies View Related

Setting Up Download Server With Lighttpd

Aug 8, 2008

to getting a second server, specifically for downloads for my site. Without going into too much detail, my website requires that I get a separate server for downloads, and another for the webserver.

I've already gone ahead and configured the server I want; however, I'm trying to do something different from what I'm used to. I'd like to use Lighttpd, instead of apache, as well as not having cPanel installed on the server. I'd still have cPanel and Apache on my regular webserver, but I'd rather keep my download server relatively clean.

So, once I get my server, and I install Lighttpd, how do I go about setting up everything so that my two servers can communicate? I'd like the download server to be something like: download.mydomain.com , so would I have to set up an A Hostname on my webserver?

What are the steps I should take?

View 8 Replies View Related

Hotlink Momery Used +80%

Aug 3, 2008

I have got the problem that before 3 days some body who's site traffic is very high hotlink some images from my site which cause my server memory and bandwidth using too much due to that my server not working properly and extreme slow.

I have then immediately protect the Hotlink after that my bandwidth is not using more but the images which he has hotlink their request are coming too much and continued and my server still busy on that request and due to that server memory is still using too much.

I have checked it from top command and cpanel and apache status here I have found that Nobody user are hitting too much and using my server memory on alarming stage in cpanel CPU/Memory/MySQL Usage shows nobody used +90% memory. I have also checked it on top command nobody user PID and I have match it with the apache status from cpanel then I have come to know that the request are coming from same site for hotlink images and these are using my server memory too much.

I have also block that site from htaccess but still these requesting coming continually.

Now my bandwidth is using normally but memory is still using very +80% much after doing all these action mentioned above. So, kindly tell me how can I block the requests coming from the site who hotlink images so that I can control my server memory to normal position.

Following are my top command and server information.

Intel(R) Xeon(R) CPU 1.86GHz with 1 GB Ram
WHM 11.23.2 cPanel 11.23.4
CENTOS Enterprise 5.2 i686
Server Version: Apache/2.0.63
Php 5.2
msql 4.1

top - 19:19:18 up 1 day, 4:13, 1 user, load average: 0.11, 0.33, 0.34
Tasks: 557 total, 2 running, 555 sleeping, 0 stopped, 0 zombie
Cpu(s): 4.6%us, 0.5%sy, 0.0%ni, 94.2%id, 0.7%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1033788k total, 1010136k used, 23652k free, 17328k buffers
Swap: 2096472k total, 139776k used, 1956696k free, 276248k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2457 mysql 17 0 294m 138m 2356 S 1 13.7 59:40.07 mysqld
10772 nobody 15 0 36136 19m 3836 S 0 1.9 0:00.85 httpd
10787 nobody 15 0 36120 19m 3824 S 0 1.9 0:00.92 httpd
11346 nobody 18 0 36244 19m 3788 S 0 1.9 0:00.65 httpd ....

View 5 Replies View Related

Hotlink Protection Allow Myself

Aug 15, 2007

Is there a way to enable hotlink protection so that when I edit a page from my computer the pictures from the server display from my server but my site is still protected from other hotlinking. My intent is to make it easier for someone to edit there page.(i know I could just reupload image files but I was trying to think of a way to make it easier for someone else) I thought adding my ip address to the cpanel hotlink protection enabler would do the trick but it hasn't.

View 4 Replies View Related

1and1 For Use As A Hotlink Host?

Mar 20, 2009

Does anyone have experiences with using 1and1 shared servers as a hotlink host?

I see they have a $4.99 plan that includes 120GB diskspace and 1200GB bandwidth.

To rehash my other thread (http://www.webhostingtalk.com/showthread.php?t=766602), I'm looking for a separate hosting account to store/hotlink some FLV files that will be used by my client's websites on other servers.

For those of you with experience with 1and1:

How much bandwidth/diskspace did you use?
Did your account ever get suspended for resource/bandwidth usage?
If so, how much were you using of what you were supposedly promised?
What was the performance of their shared servers?
Did you ever have a problem with downloads timing-out?
Look, I'm under no illusion that any company is going to let me use $100 worth of bandwidth for only $5 a month, but I'm not looking to use the whole 1200GB.
At most, I could see myself using less than half (~500GB) of what is offered in their package.
So from those with the experience, what is the verdict on using 1and1 in this manner?

View 5 Replies View Related

Plesk And Hotlink Protection

Sep 27, 2007

I have a plesk panel and i had a look for hotlink protection but unfortunately couldn`t find the proper option.

I guess there is a hotlink protection at windows version of plesk but not at linux one. I have a linux server.

Also i have a question about hotlinks also, one of my customer has a site that it uses too much bandwith like 600 gb at a month. It is an education related site and site is html.

And i am having some high load issues. When i check apache-status it shows %90 of the connections for that site. But i cant be sure that if it site really makes high load on server because like i told site is html. Also would like to know if server get s load for example if visitor wants to download something from site.

Because visitors are usually downloading zip, mp3 and those kind of files and i dont know if that many download cause the high load.

Also will it reduce the load of the server if i put hotlink protection to that site because of chance for other sites to leech files from this site?

Edit : If there isn`t any option for hotlink protection at Plesk panel how can i enable hotlink protection. Maybe using htaccess, but i would be glad if you can provide hotlink protection code also

View 1 Replies View Related

Selective Hotlink Protection

Jun 2, 2008

Does anybody know which rules should be used to allow hotlinking of files with *_thumb* in their file name and block hotlink of all other files?

View 2 Replies View Related

Hotlink Protection For Zip And Rar Files

Apr 28, 2008

One of the sites at my server is using over resource and causing slowdown to other sites. Because even i am still waiting for my in/out traffic graph, i guess leechers are giving link to those files from other websites and directly downloading from my server.

As a result, site is using around 1.5 tb of bandwith. It was not a big issue before but now server connection is 10 mbps, it was 100 mbps at old server.

So we have 2 options at this point, upgrading connection or activating hotlink for files.

But i donīt really know how to protect .zip and .rar files being downloaded from other sites by direct link to file. I tried hot link protection at cpanel. It is working well for image files, but when i add zip and rar files to protection list, nothing changed. I can still download the file by clicking direct link from other site.

View 2 Replies View Related

Hotlink Protection With Nginx

Jul 24, 2008

does anyone on this forum know how to do a referral check to prevent hot linking to files that are on a nginx server? There is this regex code you use but I don't know how to put it together. how to do it on nginx using their rewrite module?

View 12 Replies View Related

How To Hotlink Images In Forum

Dec 4, 2008

How to hotlink images in forum?

View 2 Replies View Related

Hotlink Prevention Scripts

May 21, 2008

if anyone knows a script that is url rewrite mods that can fix this hotlink issue by having the link url change every 20 minute.

View 2 Replies View Related

How To Setup Linux Proxy Server Apache+lighttpd

Apr 24, 2007

somebody know is possible on some way route traffic before come to web server (apache or lighttpd)?

I want to setup lighttpd on port 80 and apache on port 81 and I want visitors to go direct to apache or lighttpd without url:81 and that must work on this way if somebody visiting url1.domain.com that go to lighttpd on port 80 and if somebody visiting url2.domain.com that go to apache on port 81 and something must route it before lighttpd and apache (and get/post must work), is this possible on some way?

I know that lighttpd and apache can do it but I don`t need it on that way!

View 8 Replies View Related

Playing With Hotlink Protection Settings

Jan 24, 2008

The proxy script I've got installed has been playing up and now it shows something like this

I was playing with some hotlink protection settings etc which I cant fix now.

Anyone know how to get this fixed?

I can run exactly the same script under a different account on the same VPS without any issues.

View 3 Replies View Related

HotLink Protection Doesn't Work With IE

May 12, 2008

i tried to create .htaccess file to protect hotlinking ; it's worked perfect with Firefox but can't work with IE. Here's my .htaccess file:

Code:
RewriteEngine on

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName domain.com
AuthUserFile www est.htpasswd

RewriteCond %{HTTP_REFERER} !^[url] [NC]
RewriteCond %{HTTP_REFERER} !^[url] [NC]
RewriteCond %{HTTP_REFERER} !^[url] [NC]
RewriteCond %{HTTP_REFERER} !^[url] [NC]
RewriteRule .*.(jpg|jpeg|gif|png|zip)$ [url] [R,NC]

If using Firefox and download a .zip file from my site it'll work but if use Internet Explore it'll only download redirect html file instead.

View 1 Replies View Related

HotLink Protection In CPanel.. Understanding The Wording Correctly

Jan 24, 2008

I am setting up the HotLinking access in cPanel for one of my accounts and don't understand the wording of this section.

It first has the list where you put in the domains that you want to allow hotlinking for.

Then below that it has an input that says, "Extensions to allow:". For this input, does that mean extensions to allow for EVERYONE, or just the domains listed in the section above?

You think they'd be clearer on that in the documentation, but they aren't. Help on this is greatly appreciated.

View 4 Replies View Related

Lighttpd Ssi

Mar 4, 2007

SSI isn't working with lighttpd. I have enabled the module and set the extension, but it still doesn't work.

View 1 Replies View Related

Vps Lighttpd Will Not Start

Jun 2, 2009

So basicly I got a vps and am using lxadmin *renamed* and with ssh and lxadmin the lighthttpd wont start and it is installed under the centos hostinabox distro.

View 3 Replies View Related

Apache And Lighttpd, Both Use Same Php.ini

Jun 3, 2009

my php.ini had some changes (/etc/php.ini). Today i have switch from apache to lighttpd, do i need to edit another php.ini file ? Apache and lighttpd use the same php.ini ( /etc/php.ini)?

View 5 Replies View Related

How I Can Use Mod-rewrite With Lighttpd

May 4, 2009

how I can use mod-rewrite with lighttpd.

Actually I am going to use phpprobid system and it has in built function for mod rewrite but I think it is for apache as if i turn it on I cant access pages

View 1 Replies View Related

Lighttpd Mod_rewrite

May 15, 2009

I am struggling to get this .htaccess file to work with lighttpd, i am not a coder so its very hard for me to fix it, hopefully if someone knows how can tell me how to write rewrite code that will get it working.
{quote}

1. Comment the 2 lines below if the server returns 500 errors!
Options -Indexes
Options +FollowSymLinks

#Uncomment following lines if you want to use image caching!
#<IfModule mod_expires.c>

1. ExpiresActive On
2. ExpiresDefault A1209600
3. ExpiresByType text/html A1
#</IfModule>

1. Uncomment following lines if Apache doesnt support MultiViews!
<IfModule mod_rewrite.c>
RewriteEngine On
1. Uncomment the 2 lines below if you are using www.domain.com # as the baseurl for the site and users access your site # via domain.com (THIS IS REQUIRED FOR JQUERY TO WORK)
#RewriteCond %{HTTP_HOST} ^domain.com [NC]
#RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* loader.php [L,QSA]
</IfModule>

1. Edit below lines and set to
2. ErrorDocument CODE /RELATIVE/error.php
3. If the script is installed in the default document
4. root then relative is null.
#ErrorDocument 401 /error.php
#ErrorDocument 403 /error.php
#ErrorDocument 404 /error.php {/quote}

looks like its calling the rule from loader.php file, now how can i convert this to lighttpd language,

View 4 Replies View Related

Lighttpd Rewrite

Mar 30, 2009

How I can convert the following into lighttpd rewrite?

RewriteCond %{REQUEST_FILENAME}

View 4 Replies View Related

Apache Vs Lighttpd

Aug 9, 2009

Until recently, it seemed like everything I read about a server indicated that Apache was king. I have never read anything that has given me any reason not to use Apache.

However, about a year ago when I discovered Django, I discovered Lighttpd. From everything I've been able to read, Lighttpd seems to be a better web server, but still don't know very much at all about Lighttpd.

I'm fairly comfortable with Apache, although I've never cared much for it. I have a feeling that I'll like Lighttpd quite a bit more from the very little that I do know about it. I'm wondering if I should even consider switching.

For one, it seems that everyone knows how to work with Apache and Lighttpd seems to be far less common. Apache also seems to be much more established which leads me to believe that it's a safer choice. Nonetheless, I still really want to give Lighttpd a shot. And, judging from what I've seen about Django and Lighttpd, Lighttpd seems to be a better choice when working with Django.

What do you think? Should I stick with Apache since I already know how to use it? Is Lighttpd worth the time to learn or is Apache just too good?

View 2 Replies View Related

Apache Or Lighttpd

Jun 5, 2009

I wanted to know what do you prefer as server apache or lighttpd , though I am running lighttpd and have no issue except that there is too much work for mod rewrite and it effects search engine, so I was thinking to use apache instaed of it will it be possible to install apache over lighttpd or will I have to go for fresh install.

View 14 Replies View Related

Lighttpd.conf

Jun 23, 2008

I'm about to set my own permalink rules in Wordpress.

My VPS is running LxAdmin on CentOS and I have lighttpd installed. I've read I need to edit lighttpd.conf but I don't know which application I should use. The file is located in /etc/lighttpd/ but have no idea how to gain access.

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved