I have followed all these steps mentioned on this guide (project's github install info) successfully on Windows 7 and WampServer 2.2 to install mediacore 0.9. The problem that i have got is to configure it to run successfully on Apache Server. On one port 8282 of Apache i run a django app successfully and on the other port 8181 i try to run mediacore app. I have configured my httpd.conf that way to run mediacore and create database on mysql successfully but when i try to deploy it i get an error from apache:
[Thu May 19 13:25:40 2016] [error] [client 127.0.0.1] mod_wsgi (pid=6652): Target WSGI script 'C:/wamp/www/mediacore/deployment-scripts/mod_wsgi/mediacore.wsgi' cannot be loaded as Python module. [Thu May 19 13:25:40 2016] [error] [client 127.0.0.1] mod_wsgi (pid=6652): Exception occurred processing WSGI script 'C:/wamp/www/mediacore/deployment-scripts/mod_wsgi/mediacore.wsgi'. [Thu May 19 13:25:40 2016] [error] [client 127.0.0.1] Traceback (most recent call last): [Thu May 19 13:25:40 2016] [error] [client 127.0.0.1] File "C:/wamp/www/mediacore/deployment-scripts/mod_wsgi/mediacore.wsgi", line 13, in [Thu May 19 13:25:40 2016] [error] [client 127.0.0.1] fileConfig(deployment_config) [Thu May 19 13:25:40 2016] [error] [client 127.0.0.1] File "C:\Python27\lib\site-packages\pastescript-1.7.3-py2.7.egg\paste\script\util\logging_config.py", line 76, in fileConfig [Thu May 19 13:25:40 2016] [error] [client 127.0.0.1] formatters = _create_formatters(cp) [Thu May 19 13:25:40 2016] [error] [client 127.0.0.1] File "C:\Python27\lib\site-packages\pastescript-1.7.3-py2.7.egg\paste\script\util\logging_config.py", line 108, in _create_formatters [Thu May 19 13:25:40 2016] [error] [client 127.0.0.1] flist = cp.get("formatters", "keys") [Thu May 19 13:25:40 2016] [error] [client 127.0.0.1] File "C:\Python27\Lib\ConfigParser.py", line 607, in get [Thu May 19 13:25:41 2016] [error] [client 127.0.0.1] raise NoSectionError(section) [Thu May 19 13:25:41 2016] [error] [client 127.0.0.1] NoSectionError: No section: 'formatters'
My httpd.conf is:
WSGIPythonPath c:/wamp/www/mediacore
Listen 8181
<VirtualHost *:8181>
<Directory c:/wamp/www/mediacore>
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
WSGIScriptAlias / c:/wamp/www/mediacore/deployment-scripts/mod_wsgi/mediacore.wsgi
</VirtualHost>
On the built-in server it runs successfully without a problem, but i have got some problems when i try to upload a file or attach youtube address. Additionally i will need a guide to overcome these problems afterwards when i fix apache and that has to do with configuration.ini! What kind of settings i have to perform on that file?