We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [apache-httpd]

For questions pertaining to the Apache web server.

Filter by
Sorted by
Tagged with
2
votes
0answers
212 views

xdotool from Apache/PHP script

With Raspbian Wheezy I could do the following without any problem through a PHP script run by Apache on the local Pi: exec('env DISPLAY=:0 xdotool mousemove 20 10 2>&1', $output); But now I ...
3
votes
4answers
943 views

I can start a html file but not with Apache

I asked this before. The question was marked Duplicate. Unfortunately a newbie like me did not know it was a duplicate. The ‘answers’ I did not understand. I am sorry to ask dumb questions. I ...
2
votes
1answer
9k views

How to stop Apache from running a local web server on Boot?

I tried using this sudo /etc/init.d/apache2 stop, but it only temporarily works and the server starts working again after a reboot. Is there a disable feature or something similar?
8
votes
3answers
18k views

Performance comparison of RPi 3 web servers: Apache, Nginx, and Lighttpd

Has anyone done any real performance comparison testing on RPi 3 on popular web servers: Apache2 -- the most prevalent server Nginx -- the server that claims to be best performer Lighttpd -- the most ...
0
votes
1answer
2k views

How to add a hostname on my apache server?

I have installed two things : A wi-fi access point through this tutorial : https://learn.adafruit.com/setting-up-a-raspberry-pi-as-a-wifi-access-point And a Apache server from this tutorial : https:...
1
vote
4answers
937 views

Raspberry Pi Wifi Pineapple/Access Point, Wifi honey pot setup error!

https://www.youtube.com/watch?v=T3s9KYCU3tE I have been following this tutorial for a while and I have come across a problem that will not let me finish the setup by running: sudo apt-get install ...
1
vote
0answers
280 views

localhost Apache Very Slow

I have my RPi set up as an Apache2 Webserver. When I curl to localhost with my network cable unplugged I get a response in <1s However, once I connect the network cable - the time for response ...
1
vote
1answer
599 views

Apache to serve local address from another RPi

Is it possible for a RPi server to serve from another RPi on the same network? I have 2 RPi's on my home network, both running apache servers - Raspberry A is linked to a web domain i.e. mydomain.net,...
1
vote
1answer
1k views

How to change default apache folder to Flash drive on Raspbian?

I have apache 2.4 on my raspberry pi and need to change DocumentRoot to flash drive folder. But I have 403 Forbidden. In apache logs: AH01630: client denied by server configuration: /media/pi/www/...
0
votes
2answers
476 views

Linux (Raspbian ) on raspberry pi 3 “hangs” after a random period of time, how to debug?

I have a raspberry pi that is running a website on apache2. The only other thing running on it is a script running to read out some sensors and store the information in a database (running every ...
0
votes
1answer
1k views

How can I add anonymous ftp?

I am using SSH and PuTTY for SSH terminal access; FileZilla works well for sftp file transfers. I've installed tightvncserver for desktop access. sudo apt-get-install tightvncserver sudo vncserver ...
2
votes
1answer
2k views

Removed Apache2 and installed NginX, still get Apache default page

I am trying to remove Apache2 and replace with NginX. I purged Apache2 and if I try again, it says "Package 'apache2' is not installed, so not removed". However, when I go to the localhost page, I'm ...
1
vote
1answer
3k views

Use of Raspberry Pi 3 as a web server - is it a good choice?

Currently, I'm using a web hosting service and I spend about 33$/month. I'm planning to buy Raspberry Pi 3 for have my own web server, but I'm worrying about performance. Is it safe (regarding ...
0
votes
1answer
168 views

How to install proxy_fcgi module for Apache?

I am trying to install Seafile on my Raspberry Pi, following the documentation, and an running into a problem with the proxy_fcgi module. Where can I find the proxy_fcgi module? It is not in the /usr/...
1
vote
0answers
101 views

apache2 working but not showing up in netstat?

When I check which ports/interfaces apache is listening on, I see that it is listening only for tcp6 connections: $ sudo netstat -tulnp | grep apache tcp6 0 0 :::80 :::* ...
1
vote
2answers
13k views

PHP can't execute sudo script (www-data is allowed to sudo commands)

Can anyone of you tell me why this doesn't work? When i open the file doesnt run anything :( This is my php file: <!DOCTYPE html> <html> <head> <title>Restarter ...
0
votes
3answers
232 views

DNS with Raspberry as Wi-FI AP for local users

I have a website running on Apache. When users connect to the Raspberry AP, they can access to the website using the Raspberry's IP. But what I want to do is type an speific direction (like "...
2
votes
0answers
107 views

Configuration for NASA ISLE deployment

NASA has released an open-source version of it's lab inventory system known as ISLE: https://github.com/nasa/isle I went through the local setup using Vagrant but I was wondering if it would be ...
2
votes
2answers
241 views

Can I have an Apache Server on Pi 3 if it's working as a WiFi AP

I want to create a webserver local-network accessible but without router. The idea is to connect a device (phone, PC) to the Raspberry over WiFi, and see the webpage on the Apache Server. Is it ...
0
votes
1answer
304 views

Apache2 using older PHP version than what was installed

I've recently updated to PHP 5.6.10 by building it from source (Since I can't download it from the repositories, I'm still using Wheezy 7.0). The build went perfectly and once it was installed, using ...
0
votes
2answers
344 views

second virtualhost causes apache2 failure

This on a Raspberry Pi 2. When I add a second virtual host to the 000-default.conf file, and restart apache2, it gives me this error: [....] Restarting apache2 (via systemctl): apache2.serviceJob for ...
0
votes
1answer
398 views

Glype running on Apache2 and PHP 5.6.24 witch cURL enabled can't find the settings file for admin configuration

I'm attempting to setup a proxy website on a Raspberry Pi 2 Model B. I've tried Simple PHP Proxy and PHP Web Proxy (Sorry I don't have enough reputation to post more than two links). I wasn't ...
1
vote
1answer
199 views

How to write a initial script and let it run a command automatically

As the title saying, I want to start on this. sudo service (my service name) start. Where do I write this script that can make service initially start? My service is "apache2" and "bluetooth". ...
1
vote
0answers
109 views

NAS mounted drive permissions as the www folder

So I am messing around with my Pi (Raspbian) and I have setup an apache server on it with php. I have set the apache server to use a folder on the mounted NAS drive however when trying to use unlink ...
0
votes
2answers
225 views

Private/Secure port forwarded Apache server?

I'm trying to create a light automation system with my Raspberry Pi 2, PHP, Python and an Apache server. Unlike some people, I want to be able to access this server from anywhere in the world. The ...
1
vote
0answers
18 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 ...
3
votes
4answers
26k 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 ...
1
vote
4answers
12k 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
101 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
1k 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] ...
2
votes
2answers
3k 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
1k 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 ...
1
vote
1answer
1k 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 ...
-1
votes
1answer
2k 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
1answer
464 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 ...
1
vote
0answers
733 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 ...
1
vote
1answer
888 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
2answers
2k 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 ...
7
votes
3answers
1k 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
4k 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
805 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
1k 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
163 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 /...
4
votes
3answers
11k 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 ...
2
votes
4answers
9k 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
882 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
123 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
2answers
3k 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
859 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
11k 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 ...