Re: Apache and mod_wsgi with django

2023-01-01 Thread Mike Dewhirst
On 2/01/2023 1:44 pm, pankaj palmate wrote: Hi i am using Apache with mod_wsgi.i want to serve 5000 users at a time.how many processes and threads should I use in order to serve 5000 connections concurrently...in wsgi daemon process ? I can't answer the question because it is above m

Apache and mod_wsgi with django

2023-01-01 Thread pankaj palmate
Hi i am using Apache with mod_wsgi.i want to serve 5000 users at a time.how many processes and threads should I use in order to serve 5000 connections concurrently...in wsgi daemon process ? -- You received this message because you are subscribed to the Google Groups "Django users"

Re: Django deploy Apache

2022-05-18 Thread Kasper Laudrup
On 13/05/2022 13.56, Nicolas Passarini wrote: Hello, i ve deployed a django app in apache. the problem is that i works for 5 minutes and then it stops responding. That sucks. Sounds like you have some issues you need to look into. Good luck. Kind regards, Kasper Laudrup -- You received

Django deploy Apache

2022-05-13 Thread Nicolas Passarini
Hello, i ve deployed a django app in apache. the problem is that i works for 5 minutes and then it stops responding. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from i

Re: Off topic slightly - Apache https redirect

2022-02-07 Thread Antonis Christofides
today, if for any reason you ever decide to undo this permanent redirect or point it elsewhere, or simply if you make an error while configuring apache, you are out of luck. In my opinion, this is an error in the RFC, and as someone had commented, it is silly to have a provision that lets you

Re: Off topic slightly - Apache https redirect

2022-02-07 Thread Mike Dewhirst
: Re: Off topic slightly - Apache https redirect On Sunday, February 6, 2022 at 9:12:38 PM UTC-5 Mike Dewhirst wrote:There seems to be a multitude of ways to redirect from http to https.Any pointers to the absolutely correct way?How about something like this?   ServerName example.com  ServerAlias

Re: Off topic slightly - Apache https redirect

2022-02-07 Thread Bob Kline
On Sunday, February 6, 2022 at 9:12:38 PM UTC-5 Mike Dewhirst wrote: > There seems to be a multitude of ways to redirect from http to https. > Any pointers to the absolutely correct way? > > How about something like this? ServerName example.com ServerAlias www.example.com Redirect permane

Off topic slightly - Apache https redirect

2022-02-06 Thread Mike Dewhirst
There seems to be a multitude of ways to redirect from http to https.Letsencrypt rewrote my conf for port 80 traffic to https but when a customer used http://mysite.com it brought up the Apache "this is working" page.Any pointers to the absolutely correct way?ThanksMike--(Unsigned mai

Re: Why does django throw TypeError when sending requests through Apache WSGI?

2021-12-15 Thread Kyle Paterson
data.traveldata import settings (example) >> >> or via >> >> from django.conf import settings >> >> The latter is the recommended means because settings are lazy loaded. >> On Wednesday, December 8, 2021 at 10:07:11 AM UTC-5 sencer...@gmail.com >> wrote:

Re: Why does django throw TypeError when sending requests through Apache WSGI?

2021-12-15 Thread Kyle Paterson
Wednesday, December 8, 2021 at 10:07:11 AM UTC-5 sencer...@gmail.com > wrote: > >> Hi, >> >> I think this is not related with apache >> >> It seems like class object property is called as a method somehow. >> Unfortunately the error does not reveal the p

Re: Why does django throw TypeError when sending requests through Apache WSGI?

2021-12-09 Thread Jason
lazy loaded. On Wednesday, December 8, 2021 at 10:07:11 AM UTC-5 sencer...@gmail.com wrote: > Hi, > > I think this is not related with apache > > It seems like class object property is called as a method somehow. > Unfortunately the error does not reveal the property name. >

Re: Why does django throw TypeError when sending requests through Apache WSGI?

2021-12-08 Thread Sencer Hamarat
Hi, I think this is not related with apache It seems like class object property is called as a method somehow. Unfortunately the error does not reveal the property name. Regards, Sencer HAMARAT On Wed, Dec 8, 2021 at 4:59 PM Kyle Paterson wrote: > Started a new project after not us

Why does django throw TypeError when sending requests through Apache WSGI?

