Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 07-07-2018, 09:12 AM   #1
Sefid par
Registered: Jul 2013
Location: Iran, Shiraz
Distribution: Slackware Current, Ubuntu server 18.04, Debian 9
Posts: 125

Rep: Reputation: 26
Question Fresh Django with mod_wsgi and apache goes Time Out on 18.04

I have installed Ubuntu server 18.04 and VirtualMin on it. installed python3-pip and then virtualenv.
Also installed libapache2-mod-wsgi-py3
Created new virtual server and configured the modwsgi for it.
Also created fresh django website for it.
But I get Timeout error!
Here is my apache configuration for mod_wsgi:

WSGIDaemonProcess python-home=/home/username/venv python-path=/home/username/website

Alias /media/ /home/username/website/media/
Alias /static/ /home/username/website/static/

<Directory /home/username/website/static>
Require all granted

<Directory /home/username/website/media>
Require all granted

WSGIScriptAlias / /home/username/website/website/

<Directory /home/username/website/website>
Require all granted
I have configured website like this on a Debian 9 server and worked great.
How can I solve it?

Last edited by Sefid par; 07-07-2018 at 09:14 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to Install and Configure Odoo with mod_wsgi LXer Syndicated Linux News 0 05-16-2017 04:21 PM
how to connect django with apache and apache with domain? alanford Linux - Server 1 08-27-2015 03:37 PM
[SOLVED] mod_wsgi mod_python doesnt compiling in slackware-current anti_user Slackware 2 09-10-2012 07:59 AM
Apache issues - setting up Django/mod_wsgi Ineedsleep Linux - Newbie 2 11-23-2010 11:27 PM
Integrating Django Into Apache cmnorton Linux - Server 1 09-24-2010 01:59 PM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration