Image Hosting Htaccess

Jun 29, 2008

My goal is to block hotlinking of fullsize images and display a image when they attempt it... but allow clickable thumbnails to be shown. For some reason the following isn't working...

My htaccess looks like this:

RewriteEngine On
RewriteBase /images

#Allow if it's not from another website
RewriteCond %{HTTP_REFERER} ^$ [OR]
RewriteCond %{HTTP_REFERER} ^[url]
RewriteCond %{HTTP_REFERER} ^[url]

#Allow if it's the hotlink.gif
RewriteCond %{REQUEST_FILENAME} hotlink.gif [NC,OR]

#Pass through thumbnails or hightlights as-is
RewriteCond %{REQUEST_URI} .thumb.jpg$ [NC,OR]

#Return an anti-hotlink gif in place of any visual media
RewriteRule .*.(jpe?g|gif|bmp|png)$ css/images/hotlink.gif [R,L,NC]

View 4 Replies


ADVERTISEMENT

.htaccess Missing Image Replacement

Dec 20, 2007

I have been fiddling with an .htaccess file trying to get it to show a default "Image Not Available" image in place of a 404 error. I have found code in other forums that has worked for others, but does nothing for me:

Code:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI}!-f
RewriteCond %{REQUEST_URI} (.*).(gif|jpg|jpeg|png)$
RewriteRule ^(.*) noimage.gif
and this one which several people said worked for them

Code:
RewriteCond %{ENV:ERROR404} .(jpg|gif|png)$ [NC]
RewriteRule ^.*$ noimage.gif [L]
Anyone had experience with this? The webserver is Apache on CentOS 5.

View 6 Replies View Related

Image Hosting --> Any Hosting Company Allowed

Apr 16, 2008

if i want to make image hosting such as allyoucanupload or imageshack , where hosting should i go to,... i was with hostgator and they suspended me for it.

View 14 Replies View Related

VPS Or Image Hosting

Aug 12, 2008

I have developed website which will allow user to upload 1-2 photos and also allow to see other users photo and rate them. For this I have planned to go for VPS. I am also thinking of another alternative of using image hosting service, where I will keep all user photos on image hosting server and embed links given by image server in my webpage.

Now my question is.

1) Using image hosting is faster(respone time for each user) than VPS?

2) How exactly using image hosting works. when user request web page from my server, will my server go and fetch entire image from image server and then send final result to user brower?

View 4 Replies View Related

Image Hosting

Jun 8, 2007

where I can host images for my site. It will be thousands of smaller image like 5k - 30k. I am looking at free sites like imageshak. They say in their terms of service that I can host images for my site as long as I don't host all my images. So do you think that I could put like 20 thousand images on their site? These images would not get accessed too much so it won't slam their servers or anything.

View 13 Replies View Related

Image Hosting Site

May 7, 2008

how much space should I need for Image hosting site?

View 4 Replies View Related

Image Hosting (Germany?)

May 5, 2008

We have an image hosting project, which uses ~5Tb/mo,

Currently we are running it on Pentium D 2,8GHz CPU (Dual Core), 1Gb RAM, 2×160Gb 7200rpm IDE HDD for ~170$/mo.

We don't need much better hardware, but need some good hdds (IDE sucks) + RAID.

Stats for 20.03.08-30.03.08 (10 days) - incoming: 35 Gb, outgoing: 1.3 Tb
So it's about ~4 Tb/mo. And we want 5-6Tb for a reserve.

Keyweb doesn't allow image hosting on their servers

Best choice is OVH, but I'm not in Germany..

View 14 Replies View Related

Image Hosting Bandwidth

Jul 10, 2008

i'm planning to create an image hosting kind of site. how much bandwidth per month does it usually take?

View 6 Replies View Related

Want To Build An Image Hosting

Dec 8, 2008

i have plan to build a image hosting. I will build a site using script like this notinportland.com . I need some advise.

I trust i will get about 7k-10k page view everyday , may be 1k-2k unique visitor, just see image on my site, not direct link.

- Of course, i will start with shared hosting. But in future, do i need to updrage vps or server ?

- Does Image hosting make server load highly, using more resource on server?

- All images is legal and have adult content, of course sometime it will have some illegal image ( will be banned and deleted )? Can HPs will allow?

View 10 Replies View Related

Image Hosting Website

Apr 21, 2008

I have started a new image hosting website and currently i alloted 7 GB Disk Space and 30GB BW. I know it will not be enough after the site get famous. So which host i can go for to be in a safer side with my image hosting website?

View 6 Replies View Related