2021-12-08 Thread Kyle Paterson
Started a new project after not using Django for roughly two years, works fine when running as a development server but throws TypeError: SimpleLazyObject class: property object not callable. >From apache error log: [Wed Dec 08 10:11:53.023239 2021] [wsgi:error] [pid 10704:tid 140343150348

Re: IS it possible to debug Django with Apache and mod_wsgi

2021-02-13 Thread yashwanth .k
: >> >>> >>> DEBUG=Yes in settings.py shows what you need even in Apache >>> >>> Don’t run like that in prod! >>> >>> >>> On Fri, Feb 12, 2021 at 10:36 AM Ognjen B. >>> wrote: >>> >>>> Hi ev

Re: IS it possible to debug Django with Apache and mod_wsgi

2021-02-12 Thread Ognjen Bjelica
> wrote: > >> >> DEBUG=Yes in settings.py shows what you need even in Apache >> >> Don’t run like that in prod! >> >> >> On Fri, Feb 12, 2021 at 10:36 AM Ognjen B. >> wrote: >> >>> Hi everyone, >>> I was wondering can anyone point

Re: IS it possible to debug Django with Apache and mod_wsgi

2021-02-12 Thread Rob Wilkinson
DEBUG=Yes in settings.py shows what you need even in Apache Don’t run like that in prod! On Fri, Feb 12, 2021 at 10:36 AM Ognjen B. wrote: > Hi everyone, > I was wondering can anyone point me to a document describing how to setup > debugging using any IDE (VS Code, PyCharm, etc) or

Re: IS it possible to debug Django with Apache and mod_wsgi

2021-02-12 Thread Rob Wilkinson
Sorry meant DEBUG=True :) On Fri, Feb 12, 2021 at 10:39 AM Rob Wilkinson wrote: > > DEBUG=Yes in settings.py shows what you need even in Apache > > Don’t run like that in prod! > > > On Fri, Feb 12, 2021 at 10:36 AM Ognjen B. > wrote: > >> Hi everyone, >&

IS it possible to debug Django with Apache and mod_wsgi

2021-02-12 Thread Ognjen B.
Hi everyone, I was wondering can anyone point me to a document describing how to setup debugging using any IDE (VS Code, PyCharm, etc) or at least from console when using Django with Apache and mod_wsgi? Or if it's not possible please let me know so I don't waste any more time. Thank

Re: Premission Denied - Apache

2020-08-31 Thread Kasper Laudrup
Hi Giovanni, On 31/08/2020 19.12, Giovanni Silva wrote: Dear Kasper, this is part of my code... So you probably just need to ensure that the user running your Django code has write access to BASE_DIR / media. Now it's up to you to figure out who that user is, what that path is and ensure

Re: Premission Denied - Apache

2020-08-31 Thread Giovanni Silva
Dear Kasper, this is part of my code... [image: image.png] Best Regards Giovanni Em seg., 31 de ago. de 2020 às 13:33, Kasper Laudrup escreveu: > Hi Giovanni, > > On 31/08/2020 18.11, Giovanni Silva wrote: > > Hi Kasper, > > > > When I was running with the django local server, I have permiss

Re: Premission Denied - Apache

2020-08-31 Thread Kasper Laudrup
Hi Giovanni, On 31/08/2020 18.11, Giovanni Silva wrote: Hi Kasper, When I was running with the django local server, I have permission and works good. The error occurs when I publish the site with apache2 I gave 777 permission because I was trying to do it (give permission). I understand th

Re: Premission Denied - Apache

2020-08-31 Thread Giovanni Silva
Hi Kasper, When I was running with the django local server, I have permission and works good. The error occurs when I publish the site with apache2 I gave 777 permission because I was trying to do it (give permission). Em seg., 31 de ago. de 2020 às 12:11, Kasper Laudrup escreveu: > Hi Giovan

Re: Premission Denied - Apache

2020-08-31 Thread Kasper Laudrup
Hi Giovanni, On 31/08/2020 06.00, Giovanni Silva wrote: Can anyone help me please? All my project folder is 777 permissions with www-data user owner and group Please don't do that. That's a huge security risk and can cause all kinds of other problems. It is hard to know how to solve your

Re: deploying django project with mod_wsgi and apache

2020-05-17 Thread みやうち`
I found out part of my code has problem, althogh I don't know why it didn't output an error. Anyway, thank you for reply. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an

Re: deploying django project with mod_wsgi and apache

2020-05-16 Thread みやうち`
AWS EC2 with Linux. Since deployment of "polls" app works fine, I think there is no problem with server... But django and apache give no error about my app. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Re: deploying django project with mod_wsgi and apache

