The Apache HTTP server - a popular web server developed and maintained by an open community and available for different operation systems.

learn more… | top users | synonyms

0
votes
2answers
36 views

Hosting Webserver with 3G connection

My Pi 2 is logging temperature and humidity, and is connected to a PiNoir Camera. The Pi 2 is connected to the internet via a 3G USB Modem. I'd like to view my logged data (RRDtool Database) and a ...
0
votes
1answer
32 views

Apache2 Fails To Start Second Time After Install

I have a Pi 3 and just installed Apache and PHP via this link sudo apt-get install apache2 -y sudo apt-get install php5 libapache2-mod-php5 -y The Apache server turned on with no problems and I was ...
0
votes
0answers
30 views

Connection refused for local connections on Pi 3

I just set up my new RPi3 with Apache 2.4 and PHP 7.0. To access my Pi from outside I use FreeDNS.afraid. (worked fine on my RPi2a/b+). Now I can't access my RPi 3 from my local network - not over ...
0
votes
1answer
62 views

How to give web server (Apache) privileges to execute shell commands

I have installed Apache2 and I am running Raspbian Jessie. Then I installed WiringPi and PHP and now I want to access the GPIO headers on Pi using the PHP Web page. Here is how my page looks. I want ...
0
votes
1answer
41 views

Cannot install Apache2 on my Raspberry pi

I am getting the following error when I install Apache2 on my pi. Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable ...
0
votes
0answers
39 views

Running PHP file using AJAX in website with apache2 server

I am trying to run a PHP file with the code below. I'm new to all of this and I can't figure out what is wrong with my code. The PHP file runs a simple Python script that runs my motors. I have tested ...
0
votes
1answer
32 views

Raspberry Pi Apache Server and Force HTTP [closed]

I want to accept connections on my Raspberry Pi Apache server. I've found that it works great with "http://raspberrypi.local" but when I type in "https://raspberrypi.local" it fails (not available ...
0
votes
0answers
20 views

Changing the user and directory in Apache

So, I'm trying to change the default user and default doc directory in apache on my PI. I've successfully changed the user and group in the /etc/apche2/envvars file, and with that change everything ...
0
votes
1answer
33 views

How do I install Apache2 and PHP without the internet connection?

I do not have access to internet on my Pi. So I cannot install the above mentioned software using sudo apt-get install apache2 php5 I have downloaded all the files form ...
0
votes
1answer
94 views

Install libapache-mod-fastcgi on RPi 2

I'm trying to make working Seafile accessible via HTTPS (locally), following this guide, but I can't install libapache-mod-fastcgi, which is why restarting Apache2 finally fails, as ...
5
votes
2answers
112 views

Raspberry Pi 21, 22, and 80 Ports Acting Up

I am running an Apache 2 web-server with MySQL and PHPMyAdmin but the 21, 22, and 80 ports act up all the time. The 21 and 22 ports stop working at about the same time but the port 80 works for a lot ...
0
votes
3answers
63 views

Apache Server - Hosting 2 domains

I have a Raspberry Pi 2 B , Its running a LAMP package setup with Rasbains Jessie . i have looked at trying to host 2 domain names under one IP address but i have no clue where to start. I have tried ...
0
votes
2answers
59 views

Apache2 apparently not working

First off, I am on Raspberry Pi B+, and I have just changed its IP address to static. Since I just changed the IP address to static, I go to my browser and type my Raspberry Pi's IP address, which I ...
3
votes
1answer
121 views

Apache “404 not found error”

I previously posted a similar question because I used to get a 403 error message (Forbidden). So I decided to get a new micro SD card, and I installed a fresh Apache server then I re-followed this ...
0
votes
1answer
58 views

Access forbidden after using FileZilla client

I'm running apache2 webserver on raspberry pi and when I transfered few files from my PC to raspberry (via FileZilla client), I have no Access to them: Forbidden You don't have permission to access ...
1
vote
2answers
206 views

Apache server “403 forbidden, you don't have permission.”

I followed this tutorial Building an SQLite temperature logger. The python files work perfectly, no errors at all. However, I am not able to see the webpage, I get a 403 - forbidden error. I've been ...
1
vote
2answers
347 views

Raspi won't start apache2 after I power cycled

