Skip to content
Snippets Groups Projects
Commit d4327772 authored by Martin Czygan's avatar Martin Czygan
Browse files

Add local development config samples.

In existing branch:

    $ git diff d26d7b8c^..eff4fa4d -- local/dev > local-dev.patch

Apply patch in the new branch:

    $ git apply local-dev.patch

This combines the following commits:

* eff4fa4d 2014-11-06 | fix relative path in local/dev/.gitignore (origin/issue/4117, issue/4117) [Martin Czygan]
* 8bd99282 2014-11-06 | ignore developer-specific ini files [Martin Czygan]
* cbf32081 2014-10-23 | modified default dev-config [seltmann]
* d26d7b8c 2014-10-22 | added dev config and some gitignore entries [seltmann]
parent 9d1f6663
Branches
Tags
No related merge requests found
config/vufind/*.ini
httpd-vufind.conf
[Global]
baseUrl = http://data.ub.uni-leipzig.de/item/DE-15/finc
\ No newline at end of file
[System]
debug = false
[Index]
url = http://localhost:8080/solr
[Parent_Config]
relative_path = ../../../config/vufind/config.ini
[Site]
url = "http://localhost"
[Authentication]
hash_passwords = "1"
encrypt_ils_password = "1"
ils_encryption_key = "3e2ac9b644dd4e0b64b179a0309ead13bb59202a"
# Configuration for theme-specific resources:
AliasMatch ^/themes/([0-9a-zA-Z-_]*)/css/(.*)$ /usr/local/vufind2/themes/$1/css/$2
AliasMatch ^/themes/([0-9a-zA-Z-_]*)/images/(.*)$ /usr/local/vufind2/themes/$1/images/$2
AliasMatch ^/themes/([0-9a-zA-Z-_]*)/js/(.*)$ /usr/local/vufind2/themes/$1/js/$2
<Directory ~ "^/usr/local/vufind2/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 / /usr/local/vufind2/public/
<Directory /usr/local/vufind2/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 /
# 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]
# 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/local/dev
# 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
</Directory>
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