2020-05-16 Thread Kurosh Sol
what is your server as you are Japanese might be use server or sakura? On Sun, May 17, 2020 at 10:07 AM みやうち` wrote: > I got completely stuck deploying django to production. > > I deployed my project using apache and mod_wsgi, and then it hangs I > access it with browser. > Nei

deploying django project with mod_wsgi and apache

2020-05-16 Thread みやうち`
I got completely stuck deploying django to production. I deployed my project using apache and mod_wsgi, and then it hangs I access it with browser. Neither django nor apache gives me any errors at all, so I can't guess the cause of problem. Since it can be accessed by starting with "

Re: keep getting the Fatal Python error with mod_wsgi and apache

2020-03-26 Thread Fateh Budwal
于2020年3月26日周四 上午6:03写道: >>> >>>> Hello Everyone >>>> I have complied python 3.8.2 with django 2.2. it run locally fine but >>>> when i try to deploy it with Apache and mod_wsgi 4.7.1 and getting the >>>> below error. Any suggestions ? &

Re: keep getting the Fatal Python error with mod_wsgi and apache

2020-03-26 Thread Stephen J. Butler
020 at 8:30:35 PM UTC-7, Hella Nick wrote: >> >> 你的服务器是安装的python3.8.2的版本吗? >> >> Fateh Budwal 于2020年3月26日周四 上午6:03写道: >> >>> Hello Everyone >>> I have complied python 3.8.2 with django 2.2. it run locally fine but >>> when i try to deploy

Re: keep getting the Fatal Python error with mod_wsgi and apache

2020-03-26 Thread Fateh Budwal
in Django 2.2.8 but you > don't mention which Django is installed in production. > > > it run locally fine but when i try to deploy it with Apache and > > mod_wsgi 4.7.1 and getting the below error. Any suggestions ? > > > > |Currentthread 0x7f5aa48af

Re: keep getting the Fatal Python error with mod_wsgi and apache

2020-03-26 Thread Fateh Budwal
ut >> when i try to deploy it with Apache and mod_wsgi 4.7.1 and getting the >> below error. Any suggestions ? >> >> Current thread 0x7f5aa48af880 (most recent call first): >> no Python framePython path configuration: >> PYTHONHOME = (not set) >>

Re: keep getting the Fatal Python error with mod_wsgi and apache

2020-03-25 Thread Mike Dewhirst
t page says Python 3.8 support was added in Django 2.2.8 but you don't mention which Django is installed in production. it run locally fine but when i try to deploy it with Apache and mod_wsgi 4.7.1 and getting the below error. Any suggestions ? |Currentthread 0x7f5aa4

Re: keep getting the Fatal Python error with mod_wsgi and apache

2020-03-25 Thread Hella Nick
你的服务器是安装的python3.8.2的版本吗? Fateh Budwal 于2020年3月26日周四 上午6:03写道: > Hello Everyone > I have complied python 3.8.2 with django 2.2. it run locally fine but > when i try to deploy it with Apache and mod_wsgi 4.7.1 and getting the > below error. Any suggestions ? > &

keep getting the Fatal Python error with mod_wsgi and apache

2020-03-25 Thread Fateh Budwal
Hello Everyone I have complied python 3.8.2 with django 2.2. it run locally fine but when i try to deploy it with Apache and mod_wsgi 4.7.1 and getting the below error. Any suggestions ? Current thread 0x7f5aa48af880 (most recent call first): no Python framePython path configuration

Basic Django Website Hangs on Apache 2.4.41 due to Pandas 1.0.1

2020-02-24 Thread Siddharth Agarwal
Hello Everyone, I have build a basic Website using Python 3.7 + Django 3.0.0 + MySQL 8.0.18 + Pandas 1.0.1. This site works very well using py manage.py runserver on my local environment. However, as soon as I deploy it on Apache 2.4.41 configured on Windows 10 Server. The site starts giving

Geodjango deplyoment with Apache on Windows Server

2020-01-21 Thread 'nicola frosi' via Django users
I would like to know if anyone has ever managed to publish web pages created with geodjango using the OSGEO, mod_wsgi, Python36 libraries and drivers in PyCharm with APACHE. I would be interested in starting a discussion on which compilers in windows is better to use, or if to compile the

Apache Django Devops: How to run django app runserver on Apache