Serious Raspi n00b here (I come from a Microsoft background) Had apache2 running with no issues. Unplugged the Raspi because I wanted to set up a powered usb hub for an external hdd. Got everything ...
0
votes
1answer
79 views

Apache webserver can't access USB device

I'm trying to build a small webapp in PHP that allows me to control my DSLR with my rpi2. I am using the gphoto2 program, which is a console program that talks with most ptp cameras and can take ...
2
votes
0answers
46 views

Local LAMP server slow on mobile devices

I set a local lamp server at my raspberry 2 B. I uploaded a HD media file in it is working well when I browse I can watch video well. My problem is I am connecting to raspi by wireless and it is ...
3
votes
1answer
45 views

Trouble with Alias directive on apache2 server

I have some media in the directory /mnt/sda1 that I would like to embed in my webpage with root at /var/www. I tried adding to /etc/apache2/sites-enabled/000-default.conf: Alias /media/ "/mnt/sda1/" ...
1
vote
1answer
93 views

How to switch on LED by php interface with Raspberry | Arduino

In my project I've connected a Raspberry Pi 2 and Arduino by serial USB. I would switch on some leds, by a php interface. So, the PHP interface is ok, but when I chose the led to put on, nothing ...
3
votes
2answers
209 views

PHP-version on Raspberry Pi different in phpinfo()

I have a Raspberry Pi 2 where I want to run my backend for an application on. This needs php 5.6 to run correctly, otherwise it will just not work. I installed PHP 5.6 on this Raspberry Pi, but now I ...
1
vote
1answer
605 views

APACHE : Permission denied

I have made a raspberry pi web server with Apache, PHP, mysql etc... In the html folder where are all my .html and .php file I created a new directory called images. I put images into it. But when i ...
2
votes
1answer
156 views

PHP doesn't work on Apache on RPi