Disk Image Hosting

Dec 29, 2008

I am wondering if there is disk image hosting? like, I may create disk image there, when

I swich to another ISP, I may restore the image I created. I could be very helpful for server migration or data backup.

Does anybody know whether this kind of service exists?

View 6 Replies View Related

Architecture For An Image Hosting Server

Nov 17, 2008

I own a social network generating over 50 million page views a month. Currently, I use only one massive server. I want to add in a new server just for image serving, as my current server is killing me with high bandwidth costs.

Server A runs the website and the logic
Server B runs runs the images

What would be a good architecture between the two servers, given that they ARE NOT IN THE SAME hosting infrastructure (SoftLayer is not a great option if you want alot of bandwidth)

If a user changes his photo on Server A which runs the site, somehow Server B must be notified and gets a hold of the new image..... what would be the most technically feasible and optimum way to achieve this?

View 5 Replies View Related

Host For An Image Hosting Site

Sep 16, 2008

What's the best thing to go with? Is it a VPS or a Dedi?

I am currently on a shared package with a US company. However, I'd like to bring the site into the UK hosting domain, and perhaps closer to where I live.

Location in the UK isn't important.

What's the best thing to go with? VPS or Dedi? Or to remain on my US shared?

Currently at about 35GB bandwidth for this month. And the site's only been open 2 months. So will need over 200GB a month with room to expand.

And about 50GB space minimum if possible... :-/

View 10 Replies View Related

New Image Hosting Site. Dedicated Or Shared

Jan 2, 2009

Does Image hosting site requires a Powerful server or just enough bandwidth?

I am not sure if I should get a more powerful SERVER or increase my current BANDWIDTH Cap
For people who has a Image/File hosting type website.. what kind of server are you using?

View 9 Replies View Related

What Kind Of Load Does Image Hosting Put On A Server

Jun 22, 2009

I have a dedicated that is oversized for the task (Q6600, 8gig RAM, Sata Raid-10 array), which is running a medium/small vBulletin site.

I have thought about providing free image hosting for the members, so I could have 100-300 people hosting sig images and other graphics on the server, which they in turn would link into forums and other places which could create quite a few requests for those graphics.

Is there anyway to quantify what type of load this static, image hosting would create?

The server currently is typically around .05 to .1 server load with nearly flatlined CPU's.

View 3 Replies View Related

Decent Bandwidth For A Image Hosting Site

Jul 9, 2008

I used to use dedimove.com, but they have dropped off the face of the earth i moved to another host, id rather not say them name as i dont want to give them a bad name and have no complaints with their service other then the speeds are not very good...

im looking for a 100mbit port and under 100 dollars price range as the site really doesnt make any money... and at least 3 TB transfer...

View 5 Replies View Related

Windows Hosting That Allows File/Image Write Through Script

Mar 21, 2009

I have a website built with asp .Net with MS SQL database. The website have some pages that uploads images and files in some folders.

I have tried GoDaddy shared Windows hosting. But they don't seem to allow file upload using a script.

Then I tried GoDaddy Virtual Dedicated. The tech guy told me MS SQL would be part of the hosting. Later I find he lied, there is no MS SQL as part of it.

I am trying to find an affordable hosting that has MS SQL and also allows file upload using script.

View 3 Replies View Related

Is There A VPS Hosting Provider Allowing Customized Xen Image Upload

Sep 2, 2007

I am a application/systems developer looking for a VPS hosting provider that would allow me upload a customized xen image that I could use as a template for additional VPSs.

Does anyone know of a hosting provider that could do this type of thing?

View 1 Replies View Related

Cheap Servers For VPN (Virtual Private Network) And Image Hosting With High Transfer

Jul 4, 2008

i looking for the servers (powerfull and cheap) i take this post in vps forum 2 day's ago but i understand that it is better for me to take the post in dedicated forum my friend's :
1-vpn server(with many ip)-->with high transfer + good performance(for start)

2-server for starting image hosting (with high or unlimited transfer + 100mbps )+atleast 50_60gb h.d.d

View 2 Replies View Related

"URLUpload" On Image Hosting Script Ceases To Work After Server Change

Nov 1, 2007

I recently changed my small image hosting website to a dedicated server.

My previous server was a cPanel.

Current server is Directadmin.

I've restored the database and files, however I've noticed that the URL upload (Where you input the URL to a image file, and the script grabs the image and reuploads on the server) doesn't seem to work.

Half of the admin panel is distorted and missing half of the options.

View 11 Replies View Related

Yahoo Hosting Doesn't Support .HTACCESS

