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

Questions tagged [apache-httpd]

For questions pertaining to the Apache web server.

40 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
213 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 ...
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
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 ...
1
vote
0answers
30 views

Raspberry Pi3 not receiving HTTP request from Arduino

I have been running an application on an older original Raspberry Pi. The Raspberry Pi was running Incredible PBX and I have some tables set up in the MySQL database to store data received from an ...
1
vote
0answers
35 views

www-data can't access external drive

On Pi3 with Stretch, apache is calling an wsgi script that should access a file on an external drive. Here's the apache error log: mod_wsgi (pid=7963): Failed to exec Python script file '/usr/share/...
1
vote
0answers
69 views

PHP not executing commands

I have an apache web server installed in my Raspberry Pi. I created an index.php file on the /var/www/html folder. Whenever I access my Pi's IP address on a web browser to control the lights, none of ...
1
vote
0answers
63 views

RPi AP works on laptop, not android

I have a Rpi set up to act as an access point, I'm running a basic web server and going to run scripts. I have my laptop connected to the Rpis Wifi, and can access the IP address and run my test ...
1
vote
1answer
96 views

Intercepting HTTP request to fool Android into thinking WiFi network has internet

I have a product on a Raspberry Pi, using Raspbian where people connect to their Pi using WiFi served from the Pi, and then access the software via the web browser on their device (smartphone, tablet, ...
1
vote
1answer
314 views

Uninstalled Lighttpd, installed apache and PHP. PHP not executing

Title says it all. Lighttpd was automatically installed by RaspAP, a wifi web GUI not being part of Raspbian repository. But I require Apache. Uninstalled Lighttpd, Installed apache with PHP & ...
1
vote
0answers
37 views

Unable to access apache2 web server on uap0 virtual interface from external client

I have added a virtual interface uap0 using the command iw dev wlan0 interface add uap0 type __ap on my raspberry pi running Raspbian Lite distro. The idea is that any user with the correct WiFi AP ...
1
vote
0answers
206 views

Apache2 port 80 issues - Arris modem

I configured my Arris TG852G router to forward port 80 to my raspberry pi private IP address. I also put port triggers on port 80. I have Raspbian OS on my pi. With Apache running and listening on ...
1
vote
1answer
406 views

cant connect to server after configuring static IP

I'm able to connect to the local server when static IP is not set, however, as soon as I set a static IP on eth0 then I'm no longer able to reach the server by name. When I was configuring my static ...
1
vote
1answer
237 views

Raspberry Pi 3 as web server with Raspbian Jessie

Should connecting to my.public.real.ip/24 from another device on a different network connect me to my PIs hosted web page if I have installed apache+gave it static ip+port-forwarded? Is using DNS ...
1
vote
1answer
3k views

Execute python script with web server apache2

I have a problem, I can't execute a Python script on my Raspberry Pi 3. I set an Apache server to execute a python script by following a tutorial. I can execute the following script: #!/usr/bin/...
1
vote
0answers
87 views

Why does my Raspberry Pi keep deleting the /var/www folder?

I'm running a web server that uses PHP5 and SQlite for database queries. I have my crontab set to reboot the machine at midnight each day. Every few days, all of my files in the /var/www folder are ...
1
vote
0answers
281 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
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/...
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
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 ...
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 ...
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 ...
1
vote
0answers
734 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
3k 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
2k 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 ...
0
votes
0answers
36 views

Uninstalling apache2

I have a Raspberry pi 3 B. I currently have apache2 installed in /usr/sbin/apache2. I cannot remember if I installed this myself - I don't remember doing so - but perhaps I did, since it is located in ...
0
votes
0answers
12 views

My LAMP server does not work after moving to a new house

I self host two websites on a Apache2 instance that runs on a Raspberry Pi3 (more info on versions and configurations below): Website1 is a a static website that I coded from scratch, while website2 ...
0
votes
0answers
214 views

Running NextCloud on HTTPS/SSL with LetsEncrypt

I have successfully installed Nextcloud on a Pi3 using snap sudo snap install nextcloud. Confirmation follows promptly: nextcloud 15.0.10snap3 from Nextcloud✓ installed . Now this tutorial: ...
0
votes
0answers
22 views

Raspberry apache server not showing images and the site is acting weird

I'm hosting a site made with codeigniter in a raspberry 3 with Apache which is basically a form and the pictures aren't showing. I see the files are with user and group www-data and I'm trying to ...
0
votes
0answers
35 views

php file not executing python script when called through browser

I have an apache2 webserver running on the pi. I have a php file that uses exec() to run a python script. Everything works well from the command line. when loaded through the browser, the exec() ...
0
votes
0answers
49 views

Mac shared web folder permission on RaspberryPi

I have my websites folder on Mac where I have created a file sharing with user pi. I have then created a mount to this folder on Raspberry Pi like this in fstab //my-mac.local/Projects /home/pi/...
0
votes
1answer
961 views

Can't ping or connect to Raspberry Pi on same Wi-Fi network

I have a Raspberry Pi 3 web server connected to a Wi-Fi network and Windows 10 PC connected to that same network. From the PC, I cannot connect to the pi server or use SSH, however, if I connect the ...
0
votes
0answers
431 views

Error starting apache web server on raspberry pi

I am attempting setting up my raspberry pi to be a web server. I have just installed the program today, so it is on latest configuration. I have gone with apache2. I have read that if entering my ...
0
votes
1answer
58 views

Apache problem after openssl upgrade

Since upgrading openssl via apt a couple of days ago apache no longer displays web pages. It thinks it's running, and listening on port 80 as it used to be, but asking a browser to load the page at ...
0
votes
1answer
2k views

Can cPanel run on Raspbian?

Is it possible to run cPanel on Raspbian? I have a Raspberry Pi 3 Model B, and I want to know if this is possible before I go on purchasing cPanel. I currently have a virtual server on my Raspberry Pi....
0
votes
0answers
1k views

Python module subprocess not working with Django running server via Apache

I am working on a home automation project, and I want to run certain python codes when going to certain URLs of my Django Webpage. The subprocess.call() line from my Django Views.py works perfectly on ...
0
votes
2answers
226 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 ...
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 ...
0
votes
2answers
364 views

Control Raspberry Pi to control an Arduino over Apache

I want to control a Raspberry pi to control an arduino which is controlled by a webpage hosted by apache. I do not know how I would attempt this and if it is even possible. Can anyone please guide me ...
-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 ...
-2
votes
1answer
110 views

Html file explorer for Raspberry

I need ur help I have a apache2 server running on a raspberry pi 3 b+, and i want to explore de files of the folder that apache is pointed to (/var/www), I have searched on the internet and i find a ...