I have installed a django application with django-tinymce and django-filebrowser. In my machine every thing works fine. when I deployed the application to the production, filebrowser fails to upload file and it shows me the error message Failed
Here is my settings
MEDIA_ROOT = '/srv/www/staticFiles/APCC/'
MEDIA_URL = '/static/APCC/'
STATIC_ROOT = '/srv/www/staticFiles'
STATIC_URL = '/static/'
and here is my apache configs
<Location "/"> SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE APCC.settings PythonDebug Off PythonOption django.root /srv/APCC PythonPath "['/srv/APCC/'] + sys.path" </Location> Alias "/static/" "/srv/www/staticFiles/" <Location "/static"> SetHandler None Order deny,allow Allow from all </Location> </VirtualHost>
I have make sure that the MEDIA_ROOT
directory is created and the uploads folder required by the filebrowser is also created under it.
Also the MEDIA_ROOT
directory and the uploads directories have write permissions.
I believe the problem is in my apache configuration or file structure. where would be the problem? also is there any logs specific for tinycme or filebrowser to check?