Open IckZ opened 13 years ago
I think you have your Location wrong, it should be /usr/local/src/speeqe/speeqeweb. speeqeweb is the directory where the django application lives
Hey, on which part of the configuration do you mean? I set more than one time this path.
In your apache configuration. Where you have the django config. The
Location "/usr/local/src/speeqe/" SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE speeqeweb.settings PythonOption django.root speeqeweb/ PythonDebug On /Location
hm.. I think it goes to the speeqeweb dir or?
You are correct, that should work. Are you serving the site all from apache? I'll need to see the rest of you config. http://yourhost.com/speeqewebclient/anonymous.html should work with your current settings.
ok I think i nearly got it - but also anonymous.html is not working
my apache config: http://pastebin.com/jKbtpN0s
my /usr/local/src/speeqe/speeqeweb/local_settings.py http://pastebin.com/jwvVw7Fb
symlink goes from /usr/local/src/speeqe/speeqeweb/webroot to /var/www/.../speeqewebclient
all together results in this error message:
it is right that the dir does not exists but where is this setting? Or I'm blind?
You DocumentRoot in apache doesn't seem to point to the correct location. It looks like its using /usr/local/src/speeqe/speeqeweb/webroot.
thepug you were right :) Now everything works for the moment.
I just have to set up the search room thing but this can wait. I also have to try to autologin the drupal users. Have to check out where to put my vars..
I will report. Tanks a lot!
//edit
I think django is not working right. I can access anonymous.html and test_client.html but in client.html and for example index.html (after moving to webroot) there are many patterns like : {% block getcred %} {% endblock %}
this is my temp. vhost conf (<< removed):
# #
Location "/usr/local/src/speeqe/speeqeweb/webroot/" SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE speeqeweb.settings PythonOption django.root speeqeweb PythonPath "['/usr/local/src/speeqe/'] + sys.path" PythonDebug On /Location
# #
I also changed the symlink.. The symlink is now in the /usr/local/src/speeqe/speeqeweb/ path and called webroot.. this links directly to the folder in the webroot of the vhost named speeqewebclient
I think there is also a directory failure. The .html files look always in the webroot dir instad of the speeqewebclient directory. I cant belive that this would be a coding problem of the template files.. The error must be in my config..
I think the missing link is to the scripts directory. /usr/local/src/speeqe/speeqeweb/webroot/scripts will have to be served has http://yourhost.com/scripts/
there have been some updates to speeqe to fix some of these issues. please get the latest master.
Hi, today i tried to set up Speeqe but there seems to be a error in my configuration.
All Modules from the howto are installed. For Bosh I'm using ejabberd's http-bind wich is working very well with muckl for example..
1.1 So Speeqe lies here: /usr/local/src/speeqe/speeqeweb/webroot 1.2 Symlink goes from there to /var/www/vhosts/domain.com/httpdocs/speeqewebclient
2.1 I installed Django and put this into my vhost.conf
<Location "/usr/local/src/speeqe/"> SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE speeqeweb.settings PythonOption django.root speeqeweb/ PythonDebug On
2.2 apache restart
3.1 /usr/local/src/speeqe/speeqeweb/local_settings.py ---> http://pastebin.com/HTW5JkaH 3.2 /usr/local/src/speeqe/speeqeweb/webroot/scripts/local_settings.js
4.1 if i open domain.com/speeqewebclient this is the result ---> http://img809.imageshack.us/i/speeqe.jpg/
Does anyone know what i missed?
kind regards!