Questions tagged [apache-httpd]

For questions pertaining to the Apache web server.

Filter by
Sorted by
Tagged with
2
votes
1answer
1k 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
10k 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
8k 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
5k 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
2k 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
4answers
928 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
2answers
5k 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
1answer
718 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 ...
1
vote
2answers
201 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
45 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
2k 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
1answer
15k 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
2k 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
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 ...
-2
votes
2answers
478 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
2k 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
751 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
2k 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 ...
1
vote
1answer
208 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 ...
0
votes
1answer
2k 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
6k 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 ...
1
vote
1answer
2k 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 ...
4
votes
2answers
18k 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
1k views

How to display database in plain HTML or PHP from Python [closed]

How do I just display what's in my database in plain HTML or PHP without any GUI interface or layout, just plain database display? Is it possible? This is my Python code: import sqlite3 import RPi....
0
votes
1answer
4k 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 ...
3
votes
2answers
1k 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 ...
1
vote
1answer
876 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 ...
0
votes
1answer
70 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
835 views

Apache2 Server not allowing computers on local network access

I just set up my first server, and I'm having some trouble getting it to work. I'm currently using shared connection between my desktop and raspberry pi, so I can communicate via SSH. However, if I ...
0
votes
1answer
877 views

Apache2 on Raspberry Pi: 403 Forbidden after changing web root/chown not working

So I'm pretty new to servers; I've been running websites off of 3rd party hosts, but I thought I might like to try it on my own for once. I got a Raspberry Pi running Raspian Wheezy, and I ...
0
votes
1answer
7k 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" > /sys/class/gpio/gpio17/...
16
votes
2answers
42k 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
2answers
3k views

Apache2 webserver running python script

I ned to be able to access the RPi's GPIO pins, and to do that, my python script needs to be able to access /dev/mem. I can post code if you need it, but i'm really just looking for suggestions on ...
1
vote
1answer
206 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
2k 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 ...
2
votes
3answers
3k 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 ...
2
votes
1answer
2k 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) ...
1
vote
1answer
4k views

Can't install apache

I can't download apache2 and php5: sudo apt-get install apache2 php5 libapache2-mod-php5 Gives me the error "Failed to fetch [URL] 404 Not Found". The raspberry is connected via ethernet to my ...
0
votes
1answer
50 views

Development Outfit for work on Pi

We have been carrying out an internal project on Pi that has proved very useful. We now want to take it to the next level and 'professionalise' it by hiring a developer(s) to standardise the ...
4
votes
3answers
5k views

Internet always cuts out

I'm using my Raspberry Pi to set up a simple Apache Web Server using these instructions. The problem I am having is that the Web Server will come up for a little while but then seem to just stop ...
3
votes
1answer
2k views

Security issues in PHP executing PYTHON scrips

So I've got a PHP script thats capable of executing Python commands (to control GPIO), thanks to the users of StackExchange. My previous question here. Now I'm able to control the GPIO pins from a ...
1
vote
2answers
6k views

Create a Raspberry Pi webserver with a domain name

I just set up my Apache web-server (following a tutorial from Jeremy Morgan), and since I have a domain name (pillower.com) registered with GoDaddy, I was wondering how I could link them. Would ...
1
vote
1answer
362 views

Access to webpage from other computer giving error

I installed apache2 following some tutorial, but I got stuck and am not sure if the server has been installed correctly. I want to access my shell outside the network. I think I port forwarded and ...
2
votes
1answer
5k views

Citadel server along Apache server behind a router

I have an Apache server running on my Raspberry Pi. The Pi is behind a router, having local IP address 192.192.192.192. I use the Virtual Server feature of the router to allow traffic through ports 80,...
4
votes
1answer
9k views

Apache2 subtext can't acces 000-default

I have been using Apache2 and webmin with my Raspberry Pi. After a restart and reinstallations Apache won't start. > sudo /etc/init.d/apache2 restart apache2: Syntax error on line 268 of /etc/...
3
votes
0answers
2k views

Why is there no 'www-data' group by default? [closed]

I just tried to install (and then start) Apache2 HTTPD, but was greeted with the error: apache2: bad group name 'www-data' I quickly checked my /etc/group, and there is no www-data group. I always ...