Skip to content
Snippets Groups Projects
Commit 1141ca80 authored by Ulf Seltmann's avatar Ulf Seltmann
Browse files

renamed paths and modules to generic values

added more vendor stuff
parent 147eba31
Branches
Tags
No related merge requests found
# Configuration for theme-specific resources:
AliasMatch ^/vufind_eah/themes/([0-9a-zA-Z-_]*)/css/(.*)$ /usr/local/vufind2_eah/themes/$1/css/$2
AliasMatch ^/vufind_eah/themes/([0-9a-zA-Z-_]*)/images/(.*)$ /usr/local/vufind2_eah/themes/$1/images/$2
AliasMatch ^/vufind_eah/themes/([0-9a-zA-Z-_]*)/js/(.*)$ /usr/local/vufind2_eah/themes/$1/js/$2
<Directory ~ "^/usr/local/vufind2_eah/themes/([0-9a-zA-Z-_]*)/(css|images|js)/">
<IfModule !mod_authz_core.c>
Order allow,deny
Allow from all
</IfModule>
<IfModule mod_authz_core.c>
Require all granted
</IfModule>
AllowOverride All
</Directory>
# Configuration for general VuFind base:
Alias /vufind_eah /usr/local/vufind2_eah/public
<Directory /usr/local/vufind2_eah/public/>
<IfModule !mod_authz_core.c>
Order allow,deny
Allow from all
</IfModule>
<IfModule mod_authz_core.c>
Require all granted
</IfModule>
AllowOverride All
# Uncomment the following lines, if you wish to use the Shibboleth authentication
#AuthType shibboleth
#require shibboleth
RewriteEngine On
RewriteBase /vufind_eah
# If using VuDL, uncomment the following line, fill in your appropriate Fedora
# server and port, and make sure that Apache mod_proxy and mod_proxy_http are
# enabled.
#RewriteRule ^files/(.*)/(.*) http://your-fedora-server/fedora/objects/$1/datastreams/$2/content [P]
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
php_value short_open_tag On
# Uncomment this line to put VuFind into development mode in order to see more detailed messages:
#SetEnv VUFIND_ENV development
# Uncomment this line if you want to use the XHProf profiler; this is a developer-oriented option
# that most users will not need. Make sure the XHProf PHP libraries are available on your include
# path. See http://vufind.org/jira/browse/VUFIND-419 for more details.
#SetEnv VUFIND_PROFILER_XHPROF http://url/to/your/xhprof/web/interface
# This line points to the local override directory where you should place your customized files
# to override VuFind core features/settings. Set to blank string ("") to disable.
SetEnv VUFIND_LOCAL_DIR /usr/local/vufind2_eah/local
# This line specifies additional Zend Framework 2 modules to load after the standard VuFind module.
# Multiple modules may be specified separated by commas. This mechanism can be used to override
# core VuFind functionality without modifying core code.
SetEnv VUFIND_LOCAL_MODULES finc_eah
</Directory>
# Properties for the Java import program
# $Id: vufind_config.properties $
# solrmarc.solr.war.path - must point to either a war file for the version of Solr that
# you want to use, or to a directory of jar files extracted from a Solr war files. If
# this is not provided, SolrMarc can only work by communicating with a running Solr server.
# IMPORTANT NOTE FOR WINDOWS USERS:
# Use forward slashes, not back slashes (i.e. c:/vufind/..., not c:\vufind\...)
# solrmarc.solr.war.path=/usr/local/vufind2_eah/solr/jetty/webapps/solr.war
# solrmarc.custom.jar.path - Jar containing custom java code to use in indexing.
# If solr.indexer below is defined (other than the default of org.solrmarc.index.SolrIndexer)
# you MUST define this value to be the Jar containing the class listed there.
solrmarc.custom.jar.path=VuFindIndexer.jar|lib
# Path to your solr instance
solr.path = REMOTE
solr.core.name = biblio
solr.indexer = org.solrmarc.index.VuFindIndexer
solr.indexer.properties = marc.properties, marc_local.properties
#optional URL of running solr search engine to cause updates to be recognized.
solr.hosturl = http://localhost:8080/solr/biblio/update
#where to look for properties files, translation maps, and custom scripts
#note that . refers to the directory where the jarfile for SolrMarc is located.
solrmarc.path = /usr/local/vufind2_eah/local/import|/usr/local/vufind2_eah/import
# Path to your marc file
marc.to_utf_8 = true
marc.permissive = true
marc.default_encoding = BESTGUESS
marc.include_errors = true
# Perform Unicode normalization (ignored unless marc.to_utf_8 is true).
#
# Allowed values are:
#
# C - Normalization Form C (NFC)
# D - Normalization Form D (NFD)
# KC - Normalization Form KC (NFKC)
# KD - Normalization Form KD (NFKD)
#
# For the differences of the normalization forms see the Unicode
# Standards Annex #15, located at <http://unicode.org/reports/tr15/>.
#
# marc.unicode_normalize = C
# Properties for the Java import program (used for importing authority records)
# $Id: import_auth.properties $
# solrmarc.solr.war.path - must point to either a war file for the version of Solr that
# you want to use, or to a directory of jar files extracted from a Solr war files. If
# this is not provided, SolrMarc can only work by communicating with a running Solr server.
# IMPORTANT NOTE FOR WINDOWS USERS:
# Use forward slashes, not back slashes (i.e. c:/vufind/..., not c:\vufind\...)
# solrmarc.solr.war.path=/usr/local/vufind2_eah/solr/jetty/webapps/solr.war
# solrmarc.custom.jar.path - Jar containing custom java code to use in indexing.
# If solr.indexer below is defined (other than the default of org.solrmarc.index.SolrIndexer)
# you MUST define this value to be the Jar containing the class listed there.
solrmarc.custom.jar.path=VuFindIndexer.jar|lib
# Path to your solr instance
solr.path = REMOTE
solr.core.name = authority
solr.indexer = org.solrmarc.index.VuFindIndexer
solr.indexer.properties = marc_auth.properties
#optional URL of running solr search engine to cause updates to be recognized.
solr.hosturl = http://localhost:8080/solr/authority/update
#where to look for properties files, translation maps, and custom scripts
#note that . refers to the directory where the jarfile for SolrMarc is located.
solrmarc.path = /usr/local/vufind2_eah/local/import|/usr/local/vufind2_eah/import
# Path to your marc file
marc.to_utf_8 = true
marc.permissive = true
marc.default_encoding = BESTGUESS
marc.include_errors = true
# Perform Unicode normalization (ignored unless marc.to_utf_8 is true).
#
# Allowed values are:
#
# C - Normalization Form C (NFC)
# D - Normalization Form D (NFD)
# KC - Normalization Form KC (NFKC)
# KD - Normalization Form KD (NFKD)
#
# For the differences of the normalization forms see the Unicode
# Standards Annex #15, located at <http://unicode.org/reports/tr15/>.
#
# marc.unicode_normalize = C
<?php
/**
* Template for ZF2 module for storing local overrides.
*
* PHP version 5
*
* Copyright (C) Villanova University 2010.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* 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; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* @category VuFind2
* @package Module
* @author Demian Katz <demian.katz@villanova.edu>
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
* @link https://github.com/dmj/vf2-proxy
*/
namespace finc_eah;
use Zend\ModuleManager\ModuleManager,
Zend\Mvc\MvcEvent;
/**
* Template for ZF2 module for storing local overrides.
*
* @category VuFind2
* @package Module
* @author Demian Katz <demian.katz@villanova.edu>
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
* @link https://github.com/dmj/vf2-proxy
*/
class Module
{
/**
* Get module configuration
*
* @return array
*/
public function getConfig()
{
return include __DIR__ . '/config/module.config.php';
}
/**
* Get autoloader configuration
*
* @return array
*/
public function getAutoloaderConfig()
{
return array(
'Zend\Loader\StandardAutoloader' => array(
'namespaces' => array(
__NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
),
),
);
}
/**
* Initialize the module
*
* @param ModuleManager $m Module manager
*
* @return void
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
public function init(ModuleManager $m)
{
}
/**
* Bootstrap the module
*
* @param MvcEvent $e Event
*
* @return void
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
public function onBootstrap(MvcEvent $e)
{
}
}
<?php
namespace finc_eah\Module\Configuration;
$config = array(
);
return $config;
\ No newline at end of file
@set VUFIND_HOME=/usr/local/vufind2_eah
@set VUFIND_LOCAL_DIR=/usr/local/vufind2_eah/local
@set VUFIND_LOCAL_MODULES=finc_eah
@call run_vufind.bat %1 %2 %3 %4 %5 %6 %7 %8 %9
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment