Permalink
Browse files

First commit

  • Loading branch information...
0 parents commit cc79cfc0636a765442d1925dcafb34703ccfa7e6 @naxoc naxoc committed Apr 13, 2011
@@ -0,0 +1 @@
+conf.php
119 .htaccess
@@ -0,0 +1,119 @@
+#
+# This file is to a high degree inspired by the .htaccess file in the root dir
+# in Drupal.
+#
+
+# Protect files and directories from prying eyes.
+<FilesMatch "\.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl|svn-base)$|^(code-style\.pl|Entries.*|Repository|Root|Tag|Template|all-wcprops|entries|format)$">
+ Order allow,deny
+</FilesMatch>
+
+# Don't show directory listings for URLs which map to a directory.
+Options -Indexes
+
+# Follow symbolic links in this directory.
+Options +FollowSymLinks
+
+# Make Drupal handle any 404 errors.
+ErrorDocument 404 /index.php
+
+# Force simple error message for requests for non-existent favicon.ico.
+<Files favicon.ico>
+ # There is no end quote below, for compatibility with Apache 1.3.
+ ErrorDocument 404 "The requested file favicon.ico was not found.
+</Files>
+
+# Set the default handler.
+DirectoryIndex index.php
+
+# Override PHP settings. More in sites/default/settings.php
+# but the following cannot be changed at runtime.
+
+# PHP 4, Apache 1.
+<IfModule mod_php4.c>
+ php_value magic_quotes_gpc 0
+ php_value register_globals 0
+ php_value session.auto_start 0
+ php_value mbstring.http_input pass
+ php_value mbstring.http_output pass
+ php_value mbstring.encoding_translation 0
+</IfModule>
+
+# PHP 4, Apache 2.
+<IfModule sapi_apache2.c>
+ php_value magic_quotes_gpc 0
+ php_value register_globals 0
+ php_value session.auto_start 0
+ php_value mbstring.http_input pass
+ php_value mbstring.http_output pass
+ php_value mbstring.encoding_translation 0
+</IfModule>
+
+# PHP 5, Apache 1 and 2.
+<IfModule mod_php5.c>
+ php_value magic_quotes_gpc 0
+ php_value register_globals 0
+ php_value session.auto_start 0
+ php_value mbstring.http_input pass
+ php_value mbstring.http_output pass
+ php_value mbstring.encoding_translation 0
+</IfModule>
+
+# Requires mod_expires to be enabled.
+<IfModule mod_expires.c>
+ # Enable expirations.
+ ExpiresActive On
+
+ # Cache all files for 2 weeks after access (A).
+ ExpiresDefault A1209600
+
+ <FilesMatch \.php$>
+ # Do not allow PHP scripts to be cached unless they explicitly send cache
+ # headers themselves. Otherwise all scripts would have to overwrite the
+ # headers set by mod_expires if they want another caching behavior. This may
+ # fail if an error occurs early in the bootstrap process, and it may cause
+ # problems if a non-Drupal PHP file is installed in a subdirectory.
+ ExpiresActive Off
+ </FilesMatch>
+</IfModule>
+
+# Various rewrite rules.
+<IfModule mod_rewrite.c>
+ RewriteEngine on
+
+ # If your site can be accessed both with and without the 'www.' prefix, you
+ # can use one of the following settings to redirect users to your preferred
+ # URL, either WITH or WITHOUT the 'www.' prefix. Choose ONLY one option:
+ #
+ # To redirect all users to access the site WITH the 'www.' prefix,
+ # (http://example.com/... will be redirected to http://www.example.com/...)
+ # adapt and uncomment the following:
+ # RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
+ # RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]
+ #
+ # To redirect all users to access the site WITHOUT the 'www.' prefix,
+ # (http://www.example.com/... will be redirected to http://example.com/...)
+ # uncomment and adapt the following:
+ # RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]
+ # RewriteRule ^(.*)$ http://example.com/$1 [L,R=301]
+
+ # Modify the RewriteBase if you are using Drupal in a subdirectory or in a
+ # VirtualDocumentRoot and the rewrite rules are not working properly.
+ # For example if your site is at http://example.com/drupal uncomment and
+ # modify the following line:
+ # RewriteBase /drupal
+ #
+ # If your site is running in a VirtualDocumentRoot at http://example.com/,
+ # uncomment the following line:
+ # RewriteBase /
+
+ # Rewrite URLs of the form 'x' to the form 'index.php?q=x'.
+ RewriteCond %{REQUEST_FILENAME} !-f
+ RewriteCond %{REQUEST_FILENAME} !-d
+ RewriteCond %{REQUEST_URI} !=/favicon.ico
+ RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
+
+ # Don't let people pry in version control folders
+ RewriteRule (^|/)(CVS|\.svn|\.git|\.bzr)/ - [F]
+
+</IfModule>
@@ -0,0 +1,15 @@
+
+All Tagger code is Copyright 2001 - 2010 by the original authors.
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program as the file LICENSE.txt; if not, please see
+http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
@@ -0,0 +1,74 @@
+
+-- --------------------------------------------------------
+
+--
+-- Table structure for table `canonical`
+--
+
+CREATE TABLE `canonical` (
+ `tid` int(10) unsigned NOT NULL AUTO_INCREMENT,
+ `vid` int(10) unsigned NOT NULL DEFAULT '0',
+ `name` varchar(255) NOT NULL DEFAULT '',
+ PRIMARY KEY (`tid`),
+ KEY `vid_name` (`vid`,`name`),
+ KEY `taxonomy_tree` (`vid`,`name`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+-- --------------------------------------------------------
+
+--
+-- Table structure for table `linked_data_sources`
+--
+
+CREATE TABLE `linked_data_sources` (
+ `dsid` int(11) unsigned NOT NULL AUTO_INCREMENT,
+ `dstid` int(11) unsigned NOT NULL,
+ `tid` int(11) unsigned NOT NULL,
+ `uri` varchar(255) NOT NULL,
+ `updated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
+ PRIMARY KEY (`dsid`),
+ KEY `dstid` (`dstid`),
+ KEY `tid` (`tid`),
+ KEY `uri` (`uri`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+-- --------------------------------------------------------
+
+--
+-- Table structure for table `lookup`
+--
+
+CREATE TABLE `lookup` (
+ `tid` int(10) NOT NULL,
+ `vid` int(10) NOT NULL,
+ `name` varchar(255) NOT NULL,
+ KEY `redirect` (`name`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+-- --------------------------------------------------------
+
+--
+-- Table structure for table `relations`
+--
+
+CREATE TABLE `relations` (
+ `tid` int(10) NOT NULL,
+ `rtid` int(10) NOT NULL,
+ UNIQUE KEY `rtid_tid` (`tid`,`rtid`),
+ KEY `rtid` (`rtid`),
+ KEY `tid` (`tid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+-- --------------------------------------------------------
+
+--
+-- Table structure for table `unmatched`
+--
+
+CREATE TABLE `unmatched` (
+ `name` varchar(255) NOT NULL,
+ `count` int(11) NOT NULL,
+ `updated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
+ `created` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
+ PRIMARY KEY (`name`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
@@ -0,0 +1,29 @@
+INDHOLDSOVERSIGT
+----------------
+
+ * Nødvendig software
+ * Installation
+ * Andre datasæt
+
+
+NØDVENDIG SOFTWARE
+------------------
+
+ * Apache, gerne > 2.0
+ * PHP > 5.2
+ * MySQL
+
+
+INSTALLATION
+------------
+
+ * Download filerne fra http://tagger.dk/downloads.php og pak dem ud.
+ * Flyt filerne til et offentligt directory under document root på din webserver
+ * Opret først en database
+ * Download og importer det datasæt, du ønsker at bruge (se mere på http://tagger.dk/downloads.php)
+ * Pak filerne ud, så de kan tilgåes
+
+ANDRE DATASÆT
+-------------
+
+ * Du kan selv ændre på datasættet eller vælge et andet, så det passer til din brugssituation
Oops, something went wrong.

0 comments on commit cc79cfc

Please sign in to comment.