Shiva, you are correct in that it is an issue with static files. The first step will be to follow our documentation on how to serve static files with apache: https://github.com/archesproject/arches/wiki/Basic-Production-Configuration#handling-static-files. Technically it is good practice to take the steps in that section whenever you begin to use Apache. However, as you saw, django and apache seem to figure out the static files thing just fine if you are serving the app from the domain root, www.example.com. It does become absolutely necessary if you want to serve from a subdirectory as you do.
Hope that helps, Adam On Wed, Oct 11, 2017 at 4:27 AM, <[email protected]> wrote: > I am also facing the same issue on ubuntu 16.*. can anyone help me with > the 000-default.conf file > > On Thursday, 21 May 2015 02:37:38 UTC+5:30, Adam Cox wrote: >> >> I've successfully set up apache2 with wsgi_mod to run the arches package >> from the root domain name (www.example.com is the main arches menu), and >> to do so I added the following lines to my >> /etc/apache2/sites-enabled/000-default.conf >> file (this is on ubuntu 14.04): >> >> WSGIDaemonProcess arches python-path=/home/ubuntu/Proje >> cts/crip:/home/ubuntu/Projects/ENV/lib/python2.7/site-packages >> WSGIProcessGroup arches >> WSGIScriptAlias / /home/ubuntu/Projects/crip/wsgi.py >> >> I described this process earlier in response to a question from David >> Lopes. >> >> Everything works great when I use the configuration above, and the arches >> landing page is available at www.example.com. However, what I'd like is >> to modify the last line to something like this >> >> WSGIScriptAlias /packagename/ /home/ubuntu/Projects/crip/wsgi.py >> >> so that the url for the arches landing page will be >> www.example.com/packagename. >> >> However when I make the change (restart apache) and navigate to the url, >> this is the result >> >> >> <https://lh3.googleusercontent.com/-jMlQBvyen78/VVz2e4vXjEI/AAAAAAAAATc/MSnW3q8BpTs/s1600/example.PNG> >> which looks like the new apache configuration is causing problems with >> css and media urls. >> >> What settings would I have to change in the package to make everything >> display correctly? >> >> >> -- > -- To post, send email to [email protected]. To unsubscribe, > send email to [email protected]. For more > information, visit https://groups.google.com/d/forum/archesproject?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Arches Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > > For more options, visit https://groups.google.com/d/optout. > -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
