View Single Post
Old 06-26-2013, 11:36 PM   #1
khahoon
Connoisseur
khahoon can self-interpret dreams as they happen.khahoon can self-interpret dreams as they happen.khahoon can self-interpret dreams as they happen.khahoon can self-interpret dreams as they happen.khahoon can self-interpret dreams as they happen.khahoon can self-interpret dreams as they happen.khahoon can self-interpret dreams as they happen.khahoon can self-interpret dreams as they happen.khahoon can self-interpret dreams as they happen.khahoon can self-interpret dreams as they happen.khahoon can self-interpret dreams as they happen.
 
Posts: 94
Karma: 20000
Join Date: May 2013
Device: generic
Apache integration is outdated?

Hi

I am trying to integrate Calibre server to Apache installation but I hit a couple snag here. There are some paths in the python script that I do nto have with my Calibre installation on Debian. Can anyone shed some light into how to proceed with those paths?

http://manual.calibre-ebook.com/server.html

Code:
# The first entry from CALIBRE_PYTHON_PATH
sys.path.insert(0, '/home/kovid/work/calibre/src')

# CALIBRE_RESOURCES_PATH
sys.resources_location = '/home/kovid/work/calibre/resources'

# CALIBRE_EXTENSIONS_PATH
sys.extensions_location = '/home/kovid/work/calibre/src/calibre/plugins'

# Path to directory containing calibre executables
sys.executables_location = '/usr/bin'

# Path to a directory for which the server has read/write permissions
# calibre config will be stored here
os.environ['CALIBRE_CONFIG_DIRECTORY'] = '/var/www/localhost/calibre-config'
I do not have plugins and src folders.

thanks
khahoon is offline   Reply With Quote