0

I'm trying to deploy my python application on ampps server. I'm facing problem with changes to be made in my httpd.conf file.

<VirtualHost *:80> 
ServerName myopinion 

DocumentRoot "C:\Program Files\Ampps\www\wsgi-app" 

WSGIScriptAlias /myapp "C:\Program Files\Ampps\www\wsgi-app\myopinion.wsgi" 
<Directory "C:\Program Files\Ampps\www\wsgi-app"> 
Order allow,deny 
Allow from all 
Require all granted
</Directory> 

I have created a new folder wsgi_app at the location "C:\Program Files (x86)\Ampps\www\wsgi_app".

The wsgi_app folder holds my .wsgi file and the python script that I want to deploy.

After doing all this i restarted my server and run the url "http://192.168.0.103/myapp/ques/2".

It gives me: 403 Forbidden: You don't have permission to access /myapp/ques/2 on this server.

someone please guide me..

manish kumar
  • 53
  • 1
  • 1
  • 9

0 Answers0