Hello All,
I am fairly new to web development, so I apologize in advance. I have an assignment which requires me to deploy a database backed web application on a university server. I have written the web application on my workstation so I am not asking for homework help.
What I am trying to figure out is, how do I serve this website on my departments server under a local user directory?
My original thought was to include a .htaccess file in my submission, which allowed the execution of .py scripts from that directory. After getting the 403 Forbidden error while trying to serve a simple test site, I uncovered that the department's httpd.conf file is blocking .htaccess files in user directories.
My second thought was to bundle apache2 in my submission, launch an instance of apache from the local directory, listening on a specific port (i.e. 8080). After the session is over, round up all apache instances launched as user and kill them. Is this a bad idea?
If there is a better way, I welcome the suggestions.
Thank you in advance.