apache2

Apache + WSGI: Address already in use: make_sock: could not bind to address

江枫思渺然 提交于 2019-12-25 18:42:17
问题 I get the following message when I try to start Apache2: * Restarting web server apache2 (98)Address already in use: make_sock: could not bind to address 0.0.0.0:2080 no listening sockets available, shutting down Unable to open logs Action 'start' failed. The Apache error log may have more information. uwsgi is listening on that port: sudo netstat -ltnp | grep ':2080' tcp 0 0 0.0.0.0:2080 0.0.0.0:* LISTEN 884/uwsgi Before that I installed wsgi manually sudo apt-get install libapache2-mod-wsgi

Server Side Includes

为君一笑 提交于 2019-12-25 06:35:35
问题 I got the following error message in the Apache log: unable to include potential exec "header.html" in parsed file /Users/sikusiku/Sites/ss-git/homepage.shtml I basically tried to include header.html from homepage.shtml . I used the very basic directive in homepage.html (both header.html and homepage.shtml are located in the document root): <!--#include virtual="header.html" --> I think I have properly turned on the SSI in my httpd.conf : Options Indexes FollowSymLinks ExecCGI Includes ...

Server Side Includes

坚强是说给别人听的谎言 提交于 2019-12-25 06:35:16
问题 I got the following error message in the Apache log: unable to include potential exec "header.html" in parsed file /Users/sikusiku/Sites/ss-git/homepage.shtml I basically tried to include header.html from homepage.shtml . I used the very basic directive in homepage.html (both header.html and homepage.shtml are located in the document root): <!--#include virtual="header.html" --> I think I have properly turned on the SSI in my httpd.conf : Options Indexes FollowSymLinks ExecCGI Includes ...

Upgraded PHP now apache won`t execute php files anymore

徘徊边缘 提交于 2019-12-25 05:15:35
问题 On my server (Debian) I had some problem with the execution of php files, I thought I would check if the latest version was installed so I wrote: apt-get install php5-cli It turned out that php5 wasn't even installed yet. Anyway after the installation apache won't execute any .php files anymore. If I open the url it`s just outputting the code. Then I thought updating apache would help (it was on 2.2.2) so i did: apt-get upgrade apache2 but it didn`t resolve the problem (I have restared apache

Video Straming on raspberrypi using flask apche2and wsgi server

帅比萌擦擦* 提交于 2019-12-25 04:23:05
问题 I have used flask app for straming video via raspberrypi camera. The code i used for flask app is here: https://blog.miguelgrinberg.com/post/video-streaming-with-flask In local server it is doing video stream but not on my website. I am using apache2 server having wsgi file below: flaskapp2.wsgi #!/usr/bin/python import sys import logging logging.basicConfig(stream=sys.stderr) sys.path.insert(0,"/var/www/FlaskApp2/FlaskApp2") from ashish import app as application application.secret_key =

No module named Django:

半腔热情 提交于 2019-12-25 04:05:07
问题 I want to deploy my Django project in windows environment.I'm using:- Windows7 64bit Apache2 python2.7 Django 1.8 VCforPython And after installing all required Dependencies I have set my Environment Variables for:- Variable name:PATH variable value:my python path variable name: DJANGO_SETTINGS_MODULE variable value:project.settings And my httpd.conf:- <VirtualHost *:80> ServerName http://localhost WSGIScriptAlias / C:\Apache2\htdocs\project\project\wsgi.py <Directory "C:\Apache2\htdocs

404 Not found error in deploying a Rails app with Apache2 and Passenger

浪尽此生 提交于 2019-12-25 03:27:07
问题 probably a matter of simple adjustment but I have no idea whats going wrong. I want a host to be a server for my rails application, which was deployed using Capistrano 3.2.1. This is a Unix machine running Apache/2.2.15, named eng-perf (corporate internal machine, so no www.address.com syntax at the moment). I followed this guide and the entire installation process went without any trouble. I edited the configuration file so that it looks like this: <VirtualHost *:80> ServerName eng-perf # !!

Access Geoserver From Internet Ubuntu Server 14.04.1

一个人想着一个人 提交于 2019-12-25 03:26:40
问题 i'm triying to getup geoserver on IBM Server with Ubuntu Server 14.04.1, i have try making a file in /etc/apache2/sites-available/geoserver.conf and the information in it was: ProxyRequests Off ProxyPreserveHost On <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /geoserver "http://localhost:8080/geoserver" ProxyPassReverse /geoserver "http://localhost:8080/geoserver" I access to my server via a subdomain in NO-IP, but a i can't make it work the geoserver, like this; my.subdomain

Apache restart on Ubuntu - error “could not bind to address 0.0.0.0.80”

青春壹個敷衍的年華 提交于 2019-12-25 03:12:17
问题 I'm a n00b - trying to get apache2 set up on Ubuntu 9.10 (Karmic Koala) on Rackspace Cloud. I have set up/configured OpenSSL and installed Apache, but Apache won't start. I assume its a misconfiguration in my /etc/apache2/sites-available/ssl or /etc/apache2/sites-available/default files) When I try to restart apache using the command: sudo /etc/init.d/apache2 restart I get the following error message: [error] (EAI 2)Name or service not known: Could not resolve host name *.80 -- ignoring!

Apache2 PHP SSO with Active Directory

六月ゝ 毕业季﹏ 提交于 2019-12-25 02:26:48
问题 I am trying to implement SSO for php application deployed in Ubuntu Apache2 and users in the Windows domain needs to access this app without signing in. So need help. Anyone who has already tried achieving it. Ubuntu is not under AD domain. 回答1: I did this yesterday using mod_auth_kerberos . Basic process is as follows: Install kerberos and configure On active directory create a new user Use ktpass on windows to create a keytab Copy keytab to ubuntu and configure apache to use keytab Have a