An open API service indexing awesome lists of open source software.

https://github.com/abhi-bhatra/cgiprogramming-scripts

CGI Programming to Host WebApp on Apache server
https://github.com/abhi-bhatra/cgiprogramming-scripts

apache cgi-application html-css-javascript python-script

Last synced: about 1 year ago
JSON representation

CGI Programming to Host WebApp on Apache server

Awesome Lists containing this project

README

          

# Python CGI Programming
Python CGI Programmaning is the web app created using Python as backend and HTML-CSS as Frontend. We used Apache2 server to host the web app.
The App is created on Virtual Machine.

### Steps to create

1. Install Apache2 Web Server `sudo apt-get install apache2`
2. Check the firewall `sudo ufw allow list`
3. Check if Apache2 is running `sudo systemctl status apache2`
4. If Apache2 is stopped, run `sudo systemctl start apache2`
5. Open `nano /var/www/html/index.html` and add the content
6. Create a directory `mkdir /var/www/cgi-bin`
7. Add content `nano /var/www/cgi-bin/test.py`

Now run the script at yourlocalhost or the Public Ip if is running in the VM