I just installed apache2, php, mysql, phpmyadmin, and vftpd (to add files via filezilla) on my raspberry pi, which is used as a local web server. I created a simple index.php page with Brackets (a ...
0
votes
1answer
147 views

How to run a Python script on a raspberry pi via webserver?

Hi everyone I am trying to run a python script on my raspberry pi 2 via web server running apache2, php, and raspbian jessie. What my plan is to do is have a timelapse camera using python (code below) ...
0
votes
2answers
158 views

Best way to make python script and server communicate

I am trying to build a motion sensor with my Pi that can deliver notification to a program on my computer when it detects motion. I installed apache on the Pi, the server works. I wrote a very simple ...
2
votes
2answers
79 views

Unable to connect to Apache 2 server on Pi externally

I'm trying to use my Pi as webserver and can confirm that the Apache 2 webserver is functioning properly when accessed locally. In order to allow external access, I have set up port forwarding (80 for ...
0
votes
1answer
734 views

calling Python script with GPIO module over apache2 web server

I have test.py file, and it contains GPIO module commands: #!/usr/bin/python import RPi.GPIO as G import time G.setmode(G.BCM) G.setup(18, G.OUT) G.output(18, True) time.sleep(3) ...
0
votes
0answers
14 views

Permission Denied Exception on Raspberry Pi-2.While accessing the gpio pins using java servlet web application [duplicate]

Permission Denied Exception on Raspberry Pi-2.While accessing the gpio pins using pi4j java library in servlet web application which is running on tomcat We have developed the Basic Servlet web ...
0
votes
1answer
86 views

Apache server control Python script

I have a temperature sensor on my Raspberry Pi 2, I read the data with a python script. My question is how do I run that script on the Apache server (with a push of a button). Specifically how do I ...
0
votes
0answers
103 views

Javascript not working

I have two pages one reads the temp of my sensor and the other loads that page every few seconds. the page that reads the sensor works fine. the one that is loading the page does not work. I have a ...
1
vote
0answers
80 views

Can I access my web server internally while it is hosting a website externally [closed]

I have a WAN IP (99.X.X.X) for my network and a LAN IP (192.168.0.X) for my PI. I am hosting a web server on it and I can access my website from an external network but I would like to be able to ...
1
vote
2answers
116 views

Access pi from the outside

I'm sure it has been asked before but I cannot find an answer that works for me. I did it before but cannot get it to work again. I installed a raspbmc, it includes an apache for remote control of ...
0
votes
1answer
34 views

How to use apache to reach pen drives [closed]

I want to use apache to host the files of my two pen drives but also from a folder inside /home/pi. I can set the root directory of apache to /home/pi but what about the pen drives? Don't wanna set ...
0
votes
1answer
776 views

Dual Channel Relay Python Script

I am a Python noob, and recently purchased a 2 channel relay module from sunfounder. I wired it up to my Pi, and the relay turned on and stays on. I am wondering if any one can provide my with the ...
0
votes
0answers
60 views

List Raspberry in windows network resources with link to webpage

I've installed raspbian latest release on a raspberry pi B+ with LAMP, is it possible to list my raspberry on Windows network resources in a way such that when I double-click on it the browser fire up ...
0
votes
1answer
4k views

Permission denied, logged in with root user [closed]

I used root user to change a something in my directory and I typed in sudo -i followed by /etc/hostname and it says -bash: /etc/hostname: Permission denied
0
votes
1answer
581 views

Send linux command between 2 pis on same network [closed]

I was wondering if it was possible to control say RPB (Raspberry Pi B) from RPA, using Linux commands. The two PIs are on the same network 192.168.1.static-ip-address. I log into both of them via ...
1
vote
0answers
1k views

Installing MySQL server in latest (NOOBS) Raspbian

Here I was, following this tutorial (http://www.penguintutor.com/linux/raspberrypi-webserver), because I wanted to host a pretty simple PHP site on my Raspberry Pi. But once again, as it usually ...
1
vote
0answers
1k views

Authenticate Motion video stream via Apache web server on my PI

At the moment I'm running two PIs with the popular software Motion, delivering webcam content to the internet. I'm port mapping the two external ports to the internal ports on my router, to give ...
-2
votes
2answers
230 views

Lamp or language best for raspberry pi [closed]

I know this is a beginner question or may be even a stupid one, I am new to this whole concept of raspberry pi, so please excuse me if this is naive. Just beginning to tinker with raspberry pi and ...
0
votes
2answers
494 views

apache subdomain setup [closed]

Is it possible to setup a subdomain to point to a specific directory in apache2? I would like www.raspbianserver.com to point to /var/www/htdocs/index.html and backend.raspbianserver.com to point to ...
0
votes
1answer
178 views

Raspberry and sessions - unusable slow

I´m running my project on my raspberry with Apache2 and PHP5. It´s non public, so me and a friend are currently the only users. The site basically executes shell commands and waits for their finish. ...
0
votes
1answer
851 views

Running Python script From php that create a thread and then kill it [closed]

I am a python newbie, very interested in raspberry pi and while I was crusading the code I had one idea, tried a lot of ways to make it but with no success. I'm using this python script to get data ...
0
votes
0answers
151 views

Apache2 running but not installed

Using service apache2 stop or /etc/init.d/apache2 stop give me always the same answer: No apache MPM package installed But if I run: service --status-all system tell me that Apache2 is ...
1
vote
1answer
138 views

Local server running on Onion Pi

I have followed this tutorial on making an 'onion pi'. This is a Wifi Access Point, which routes traffic through tor. This has worked completely and well, although the only problem I have come into is ...
1
vote
0answers
185 views

How to create a WebGUI for Raspberry Pi? [closed]

I am looking to create a WebGUI for a small robot. The gui needs to be able to stream video from the raspi Cam and display it on the GUI. It also needs to be able to take inputs form the keyboard if ...
0
votes
1answer
607 views

apache2 password protected directory [closed]

I password protected a part of my website. How can I destroy the session of one user when I want to login with another user? Where can I change the time out of the session (if possible)?
0
votes
1answer
3k views

Raspbian apache2 virtual host

I am trying to setup virtual hosts on apache2 on Raspbian. made a directory for www.example.com wim@raspberrypi-lamp-server /var/www $ sudo mkdir www.example.com wim@raspberrypi-lamp-server /var/www ...
0
votes
1answer
855 views

ssl certificate on apache

I am following this tutorial to setup ssl on a raspbian. http://www.flatmtn.com/article/setting-ssl-certificates-apache The guide is for red hat. Where is the default location to copy the key and ...