Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to deploy with Apache ? #29

Open
adamzend opened this issue Feb 10, 2019 · 0 comments
Open

How to deploy with Apache ? #29

adamzend opened this issue Feb 10, 2019 · 0 comments

Comments

@adamzend
Copy link

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant