* Gary D Walborn: " Re: [Mayan EDMS: 815] Mayan-EDMS on Ubuntu 14.04 with
  apache2" (Wed, 3 Sep 2014 11:09:36 -0700 (PDT)):

Hi Gary,

> UPDATE:  After much experimentation, I got this set up under apache.  When 
> searching for results, I found may inconsistencies that seem to arise from 
> differences in platform, differences in versions, and differences in the 
> desired result.  Nonetheless, I was able to get the mod_wsgi setup to work 
> and it now launches Mayan-EDMS sessions from apache.  I have just one small 
> remaining problem.  When I first got things working, I would get the text 
> of the web pages, but none of the icons and images.  I finally managed to 
> get the static items to be served and the web pages look great EXCEPT for 
> the original login page which doesn't seem to get any static files served.  
> Once the user logs in, everything looks beautiful.  ONLY the login screen 
> seems to be affected.  Can anyone explain this strange behavior?  

Finally deployed mayan 1.0 in production on my own site and now can answer to
your question just in case you didn't find the solution yourself so far.

The solution is to add the directive for static files to your apache
configuration. I see from your pdf, that you defined an alias
    Alias /media /var/www/django/mayan-edms/media

Since mayan is requesting those static files
like /static/packages/animate-custom.css you should define an alias like
    Alias /static /var/www/django/mayan-edms/media/static/

(not absolutely sure about the final /static, because I am no more using apache,
but AFAIR this should be correct for apache).

HTH,
Mathias



-- 

    Mathias Behrle
    PGP/GnuPG key availabable from any keyserver, ID: 0x8405BBF6

Attachment: signature.asc
Description: PGP signature

Reply via email to