#!/usr/bin/perl # The preceding line must contain the path to the Perl installation on your web server. # # For further details see the installation manual. # ######################################################################################### # In der ersten Zeile dieses Skriptes (#!/usr/bin/perl) muss der Pfad zur Perl-Version # # auf Ihrem WebServer angegeben sein. Weitere Details ersehen Sie in der # # Installationsanleitung. # ######################################################################################### # The preceding line must contain the path to the Perl installation on your web server. # # For further details see the installation manual. # ######################################################################################### # ContRay - Professional Website Engine - Release 3 Enterprise Edition # # Copyright © 2001-2008 ContRay [wwww.contray.de] # # ContRay is a registered trademark (No. 305 41 569) in Germany. All rights # # on the software are reserved by Kai Lange, Von-Anckeln-Str. 8, D-21029 Hamburg. # # The global marketing of ContRay be subject to Andreas Schwope, # # ContRay - Marketing und Vertrieb, Am Thie 13, D-31087 Landwehr. # # All rights reserved. # ######################################################################################### # # # Lesen Sie diese Bedingungen vor dem Einsatz der Software! Sollten Ihnen eine # # abweichende Lizenzvereinbarung beim Kauf von ContRay zugrunde gelegen haben, # # haben ggf. die dortigen Garantiebestimmungen Gültigkeit. # # # # Eine erweiterte Lizenzbestimmung steht Ihnen auf der ContRay Website zur Verfügung # # und ist der Software beigefügt. # # # # Unrechtmäßige Benutzer von ContRay, die ContRay ohne den Erwerb einer gültigen # # Lizenz benutzen, unterliegen dem deutschen und internationalen Recht und werden # # aufgrund von Lizenzbetrug von uns verfolgt und angeklagt. Der Gerichtsstand # # ist Hamburg, Deutschland. # # # # Mit dem Kauf, der Installation, dem Download oder anderer Art und Weise des # # in Besitzbringens dieser Software und dem betrachten, kopieren, verändern oder # # sonstiger Behandlung dieser Software, dem Sourcecode oder Teilen des # # Sourcecodes (inklusive diesen Bedingungen) erklären Sie sich mit diesen # # Bedingungen einverstanden. Sofern Sie damit nicht einverstanden sind, löschen # # Sie die Software unwiderruflich von Ihrem Computer und vernichten Sie ggf. # # vorhandene Kopien der Software. # # # # Die Copyright-Inhaber und/oder die Verkäufer dieser Software übernehmen unter # # keinen Umständen eine Haftung für die fehlerfreie Funktion dieser Software. # # ContRay ist eine Script-Software mit voller Sourcecode-Verfügbarkeit. Eine # # korrekte Funktionsweise kann aufgrund der nicht vorhanden automatischen # # Installationsmöglichkeit durch eine Setuproutine nicht zugesichert werden. # # Auf Wunsch installiert der Verkäufer gegen Berechnung die Software. # # Sofern die Software von anderen, als von den Verkäufern selbst installiert # # wird, gilt die Software als Verkauft unter Ausschluss jeglicher Gewährleistung. # # Da der Verkäufer keinerlei Einfluss auf die korrekte Intallation und # # Konfiguration der Software nehmen kann, trägt der Käufer alle Risiken des # # Betriebes der Software. Wie bei anderer Software dieser Art kann der Einsatz # # der Software einen vollständigen Ausfall der Systeme, auf denen die Software # # betrieben wird und der im Netzwerk verbundenen System zur Folge haben. Ebenso # # ist ein vollständiger Verlust aller Daten in der betriebenen Serverumgebung # # möglich. Dieses Risiko gehen Sie mit der Installation dieser Software ein. # # EINE HAFTUNG HIERFÜR IST AUSDRÜCKLICH AUSGESCHLOSSEN. # ######################################################################################### # # # Please read these terms before using the software! If you bought ContRay with a # # different license arrangement the guarantee agreement stated there might be the # # valid one. # # # # An extended license arrangement can be found on the ContRay web site and is added to # # the software. # # # # Users who install and use ContRay without a valid license are subject to German and # # international law and will be prosecuted. Venue is Hamburg, Germany. # # # # You agree to these terms by buying, installing, downloading or receiving the software # # in a different way, by viewing, copying, changing or using the software, the source # # code or part of the source code (including these terms). If you do not agree to these # # terms you must delete the software irrevocably from your computer and you must delete # # each copy of the software you have. # # # # The owners of the Copyright and/or the vendors of the software cannot be held liable # # for the error-free working of the software. ContRay is a script software with an # # open source code. An error-free working cannot be guaranteed due to the fact that # # there is no automatic installation routine. # # If the licensee wishes the vendor will install the software for a charge. # # If the software is not installed by the vendor it is sold without any warranty. # # Since the vendor cannot influence installation and configuration the licensee assumes # # all risks of running the software. As with all software of this kind running the # # software can cause a complete breakdown of the systems that run the software and a # # complete breakdown of the systems that are in the same network. It is also possible # # that all data on the server is lost. By installing the software the licensee assumes # # this risk. # # NEITHER THE PRODUCER OF THE SOFTWARE NOR THE VENDOR IS LIABLE FOR THESE DAMAGES. # ######################################################################################### ######################################################################################### # Geben Sie denn vollen Pfad zur variables.cfg an: # # Enter the full path to the variables.cfg: # # z.B. /home/yourdomain/cgi-bin/contray/variables.cfg # ######################################################################################### require("variables.cfg"); ######################################################################################### # NEHMEN SIE KEINE ÄNDERUNGEN UNTERHALB DIESER POSITION VOR! # # ===================================================================================== # # DO NOT MODIFY BELOW THIS LINE UNLESS YOU KNOW WHAT YOU ARE DOING. # ######################################################################################### # Dieses Programm wird von allen statischen Seiten aufgerufen, # # damit auch die statischen Seitenbesuche mitgeloggt werden. # ######################################################################################### use CGI; my $cgi = new CGI; if( $accesslog && length($cgi -> param('ID')) && length($cgi -> param('GROUP')) && length($cgi -> param('TITLE')) ){ if( open LOG, ">> $accesslog" ){ my @t = localtime; printf LOG "%s~%s:%s~%s~%4d%02d%02d%02d%02d\n", $ENV{REMOTE_ADDR}, # IP $cgi -> param('ID'), # ID $cgi -> param('GROUP'), # Group $cgi -> param('TITLE'), # Title, $t[5] + 1900, # Year $t[4] + 1, # Month @t[3,2,1]; # Day, Hour, Minutes close LOG; } } # Send "204: No Content" Statuscode print "Status: 204 No Content\015\012\015\012";