zielmicha/fc00.org

How to deploy with Apache ?

Opened this issue · 0 comments

I'm trying to deploy webserver with Apache for our small network but no any positive results.
Have downloaded fc00.git and Installed flask, flup, mysqldb, pygraphviz for python. Web.py running on default port 3000.

Apache config:

<IfModule_ mod_fcgid.c>
<VirtualHost x.x.x.x:80>
ServerName name.net.pl
DocumentRoot /var/www/html/mapa/web
ScriptAlias / var/www/html/mapa/web/static
<Directory /var/www/html/mapa/web>
Order allow,deny
Allow from all
Options +ExecCGI +FollowSymLinks
Require all granted
AddHandler mapa .fcgi
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
</IfModule>

I'm not programmer and not sure what i'm doing wrong.

  1. running python web.py
  2. http://xx.xx .pl ---> then still error 403
  3. Tried above configuration with listening on port 3000 ---> still error 403
  4. Apache error logs:
  • "OPTIONS * HTTP/1.0" 200 110 "-" "Apache/2.4.10 (Debian) (internal dummy connection)"
  • AH01630: client denied by server configuration: /etc/apache2/var

Can someone help ?