G2 won't show movies (mov/mp4) - allowing empty referer problem

Svobi

Joined: 2004-07-15
Posts: 45
Posted: Sun, 2009-11-08 10:26

Hi!

My G2 Install won't show any movies at all inline the G2. I can upload them without any problem but when click "download the movie" I only get the Quicktme symbol with a large questionmark centered. Even when I change the size of the movie to the correct I got the QT logo with the questionmark where the movie should be. I've got installed ffmpeg and verifying says O.K....

When I locally drag the movie directly into my browser it plays very well. So I'd exclude problems client side - running OSX btw...

Any ideas?


Gallery-Version = 2.3 Kern 1.3.0
API = Core 7.54, Modul 3.9, Motiv 2.6, Eingebettet 1.5
PHP-Version = 5.2.0-8+etch15 apache2handler
Webserver = Apache/2.2.3 (Debian) DAV/2 PHP/5.2.0-8+etch15
Datenbank = mysqlt 5.0.32-Debian_7etch11-log, lock.system=flock
Werkzeuge = Getid3, NetPBM, ArchiveUpload, Thumbnail, Gd, ImageMagick, LinkItemToolkit, jpegtran
Beschleunigung = partial/3600, none/21600
Betriebssystem = Linux xxx 2.6.18-6-xen-amd64 #1 SMP Fri Aug 21 16:46:08 UTC 2009 x86_64
Standard-Motiv = matrix
gettext = Aktiviert
Sprache = de_DE
Browser = Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; de-de) AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9
Zeilen in der GalleryAccessMap Tabelle = 1565
Zeilen in der GalleryAccessSubscriberMap Tabelle = 26726
Zeilen in der GalleryUser Tabelle = 389
Zeilen in der GalleryItem Tabelle = 26637
Zeilen in der GalleryAlbumItem Tabelle = 1336
Zeilen in der GalleryCacheMap Tabelle = 137026

 
Svobi

Joined: 2004-07-15
Posts: 45
Posted: Mon, 2009-11-09 19:31

Found it - more or less: I'm working with referers. I only allow special referers. Now it reads for me, that if I don't allow empty referes, no movies will be played. O.K. - activating empty referers and movies are played! Great... but I don't want everyone link to my pictures...

Any possibility to play movies WITHOUT allowing empty referers in order to protect me for traffic stealing any my pictures simply beeing put into other content?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Mon, 2009-11-09 21:15

Site Admin > URL Rewrite and enable "Block Hot Linked" items. But that will block all hot linking.

The only other thing I can think of is to create custom rewrite rules in your .htaccess.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Svobi

Joined: 2004-07-15
Posts: 45
Posted: Mon, 2009-11-09 22:24

Blocking everything from outside isn't wanted as well. I've got 3-4 URLs that are allowed to link... :(

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Mon, 2009-11-09 23:01
Quote:
The only other thing I can think of is to create custom rewrite rules in your .htaccess.

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here