Displaying 6 results from an estimated 6 matches for "template_dir".
2009 Jun 20
3
omindex hangs while scanning
...ook "D:/develop/apache22/htdocs"
the omega.conf is in the same directory and looks like:
# Directory containing Xapian databases:
#database_dir /var/lib/omega/data
database_dir D:\develop\apache22\cgi-bin\omega\data
# Directory containing OmegaScript templates:
# template_dir /var/lib/omega/templates
template_dir D:\develop\apache22\cgi-bin\omega\templates
# Directory to write Omega logs to:
#log_dir /var/log/omega
log_dir D:\develop\apache22\logs
# Directory containing any cdb files for the $lookup OmegaScript
command:
# cdb_dir /var/lib/omeg...
2011 Oct 13
1
Database `default' couldn't be opened
...nfig
- make
- make check
- make install
After completed the above steps
cd omega-1.2.7
cp omega /usr/lib/cgi-bin/omega.cgi
cp omega.conf /usr/lib/cgi-bin/
chmod 755 /usr/lib/cgi-bin/omega.cgi
Edit the file (omega.conf) in "/usr/lib/cgi-bin/omega.conf"
database_dir /var/lib/omega/data
template_dir /var/lib/omega/templates
log_dir /var/log/omega
cdb_dir /var/lib/omega/cdb
you'll have to create the missing directories
mkdir -p /var/lib/omega/data
mkdir /var/lib/omega/templates
mkdir /var/lib/omega/cdb
mkdir /var/log/omega
And copy the templates to new directory.
cd omega-1.2.7
cp templ...
2006 Jul 14
1
(Solved) Re: How to configure omega.cgi to search multiple flint dbs?
...separate xapian indicies/dbs that I want Omega.cgi to
> search. Searching only one works OK, but I need to search three
> different dbs, and hopefully omega will combine the results and
> return a single feed. In my omega.conf I have :
>
> database_dir /svr/hda1/xapian/beta
> template_dir /svr/hda1/xapian/templates
> log_dir /var/log/xapian
> cdb_dir /var/log/xapian/cdb
>
> I want to specify multiple dbs as in:
>
> database_dir /svr/hda1/xapian/beta
> database_dir /svr/hda1/xapian/gamma
> database_dir /svr/hda1/xapian/delta
>
> So that when I run
>...
2006 Aug 06
1
How to use omega to search remote back end?
...w-r--r-- 1 oscar oscar 13 Jul 12 21:40 value.baseA
-rw-r--r-- 1 oscar oscar 14 Jul 12 21:40 value.baseB
oscar@epsilon:/svr/xapian$ xapian-tcpsrv --port 33333 /svr/xapian/beta
Opening server on port 33333...
epsilon:/svr/xapian# cat /etc/omega.conf
database_dir /svr/xapian/stub
template_dir /var/lib/xapian-omega/templates
log_dir /var/log/xapian-omega
cdb_dir /var/lib/xapian-omega/cdb
epsilon:/svr/xapian# cat stub
remote localhost:33333
epsilon:/svr/xapian# strace /usr/lib/cgi-bin/omega/omega 'P=pda' 'FMT=xml2'
execve("/usr/lib/cgi-bin/omega/omega", ["...
2006 Oct 07
10
When Rails speed matters
I''m developing small intranet solution that displays some data from
another internal HTTP server. Using ''net/http'' I''m getting data via
rails controller action from another server, this works quite well.
Processing data on another server takes approx. 1-2 seconds, what is
fine and acceptable, but now rails application takes 1-2 sec to respond
to the user.
2010 Feb 17
0
[PATCH] Provides the new node lifecycle events.
...emplate_source',
+)
+
+MIDDLEWARE_CLASSES = (
+ 'django.middleware.common.CommonMiddleware',
+ 'django.contrib.sessions.middleware.SessionMiddleware',
+ 'django.contrib.auth.middleware.AuthenticationMiddleware',
+)
+
+ROOT_URLCONF = 'ovirtserver.urls'
+
+TEMPLATE_DIRS = (
+ # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
+ # Always use forward slashes, even on Windows.
+ # Don't forget to use absolute paths, not relative paths.
+)
+
+INSTALLED_APPS = (
+ 'django.contrib.auth',
+...