Hi Tom,

Your specific implementation is going to vary but here is generally what 
you would like to put in the virtualhost tag of your 000-default.conf file 
located at /etc/apache2/sites-available if you are running on ubuntu. 

```
WSGIProcessGroup arches
WSGIDaemonProcess arches python-path= /home/ubuntu/Projects/my_proj 
python-home=/home/ubuntu/Projects/ENV
WSGIScriptAlias / /home/ubuntu/Projects/my_proj/my_proj/wsgi.py 
process-group=arches

Alias /media /var/www/media
Alias /documents/fileuploads /home/ubuntu/Projects/fileuploads
Alias /static/ /var/www/media/

<Directory /home/ubuntu/Projects/my_proj>
        Options Indexes FollowSymLinks
        AllowOverride None
        Require all granted
</Directory>


<Directory /var/www/media>
        Options Indexes FollowSymLinks
        AllowOverride None
        Require all granted
</Directory>
```


This example assumes you have a home directory that looks something like 
this

- home
    -{{username}}
        - Projects 
            - arches
            - my_proj
            - ENV


You'll have to modify the pathing in my example to fit your needs. 

Hope this works, report back with any additional questions or just to let 
us know how it went.

Cheers,
Ryan


On Thursday, June 18, 2020 at 12:07:33 PM UTC-7, Tom Taylor wrote:
>
> Dear all,
> apologies if this is obvious to you, but as a newbie to arches I am trying 
> to find a working python/djengo configuration to get my 1st arches server 
> up and running.
> I followe the steps as on: 
> https://arches.readthedocs.io/en/stable/serving-arches-with-apache/
> But my apache will not be able to call thearches project. error is module 
> sites is missing. whatever this may be)
>
> python3 manage.y runserver shows that the arches demo project is working 
> and I am abel to connect to it via browser on my test machine at 
> localhost:8000
>
> Would someone be able to post a working apache2 config for 
> Apache2 with libapache2-mod-wsgi and Python3
>
> Any hint is very much welcome
>
> Best
>
> Thomas
>

-- 
-- To post, send email to archesproject@googlegroups.com. To unsubscribe, send 
email to archesproject+unsubscr...@googlegroups.com. 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 archesproject+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/98642529-9dea-4866-a3ad-d9a0bbec096ao%40googlegroups.com.

Reply via email to