Articles in ‘Apache’

Cookies – Kekse

Saturday, January 19th, 2008
Ok, so what do we want to do? If someone wants do download an image in fullsize, original or hires mode or requests a video in any format, a copyright message shall be displayed and the user has to click on "I accept" before he is taken to the requested fi
[...more...]

Copyright Message

Friday, October 26th, 2007
Rewrite copyrighted images to first display the copyright note: (see also SettingCookies for Version 2.0 ;-)) in the .htaccess file:
 RewriteEngine On

 ## comes not from the copyright page
 RewriteCond %{HTTP_REFERER
[...more...]

Mixed .htaccess

Friday, October 26th, 2007
Beispiel: .htaccess-Datei
 # .htaccess-Datei für Web-Verzeichnis /service
 AuthType Basic
 AuthName "Service-Bereich"
 AuthUserFile /usr/verwaltung/web/.htusers
 Require valid-user
 Order deny,allow
 Deny from all
 Allow from 192.168
 Sati
[...more...]