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

3
votes
1answer
56 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
33 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
68 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
53 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
21 views

Apache webserver cant access usd 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 ...
1
vote
0answers
26 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 ...
2
votes
0answers
17 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
38 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
111 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
153 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
68 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
65 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
84 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 ...
1
vote
2answers
49 views

unable to connect to apache2 server on pi externally

I'm trying to use my pi as webserver and can confirm that the apache2 webserver is functioning properly when accessed locally. In order to allow external access, I have set up port forwarding (80 for ...
0
votes
1answer
375 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
66 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
71 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
64 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 ...
0
votes
2answers
102 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
33 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
664 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
51 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
3k 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
467 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
918 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
201 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
415 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
154 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
763 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
135 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
132 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
170 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
499 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
2k 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
723 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 ...
1
vote
1answer
6k views

Why can't I remove Apache?

I installed a LAMP stack with the following commands: $sudo apt-get install apache2 php5 libapache2-mod-php5 $sudo service apache2 restart $sudo apt-get install mysql-server mysql-client php5-mysql ...
-2
votes
1answer
237 views

How to display database in plain html or php from python [closed]

I would like to seek urgent help on just display what's in my database on plain html or php without any GUI interface or layout, just plain database display. Is it possible cause I'm new to it and ...
0
votes
1answer
1k views

Web server not displaying pages, and apache error 403 for new files

After setting up a web server on my pi following the instructions here - http://www.wikihow.com/Make-a-Raspberry-Pi-Web-Server, everything goes fine except for when I view the web server. The test ...
2
votes
1answer
846 views

Cannot Connect to Apache Server, No Errors Generated

I am trying to run an Apache server on my Raspberry Pi, as per this tutorial. I currently have a VPN (OpenVPN) running on the same server. Even when I stop the OpenVPN process with sudo service ...
0
votes
1answer
216 views

How to enable server-status on apache2?

I'm running a LAMP stack on Raspbian and I'd like to see the apache server-status page. I've checked that mod-status is enabled and I've added a directive in apache2.conf to allow anyone to see the ...
1
vote
2answers
7k views

allow apache to run sudo scripts [closed]

I have a raspi HEADLESS with an apache on it, I can access my pages on there, no problem. Then I have some home made capacitive sensors that are not working nicely. Id like to plot the values I read ...
0
votes
1answer
58 views

Ensure apache uses LAN when available

I've installed an Apache to my xBian and I've a web interface to my raspi. I'm using dynamically generated galleries for my pictures on it so the website can be pretty bulky in terms of traffic. I've ...
0
votes
1answer
3k views

cat /sys/class/gpio/gpio17/value permission denied [get the gpio status via php]

I am trying to get the status of gpio17 via php like that: (Installed: Raspbian, Apache2, PHP5) This is what i do: echo "17" > /sys/class/gpio/export echo "out" > ...
7
votes
1answer
15k views

Where is the HTTPD.CONF file?

I am attempting to stop people from being able to browse directories on my server. I have a fully functioning public facing LAMP on my pi but when you type in a dir name or my ip address you can see ...
1
vote
1answer
134 views

Which config ? tomcat nat or combo tomcat+mod_jk+apache

I just received my Raspberry pi which I plan to use for a gwt webapp. In performance view, what will be better to do ? only tomcat with NAT to serve my http external port serving static content ...
0
votes
2answers
435 views

Under what user is apache being run?

So I am trying to set up owncloud and the tutorial I've been following tells me this: Let's assume your apache runs as "www-data" (as it e.g. would under Ubuntu). Then you should change all files ...
1
vote
3answers
1k views

CGI and sudoers

I may got stuck in a very simple problem, but I can't figure it out. I would like to run using a cgi script a simple command: sudo service transmission-daemon stop in order to stop a system daemon. I ...
1
vote
1answer
1k views

rpi as wireless access point and web server

My RPi currently has a working 3G dongle and a Wifi dongle. I followed this tutorial on how to set it up as an access point on wlan0 and modified it a bit so my NAT routes into the 3G modem (ppp0) ...