WSGI config inside virtualhost

Hi there!!

I’m trying to configure a WSGI python 2.7 aplicación inside a virtual host. Where can I find the comands or how to costumise the virtualhost config.

I need to add this lines to the virtualhost config:

WSGIDaemonProcess fde user=user1 group=group1 threads=5
WSGIScriptAlias / /var/lib/nethserver/vhost/fde/app.wsgi

# 30directory -- basic directory setup

<Directory /var/lib/nethserver/vhost/fde>
  WSGIProcessGroup fde
  WSGIApplicationGroup %{GLOBAL}

I’m in a big headache, Sorry but the programmer at the job, is using the server as his house one, and I found the wrong database this morning, now I have no httpd service.

Thanks for the help.

You can see how I did it in my nethserver-automx module: