Questions tagged [apache-httpd]

For questions pertaining to the Apache web server.

Filter by
Sorted by
Tagged with
0
votes
1answer
20 views

Apache HTTP server failed to start - how to stop other servers from listening on ports?

While trying to host a website to control GPIO over flask and Apache I am now receiving the error that 'Failed to start The Apache HTTP Server'. Some googling suggested that this might happen if other ...
0
votes
0answers
10 views

Can one run Apache James on RPi?

I wanted to know if one can install and run Apache James on Raspberry Pi running Ubuntu Server/RPi Lite OS and host emails. If so, how? Thank you.
0
votes
1answer
56 views

Using Raspberry Pi as web server - but with web content on external drive

What would be the best way to set up a Raspberry Pi as a webserver, but with the hosted files on an external hard drive? I have a Raspberry Pi 3 Model B+ which I would like to use as a web server. The ...
1
vote
1answer
32 views

Apache2 how to access .html file outside website root

I am trying to create a localhost website that has multiple links to redirect to other .html files on the raspberry pi. These other .html files and websites are located in a folder located at /home/pi/...
4
votes
2answers
915 views

Trying to install MySQL: Package 'mysql-server' has no installation candidate

I'm trying to install MySQL; my command is: sudo apt-get install mysql-server php-mysql -y and what I'm getting is an error stating E: Package 'mysql-server' has no installation candidate
0
votes
1answer
82 views

My page doesn't record Data with Mysql and apache

intaxing.in/register.php or(website probably don't work) test.intaxing.in/register.php You can look here for the actual working page that did not record anything it just asks again & again for ...
1
vote
0answers
49 views

My http server can only be accessed from localhost, but not from the outside ip [closed]

I setup my Raspberry Pi 1 with Raspbian to create a simple server. I can access the server from the localhost from within the Raspberry Pi only, but not using its IP either from the Raspberry Pi ...
1
vote
1answer
170 views

captive portal with apache on a raspberry pi

I'm trying to make a captive portal with apache as a server and a raspberry pi on AP mode. I have some trouble trying to make the captive portal splash, I tried all tutorials on the internet and I can'...
4
votes
2answers
117 views

Python file called by PHP script in apache server unable to get RPi.GPIO

I've been trying to use a site on my local network to activate the GPIO pins on my Raspberry Pi 4. I installed apache and wrote a quick PHP script which executes a python file in /var/www/html.I have ...
1
vote
1answer
172 views

Cant access my raspi web-server from outside my local network

So I've been working on this problem for days now. I have the needed ports forwarded plus more opened just in case, I've tried changing ports.conf to listen to a different port for testing and still ...
1
vote
1answer
66 views

Makes OpenVPN a local Apache Webserver accessable from outside?

I am running Apache on my Pi. It's only accessable from my local network. Now I want to install OpenVPN on the same Pi. Is Apache accessable from outside, when I enter the static ip in my browser (...
0
votes
1answer
91 views

Raspberri Pi (Raspian) running Apache 2, PhP(7) HTML CSS not running PHP

I am getting very frustrated with trying to track down the source of my problems with the code below. I believe it is something to do with php files not being run. (Note that all files are in the same ...
0
votes
0answers
291 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
14 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
668 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
31 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
166 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() ...
-1
votes
1answer
199 views

Segmentation fault error. Trying to loop a python program [closed]

I'm using AT commands to send data over http, but the problem is that sometimes the program has an error and wont run again until I reboot and the GSM. Im using a crontab and also running the file as ...
1
vote
0answers
37 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 ...
0
votes
1answer
78 views

Use apache2 Mod_proxy to turn two local webservers into one website

I am going to have a raspberry pi 3b+ hosting 2 web applications: Pi-hole (that's a link) and MotionEye (another link) I want to host both of the web interfaces on port 80 without using two ...
4
votes
1answer
84 views

Why does my apache take several minutes to spawn workers?

I'm running Apache 2.4.25 on a Raspberry Pi 3A+ with Raspbian Stretch and every first request after booting takes several minutes. The connection does not break it just loads forever. So far I have: ...
1
vote
0answers
46 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
1answer
603 views

Using my Apache2 www folder on a USB drive: PERMISSION DENIED

My Raspian Apache2 does not seem to like the www folder on a RAspberry-3B USB drive, which I can easily access from my Windows network. It keeps giving me You don't have permission to access / on this ...
2
votes
2answers
616 views

Raspberry pi PHP display code instead of output

I installed php services and Apache2 on my raspberry pi without errors. But, when I opened a browser and entered my page URL, it wrote <?php echo "Hello";?> instead of Hello. I have tried ...
0
votes
0answers
56 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
216 views

RPi randomly unreachable over SSH/HTTP

I have a headless Pi running Raspbian with no other peripherals than an ethernet cable attached. It hosts a simple webpage using Apache with some simple PHP that interfaces with MariaDB. I connect ...
1
vote
3answers
79 views

Bash script help on RPi

I have a bash script that runs every hour. Output of this is sent to me via email. This is run through cronjob. #!/bin/bash # Script: temp_email.sh # --------------------------------------------------...
-1
votes
1answer
2k 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 ...
1
vote
0answers
146 views

Securing Raspberry Pi 3B+ Web Server with NAS [closed]

I have been researching about the security threats to a web server. It makes me want to secure my own on my Raspbian OS system. What are the list of things that are recommended or optional to install ...
1
vote
1answer
147 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
65 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
112 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
413 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
50 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 ...
0
votes
0answers
544 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
30 views

How to give raspberry pi 0 with apache 2 an domain name?

I made an webserver with apach 2 on my raspberry pi 0. But they did not explain how to link your paid domain name to your webserver. Can someone tell me how to do that?
2
votes
1answer
2k views

HTTP to HTTPS redirect issue [closed]

I'm setting up a website on raspberry Pi. my websitename is like this abc123.example.co so the thing is that the "abc123" is random, no idea what will it be next time I start the server. now, I'd ...
0
votes
1answer
64 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
566 views

Straming Raspberry camera to own Apache Server - Command not found

I am planning to implement a camera video stream from the Raspberry Pi to its own Apache server. I trying to solve this for a week now and i am pretty frustrated by now. I came across this tutorial ...
0
votes
1answer
25 views

Raspberry pi Apache2 domain hosting [closed]

Ok so i was following this tutorial: https://www.youtube.com/watch?v=vzojwG7OB7c And it seems like I've done everything. Now I just tried to connect to the website (www.patrick-gruszka.com) on my LTE ...
-2
votes
1answer
170 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 ...
1
vote
1answer
821 views

SSL problem “SSL_ERROR_RX_RECORD_TOO_LONG” for Raspbian Stretch?

I have a problem connecting to my https, but not my http. This is the error I receive "SSL_ERROR_RX_RECORD_TOO_LONG". I also tried Listen 443 https from other suggestions. What am I doing wrong? ...
0
votes
2answers
80 views

Give fix bandwidth to all ip address for internet, but exclude local apache server

I have installed chilli, apache2, hostapd in raspberry pi. User can connect hostspot created by hostapd. Captive portal will open asking id password(because of chilli). Once user sign in, user ...
0
votes
2answers
154 views

I secured my raspberrypi, should I also secure apache?

I am pretty sure this may come across as a pretty dumb question but I will ask it anyways. I took some measures to secure my raspberrypi (for example creating a new user and deleting pi, changing the ...
0
votes
3answers
4k views

Variable which can be used between a python and php file

I need 14 variables globally whose value can be manipulated by both php and python program. The python program just wants to read the value of the variable. The PHP program should write the value of ...
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
2k 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 ...
1
vote
0answers
248 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 ...
0
votes
2answers
415 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
vote
1answer
512 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 ...