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
0answers
9 views

How to setup a chroot jail with vsftpd on the Pi? [closed]

I am hosting a webserver using Apache2 and I want a user to have only access to their home, which would be done by a chroot jail. The home of the user is /var/www/user and the user should have rw ...
1
vote
0answers
11 views

Forwarding calls from Apache server to cpp server both running on Raspberry

I am using raspberry Pi B+ and i have installed both , Apache server and my own cpp server , running on different ports.The cpp server is based on 'GNU Libmicrohttpd' library and i can choose a ...
0
votes
2answers
58 views

E: Package has no installation candidate

I am unable to install any package using command "apt-get install". Whenever I execute above command to install any package, it shows me a common error saying E: Package <PackageName> has no ...
0
votes
0answers
16 views

I can't build apache 2.4.20 correctly

When i finish compiling and installing Apache 2.4.20 with apr, apr-util and pcre on Raspbian lite 4.4, I only have these directories in /usr/local/apache2/: bin, build, include, lib and modules. ...
0
votes
1answer
48 views

ownCloud setup: Can't write into config directory!

I'm trying to set ownCloud up on my Pi (following this). I've made a symbolic link from my data and config folders to a USB stick mounted at /media/cruzer_usb (as per the link), and everything works, ...
1
vote
0answers
21 views

Using audio-output of raspberry from apache server

I am currently struggling on a project I am working on. I am supposed to control the audio output of a raspberry from a computer or another device. I installed an apache server and I want to execute a ...
0
votes
1answer
50 views

Apache 2.4: AH01630: client denied by server configuration

I upgraded from Apache 2.2 to 2.4 and i'm having trouble getting everything working again. The error in /var/log/apache2/error.log is: [Sat May 07 22:36:38.152432 2016] [authz_core:error] [pid 30664] ...
1
vote
2answers
75 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
78 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
65 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 ...
1
vote
1answer
105 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
64 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
72 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
38 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
57 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
48 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 http://archive.raspbian.org/...
0
votes
1answer
169 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
135 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
69 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
67 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
185 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
74 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 /...
2
votes
2answers
413 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
592 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
122 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
53 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
73 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
135 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
295 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 ...
2
votes
1answer
363 views

Pi Wordpress asks for ftp credidentials

Recently, I have installed a LAMP server on my Raspberry Pi B+ running Raspbian 7 (Jessie) and when I try to install a plugin or theme it asks for FTP credidentials. Does anyone know how to fix this?
1
vote
1answer
1k 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
236 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
202 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
216 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
100 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
960 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) G.output(18,...
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
99 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
136 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
85 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
125 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
835 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
61 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
5k 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
644 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
255 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
549 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 /...