Jun 20, 2007

Yahoo web hosting doesn't support .HTACCESS file. What is the solution for it on yahoo web hosting?

View 19 Replies View Related

Image Hosting - Same Server Or Different Server

May 17, 2007

Purpose: I want to make my site load faster

Different Options Host images under the same domain - So no additional three way TCP handshake required.

Different subdomain for images - Browser pipelining can be utilized.

Different domain altogether - Browser pipelining can be utilize and also can avoid the site wide cookies with every request.

What is your opinion about this?

View 6 Replies View Related

Image Spam

Jul 12, 2009

I am not sure if many of you have been getting this same spam. But I've been getting spam about sexual topics and the email is just an image with words written on it.

Sometimes the email has words too such as what is written below.

Quote:

Doees Using sexual Body Langauge to Attract Women Really Works? www. med72. com. Chicago Bulls' Masecot Sued For Baad High-Five

I was wondering if you know of a way to block those emails.

View 6 Replies View Related

Image Magick

Jul 20, 2007

I installed imagemagick perl module but it is still giving off this error

Can't locate Image/Magick.pm in @INC (@INC contains: /home/user/real/mgmt/perl /usr/local/lib/perl5/5.8.8/i686-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i686-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /home/user/real/mgmt/perl/real/Image.pm line 33.
BEGIN failed--compilation aborted at /home/user/real/mgmt/perl/real/Image.pm line 33.
Compilation failed in require at gallery.pl line 42.
BEGIN failed--compilation aborted at gallery.pl line 42.

Using cpanel /centos 4.5

View 6 Replies View Related

NAS As An Image Server

Mar 25, 2007

I haven't been able to find much about this searching, but are people using NAS storage to deliver website images? I've never used NAS before and am not familiar with their performance.

View 5 Replies View Related

Uplouding Xml & Image

Nov 22, 2007

i have problem in my server that any scripts for uploading Image or rar or zip or upload Xml from admincp for forum not upload in my server

but when i upload from ftp working and upload

View 6 Replies View Related

Xen Disk Image: Corrupt

Jun 19, 2008

I created a 4GB disk image for a virtual machine in Xen. (I have root on the physical box, so please don't tell me to contact my VPS provider!)

The disk was filling up, so I took the advice online and created a 6GB file with dd (zero-filled), cat'ed it to the end of my disk file, and then...

[matt@babe centos]$ sudo resize2fs -f ./cent.img
resize2fs 1.39 (29-May-2006)
resize2fs: Bad magic number in super-block while trying to open ./cent.img
Couldn't find valid filesystem superblock.
Of course, fsck won't take a disk image, only an actual partition. And I can't mount it, since I get the same error about a bad superblock.

The VM actually boots up fine, but it only sees 4GB of what's now a 10GB file.

I can use losetup to mount it on a /dev, but still get fsck errors:

[matt@babe centos]$ sudo fsck.ext3 -b 8193 /dev/loop3
e2fsck 1.39 (29-May-2006)
fsck.ext3: Bad magic number in super-block while trying to open /dev/loop3

The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>

I don't know what blocksize was used, so I don't know where to look for a superblock... (I'm out of my league on fsck'ing virtual disks.)

The thing boots fine and is non-mission-critical right now, so worst-case, I can just mount it, rsync the data to the host, and then set up a new machine and rsync that in... I'd just rather not go through that hassle if I don't have to.

View 3 Replies View Related

Make Centos Image For Xen

Jul 6, 2008

I have been trying to get it to work, but cant get it going...

how do I make centos run on xen?

View 8 Replies View Related

Image Sharing Host

Aug 23, 2008

i have a forum site which is running on a vps 45gb space and 2000gb put i would like to offer my members a means to upload images small files max 5-10mb just with in the site but i would like to use a totally new server are there any shared host that will allow this has i will use a scrpit has well on it

View 9 Replies View Related

Take An Image Of The Server And Reload It Again If Need Be

Dec 17, 2008

i have set up a sever with certain software exactly the way i want it. However, there is some extra stuff i need to install on it.

I am running Centos 5.1 and would like to run some command possibly via ssh which would create an entire image of the server in a disk format such as ISO and then if need be, reinstall the basic operating system and restore the ISO back up if need be.

Is this possible?

If so how and how would i restore the image as well?

View 5 Replies View Related

No Image Displayed In The Site

Feb 18, 2008

I am having a win 2003 server with a static ip and i have hosted 2 web sites in the iis server but no images are been displayed is it something to do with the designing of the site or some problem in my hosting,

View 4 Replies View Related







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