2019-12-12 Thread Dvs Khamele
Hi do you hire contract based python/django freelancer? We can help you in this and related tasks mere at $7 per hour Best Regards, Divyesh Khamele, Pythonmate On Thu, 12 Dec 2019 at 10:30, Rupam Hazra wrote: > > Please help me out. > > How to run django app runserv

Re: How to run django app runserver on Apache

2019-12-11 Thread Virendra Tripathi
https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/modwsgi/ Virendra On Wed, Dec 11, 2019 at 8:59 PM Rupam Hazra wrote: > > Please help me out. > > How to run django app runserver on Apache ? > > -- > You received this message because you are subscribed

How to run django app runserver on Apache

2019-12-11 Thread Rupam Hazra
Please help me out. How to run django app runserver on Apache ? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@google

apache on windows

2019-10-21 Thread Luca Bertolotti
Hello I need to run my project in windows with apache. I have installed apache and it's running because when i browse to 127.0.0.1:5000 i get "It works!", i change the default port to 5000 because on windows you have IIS working on port 80 this are my file I write only what i h

Apache reverse proxy for django app running in singularity container

2019-09-04 Thread bhuffman
I'm trying to set up an Apache reverse proxy for a django app that is running in a singularity container. I've tried the following in my apache conf.d/app.conf: ProxyPreserveHost OnRequestHeader set X-Forwarded-Proto 'https' env=HTTPSProxyPass "/app_prefix/

Apache reverse proxy for django app running in singularity container

2019-09-04 Thread bhuffman
I'm trying to set up an Apache reverse proxy for a django app that is running in a singularity container. I'm also trying to enforce HTTPS on the Apache frontend. I've tried the following in my apache conf.d/app.conf: ProxyPreserveHost OnRequestHeader set X-Forwarded-Pro

Re: nginx server to apache

2019-08-15 Thread 'Maher, Brian' via Django users
Yes, certainly! You can run Django apps under apache using mod_wsgi. There’s an example configuration here: https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/modwsgi/ Best Brian — Best Regards, Brian Maher On 15 Aug 2019, at 09:17, gopi p mailto:gopi.s...@gmail.com>> wrot

nginx server to apache

2019-08-15 Thread gopi p
Hi, It is possible to run instead of ngnix server to apache server -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@google

How to configure and run Laravel and Django project on different domains but same Apache server on Ubuntu 16.04 VPS Hostgator

2019-08-03 Thread Pooja Aiivine
working. Kindly guide me on how to run laravel and django project on different domain but on same apache server (version 2.4) on Ubuntu. We have added following configuration in apache2.conf file WSGIScriptAlias / /var/www/vhosts/itssmartworld.com/MyAwesomeCart/mac/wsgi.py WSGIPythonHome /var

Re: libssl.so.1.1 / OPENSSL_1_1_1 not found after upgrade (ubuntu server 18.04 / apache / mod_wsgi)

2019-06-24 Thread Volker Kraut
t;> The only thing i'm seeing is "Truncated or oversized response headers >> received from daemon process" in the apache error log. >> >> Works fine when using the Django development server. Broke last week >> after updating the system python and openssl pa

Re: libssl.so.1.1 / OPENSSL_1_1_1 not found after upgrade (ubuntu server 18.04 / apache / mod_wsgi)

2019-06-23 Thread Luke
27;m having the same problem, totally unable to find a resolution so far. > > I get no error messages of any use, even with all logging set to DEBUG. > The only thing i'm seeing is "Truncated or oversized response headers > received from daemon process" in the apache er

Re: libssl.so.1.1 / OPENSSL_1_1_1 not found after upgrade (ubuntu server 18.04 / apache / mod_wsgi)

2019-06-23 Thread Luke
I'm having the same problem, totally unable to find a resolution so far. I get no error messages of any use, even with all logging set to DEBUG. The only thing i'm seeing is "Truncated or oversized response headers received from daemon process" in the apache error log. W

libssl.so.1.1 / OPENSSL_1_1_1 not found after upgrade (ubuntu server 18.04 / apache / mod_wsgi)

2019-06-13 Thread Volker
Two days ago my django app which runs on an Ubuntu 18.04.2 LTS server with apache 2.4 (from repo9 and mod_wsgi in an venv with Python 3.6 throws an exception after https login - as it seems - after a package upgrade. To my understanding libssl/openssl is causing the error. The error message

django/apache/ubuntu server18.04 openssl not found after package upgrade / libssl.so.1.1: version `OPENSSL_1_1_1' not found

2019-06-13 Thread Volker
Two days ago my django app which runs on an Ubuntu 18.04.2 LTS server with apache and mod_wsgi in an venv with Python 3.6 throws an exception after https login - as it seems - after a package upgrade. To my understanding libssl/openssl is causing the error. The error message below states that

django runserver + weasyprint + not taking the CSS files or getting css applied on the PDF + but working fine with Apache

2019-06-11 Thread Maurya Allimuthu
Hi All, We are having two server. In one server , - django runs with apache - Weasyprint version 0.40 - PDF is rendered with CSS applied (path is in static folder) In another server, - django runs with runserver - Weasyprint version 0.40 - PDF is rendered *WITHOUT* the CSS

Re: is that any way to deploy django in apache with centos

2019-06-01 Thread Ryan Nowakowski
Please post the specific error you're getting. On May 30, 2019 6:59:22 AM CDT, Kurosh Sol wrote: >is that any way to set Django in apache with wsgi mod in centos >I keep reading and still get error >any good resource can really work? > >-- >You received this message bec

Re: is that any way to deploy django in apache with centos

2019-05-30 Thread Suresh Kannan
Hi, I found this video helpful https://www.youtube.com/watch?v=DzXCHAuHf0I&t=1553s but with Nginx and Uwsgi. Hope this helps you! Suresh On Thu, May 30, 2019 at 7:59 AM Kurosh Sol wrote: > is that any way to set Django in apache with wsgi mod in centos > I keep reading and still

is that any way to deploy django in apache with centos

2019-05-30 Thread Kurosh Sol
is that any way to set Django in apache with wsgi mod in centos I keep reading and still get error any good resource can really work? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiv

Re: Django wsgi apache Deploy project

2019-05-30 Thread N'BE SORO
thank you everyone I managed the deployment Le mar. 7 mai 2019 à 18:48, Subhodeep Das a écrit : > Try: > > WSGIScriptAlias /test/tc-test /var/www/stage/hello/tc-test/django.wsgi > > You shouldn't have trailing slash on first argument. > > On Tue, May 7, 2019 at 7:27 PM N'BE SORO wrote: > >> >>

Re: 1 project, X app = X subdomains (Django, Apache)

2019-05-23 Thread Aldian Fazrihady
p2, > app3) and I would like to get on my vps (CentOS, Apache, PostgreSQL, > Django) app1.projekt.cz app2.projekt.cz and app3.projekt.cz > > I searched everywhere and I found only django-subdomains and > django-domains ... unfortunately, I have not managed to get started, > because

Re: 1 project, X app = X subdomains (Django, Apache)

2019-05-23 Thread Tim Chase
e to get on my vps (CentOS, Apache, > PostgreSQL, Django) app1.projekt.cz app2.projekt.cz and > app3.projekt.cz I can read two interpretations of what what you describe: 1) each application is distinct/independent and you want each one to run on its own subdomain. This seems like the most

1 project, X app = X subdomains (Django, Apache)

2019-05-23 Thread Jakub Jiřička
Hi, I want to ask you if someone has solved how to prove that is possible the applications in one project run in different subdomains? I have 1 project (projekt.cz) and provide of 3 applications (app1, app2, app3) and I would like to get on my vps (CentOS, Apache, PostgreSQL, Django) app1

Re: Django wsgi apache Deploy project

2019-05-07 Thread Subhodeep Das
Try: WSGIScriptAlias /test/tc-test /var/www/stage/hello/tc-test/django.wsgi You shouldn't have trailing slash on first argument. On Tue, May 7, 2019 at 7:27 PM N'BE SORO wrote: > > Hi I'm a beginner in python and I realized a project in Django. I have > problems in hosting my project. here is

Re: Django wsgi apache Deploy project

2019-05-07 Thread Kevin Jay
Remove the spaces in the paths: WSGIPythonPath / var / www / html / ecommerce / should be WSGIPythonPath /var/www/html/ecommerce/ Do the same for the other paths On Tue, May 7, 2019 at 8:57 AM N'BE SORO wrote: > > Hi I'm a beginner in python and I realized a project in Django. I have > problem

Django wsgi apache Deploy project

2019-05-07 Thread N'BE SORO
Hi I'm a beginner in python and I realized a project in Django. I have problems in hosting my project. here is my code in the 000-default.conf #ServerName #ServerAlias ServerAdmin webmaster @ localhost DocumentRoot / var / www / html / ecommerce WSGIScriptAlias ​​/ /var/www/html/ecommerce/eco

Re: django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet with Django’s user database authentication from Apache

2019-01-29 Thread Gundla Kumar
ation. I haven't made >> any changes in the application. Only added the application to the settings >> and updated static and media urls. >> >> Migration is done and super user was created. >> >> I have configured apache(version:2.4.29) and mod_wsgi(4.5.17)

Re: django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet with Django’s user database authentication from Apache

2019-01-29 Thread Binoy U
cation. I haven't made > any changes in the application. Only added the application to the settings > and updated static and media urls. > > Migration is done and super user was created. > > I have configured apache(version:2.4.29) and mod_wsgi(4.5.17) according to > Authe

Re: django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet with Django’s user database authentication from Apache

2019-01-28 Thread Simon Charette
>> >> I have created a django project with only one application. I haven't made >> any changes in the application. Only added the application to the settings >> and updated static and media urls. >> >> Migration is done and super user was created. >> >&

Re: django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet with Django’s user database authentication from Apache

2019-01-28 Thread Simon Charette
t; > Migration is done and super user was created. > > I have configured apache(version:2.4.29) and mod_wsgi(4.5.17) according to > Authenticating > against Django’s user database from Apache > <https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/apache-auth/> >

django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet with Django’s user database authentication from Apache

2019-01-28 Thread Binoy U
Hello, I have created a django project with only one application. I haven't made any changes in the application. Only added the application to the settings and updated static and media urls. Migration is done and super user was created. I have configured apache(version:2.4.29) and mod

Re: No module named django.core.wsgi, Apache+ CentOS

2019-01-16 Thread ANi
the mod_wsgi myself using the python I've installed, get it done in a few minutes.lol Now I am dealing with another mysterious problem. ˊ___>ˋ seems endless... ANi於 2019年1月16日星期三 UTC+8下午12時04分23秒寫道: > > Hey guys. > I am trying to deploy my Django project on CentOS 7 with Apach

Re: No module named django.core.wsgi, Apache+ CentOS

2019-01-16 Thread Michal Petrucha
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Tue, Jan 15, 2019 at 08:04:23PM -0800, ANi wrote: > Hey guys. Maybe consider asking not just the guys next time. ;) > I am trying to deploy my Django project on CentOS 7 with Apache. > and I got an error of *ImportError: No mod

No module named django.core.wsgi, Apache+ CentOS

2019-01-15 Thread ANi
Hey guys. I am trying to deploy my Django project on CentOS 7 with Apache. and I got an error of *ImportError: No module named django.core.wsgi* I think it is because the Apache did not use the python version inside the virtualenv However I dont know where the problem is. this is my httpd.conf

Deploy Django with Apache on Windows

2018-11-13 Thread ANi
Hi, I come across a problem when I want to deploy Django using Apache on Windows. I separated some configurations into production.py and local.py, like database configurations. And each files will read the actual setting data from a another file config.json. I try to set the environment

Issue after WAR deployment in Apache Tomcat server

2018-09-06 Thread hari . krishnan
I am using Django 1.8 on Jython in Windows 10. Have created a simple Django project following the tutorial https://docs.djangoproject.com/en/1.8/intro/tutorial01. After packaging using buildwar(including jars), when I deploy the mysite.war archive in tomcat, I get an error. My project name is

Re: Cannot find static files when using mod_wsgi and apache

2018-09-01 Thread Jason
https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/modwsgi/#serving-files Note the bit > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-use

Cannot find static files when using mod_wsgi and apache

2018-08-31 Thread Joel Mathew
I'm having trouble getting serving static files. My project is at /home/joel/myappointments The app is at /home/joel/myappointments/appointments An example template contains: myappointments/myappointments/settings.py contains: # Static files (CSS, JavaScript, Images) # https://docs.djangoprojec

Apache runs wsgi module twice in case of public router ip and internal server ip ?

2018-08-17 Thread HEMENDRA SINGH HADA
First time ) Now when we access 111.93.87.11:26060 (Public router ip) - due to port forwarding it comes to internal server ip but as apache receives host:111.93.87.11:26060,apache execute/run whole django application second time. So ulimately our application is being run two times for ip i.e intern

Re: Server complete html Static App without apache server and without modifying html code

2018-07-24 Thread Kasper Laudrup
Hi Archit, On 2018-07-23 20:09, archit mehta wrote: I have oraclejet frontend application and want to server that using django, I did it with flask but don't know how to do with django. Here is complete description of my problem Please go through it and suggest some solution. https://stac

Re: Server complete html Static App without apache server and without modifying html code

2018-07-23 Thread mottaz hejaze
i dont understand .. why you need backend anyway ? On Mon, 23 Jul 2018, 23:21 archit mehta, wrote: > > Hi, > > I have oraclejet frontend application and want to server that using > django, I did it with flask but don't know how to do with django. > > Here is complete description of my problem Pl

Server complete html Static App without apache server and without modifying html code

2018-07-23 Thread archit mehta
Hi, I have oraclejet frontend application and want to server that using django, I did it with flask but don't know how to do with django. Here is complete description of my problem Please go through it and suggest some solution. https://stackoverflow.com/questions/51484839/how-to-serve-comple

Re: Fresh Django with mod_wsgi and apache goes Time Out on 18.04

2018-07-07 Thread Kasper Laudrup
o whether port 80 is open in a firewall or similar. If you get a "504 Gateway Timeout", then there's an issue with the connection between Apache and the WSGI application. Possibly the Django app is not running? I cannot really come with a solution, but I hope that can hel

Fresh Django with mod_wsgi and apache goes Time Out on 18.04

2018-07-07 Thread Mohammad Etemaddar
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

Re: django windows apache tell if apache is working

2018-07-03 Thread Bob Bobsled
Hi, I think I see the problem now. WAMP is a special case for aliases, and it's root directory default setup in c:wamp\www for ex.. I need to do some more work on, say for ex. using Django Tut 01, setting up mysite as an alias in wamp, and then putting the polls app in it. I believe a

Re: django windows apache tell if apache is working

2018-07-02 Thread Bob Bobsled
Hi, I'm still stuck on getting Apache to verify as working with wsgi. Wondering what I might be doing incorrectly. I'm reading lots of tuts, but it's a jungle out there. I changed the folder hierarchy for the project and app so venv, django_project, and django_app are all on th

Re: Isolated virtualenv and mod_wsgi - how do I do this on Apache

2018-07-02 Thread Vinicius Assef
Bruce, I work in an environment with exactly > this limitation: a shared hosting running Apache where I don't have > access > to ssh. > > I build my environment (install libs, for that matter) locally and > transfer all my pack through ftp in one shot. > > As Melvyn

Re: Isolated virtualenv and mod_wsgi - how do I do this on Apache

2018-07-02 Thread Vinicius Assef
I second Melvyn. On top of what he wrote, Bruce, I work in an environment with exactly this limitation: a shared hosting running Apache where I don't have access to ssh. I build my environment (install libs, for that matter) locally and transfer all my pack through ftp in one shot. As M

Re: Isolated virtualenv and mod_wsgi - how do I do this on Apache

2018-07-01 Thread Melvyn Sopacua
On donderdag 28 juni 2018 17:46:42 CEST Bruce Whealton wrote: > In all cases, a virtualenv is recommended for any Python > deployment. In both cases, I have Apache as the web server with mod_wsgi. > Obviously, I need the server, Apache, to activate the > Django environ

Re: django windows apache tell if apache is working

2018-06-30 Thread Jason
-with-apache-and-mod_wsgi-on-ubuntu-14-04 This one shows how to use apache on ubuntu, and you should be able to extrapolate to use wamp. what I would do is just set up a simple view to return a http response saying "working", and map that to the root. Something like app/views de

Re: django windows apache tell if apache is working

2018-06-30 Thread Bob Bobsled
deployment from dev to production. I can't seem to locate a good uptodate tut for wamp that shows how to test everything is working properly in a simple manner for the wsgi part. I'm just trying to verify the plumbing (httpd.conf, settings.py wsgi.py) is working with apache, before spending too

Re: django windows apache tell if apache is working

2018-06-30 Thread Jason
appreciate the detailed report :-) so, have you set up the django tutorial project? that application method in wsgi doesn't make any sense. you should have urls and views set up in your project -- You received this message because you are subscribed to the Google Groups "Django users" group

django windows apache tell if apache is working

2018-06-29 Thread thebobbobsled
Hi, I'm new to this group, and also new to Python, and Django. Seems like lots of good info for django on this group. Sorry for long, detailed descriptions, below, but I am stuck trying to verify wamp, apache and django are working as a production server on a Windows 7, 32-bit machin

Re: Isolated virtualenv and mod_wsgi - how do I do this on Apache

2018-06-29 Thread Kunal Grover
You can specify your VirtualEnv using WSGIDaemonProcess: http://modwsgi.readthedocs.io/en/develop/configuration-directives/WSGIPythonPath.html Alternatively, you can use gunicorn to run your server behind Apache: https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/gunicorn/ My

Re: Isolated virtualenv and mod_wsgi - how do I do this on Apache

2018-06-28 Thread Gerardo Palazuelos Guerrero
gt; It appears that the shared Python environment does not allow ssh access. > In all cases, a virtualenv is recommended for any Python > deployment. In both cases, I have Apache as the web server with mod_wsgi. > Obviously, I need the server, Apache, to activate the > Django

Isolated virtualenv and mod_wsgi - how do I do this on Apache

2018-06-28 Thread Bruce Whealton
is shared hosting that specifically targets users of Python-based applications such as Django. It appears that the shared Python environment does not allow ssh access. In all cases, a virtualenv is recommended for any Python deployment. In both cases, I have Apache as the web

Re: serving admin files in Apache

2018-05-03 Thread sum abiut
Thanks, i've try that but still doesn't solve the problem On Fri, May 4, 2018 at 11:51 AM, James Farris wrote: > Did you run > $ python manage.py collectstatic in your project folder on the server that > is running Apache? > > This add all css, js, and images to t

Re: serving admin files in Apache

2018-05-03 Thread James Farris
Did you run $ python manage.py collectstatic in your project folder on the server that is running Apache? This add all css, js, and images to the static root folder you specified in settings.py On Thu, May 3, 2018 at 4:40 PM sum abiut wrote: > Hi, > I have recently setup my django ap

serving admin files in Apache

2018-05-03 Thread sum abiut
Hi, I have recently setup my django app with Apache. The app files are serve alright but, however when i access the admin page it looks all over the place. Please advise how to i serve the admin files in Apache. Cheers, -- You received this message because you are subscribed to the Google

Re: Deploying SSL for my Django 2.0.1 server with Apache on Ubuntu 16.04 (droplet)

2018-01-27 Thread Antonis Christofides
> > But the following is still saying, “Forbidden”: > > > https://www.angeles4four.info/static/admin/ > This is normal. The reason is not the filesystem permissions, but that Apache is configured to not list files inside that directory (to change that you'd need to use &quo

Re: Deploying SSL for my Django 2.0.1 server with Apache on Ubuntu 16.04 (droplet)

2018-01-26 Thread drone4four
p;rct=j&q=&esrc=s&source=web&cd=3&ved=0ahUKEwjJ_d_P0OfYAhVlxoMKHZlBBkEQFgg0MAI&url=https%3A%2F%2Fwww.digitalocean.com%2Fcommunity%2Ftutorials%2Fhow-to-serve-django-applications-with-apache-and-mod_wsgi-on-ubuntu-14-04&usg=AOvVaw2wt2StyReKq9zmPyQnkrO7> which I r

Re: Deploying SSL for my Django 2.0.1 server with Apache on Ubuntu 16.04 (droplet)

2018-01-25 Thread drone4four
locally when I was coding my app. The keyword here is mod_wsgi. So I found this guide <https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-apache-and-mod_wsgi-on-ubuntu-14-04>. I followed along but the issue I now have is that Apache serves my public_html

Re: Deploying SSL for my Django 2.0.1 server with Apache on Ubuntu 16.04 (droplet)

2018-01-21 Thread Phang Mulianto
Hi If you use ssl on apache, the ssl terminate only on apache request from client, then the wsgi from apache is no https. So ssl handled by your webserver service, whether the webserver you use is apache or nginx. Try access the static file with https is it working? On 21 Jan 2018 4:26 pm

Re: Deploying SSL for my Django 2.0.1 server with Apache on Ubuntu 16.04 (droplet)

2018-01-21 Thread Antonis Christofides
Hello, I'm not certain I understand what you are describing. Is Apache listening on port 8000? How is it possible that you are using "runserver" when you are running Django through mod_wsgi? Something is wrong there. Also, don't put your Django app's files in public_ht

Deploying SSL for my Django 2.0.1 server with Apache on Ubuntu 16.04 (droplet)

2018-01-20 Thread drone4four
I’ve played with a little Django (v2.0.1) locally. Now I am trying to implement a test case on my production Apache web server. I’m running an Ubuntu 14.04 DigitalOcean droplet (will upgrade to 18.04 later this year). I got Django running. Here it is: http://www.angeles4four.info:8000/ Before

  1   2   3   4   5   6   7   8   9   10   >