These questions relate to using the Pi as a web server, including installation and configuration.

learn more… | top users | synonyms

2
votes
1answer
28 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
27 views

Can I create a web hosting for my website on raspberry pi and let it run 24/7 [on hold]

I had seen a post in which it was taught how to create your own hosting/server on your computer (but the problem is... You got to keep it running all the time.. It shuts down and the website is down). ...
0
votes
0answers
17 views

Having a web interface to interact with a running python script

I have a python script on my RPi2, that basically refresh a big array of LEDs. It basically refresh it based on some information that the RPi knows (like temperature, current hour, ...). Now, I ...
1
vote
2answers
45 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 ...
2
votes
0answers
17 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/" ...
0
votes
0answers
19 views

Nginx Default Sever Config

By mistake I deleted the default sever configuration in /etc/nginx/sites-enabled/default and now the sever will not start. can someone please tell me what it is so fix it? thanks
0
votes
0answers
20 views

Can't access Pi websocket server from client

I have all of my code on github, so I can edit my code on the fly, and simply do a git pull from the Pi and have my code updated. Right now, I'm trying to make a websocket between my Pi server and my ...
1
vote
0answers
19 views

Owncloud Not Accessible by Ip on Local Network

Okay, its so late its early now, so Stack Exchange is my only hope for solving this. I followed the instructions listed on this blog post at pimylifeup.com to create an Owncloud webserver for myself. ...
0
votes
4answers
68 views

Set up RPi2 as a local website for I/O control

I am making a drink making robot. I was going to set the RPi as a webpage that can only be accessed when on my local Wifi network. Then on the page you would select what drink you want and when the ...
0
votes
0answers
34 views

cannot access raspberry pi web server through browser

I have a simple web.py server running on my raspberry pi however when i try to use the browser on my laptop to navigate to the pi's ip address it just says this webpage is not available. I can ssh ...
1
vote
1answer
57 views

Mysterious filesystem issues setting up web server

After installing Raspbian on an a 16 GB SSD card and booting up it with the Raspberry Pi I tried to run this guide: http://www.wikihow.com/Make-a-Raspberry-Pi-Web-Server while installing Hexxeh's RPI ...
1
vote
0answers
26 views

Nginx “Out Of memory: Kill process”

I've been hitting a number off issues with a personal site I've been trying to run off of a raspberry pi 2. The error logs in nginx have the follow error repeated several times: [alert] 13551#0: ...
1
vote
1answer
42 views

How to update the tomcat-verstion 7.0.28 to 7.0.67?

i´ve installed a tomcat7 via apt-get install. The current versions 7.0.28 makes some trouble with my servlet, so google says i have to update at least to version 7.0.65 - but i can not find any guide ...
4
votes
1answer
132 views

PWM control of motors with PHP front end

I have a dual H bridge connected to my Pi for controlling 2 brushed DC motors with. I intend to have a web interface to control the speed of the motors. I'm thinking of a HTML page submitting AJAX ...
1
vote
0answers
19 views

Response timeout for webserver from public IP - Raspbian

I'm at a loss on this one. I am trying to forward traffic to my pi located beneath two routers. My network is structured like this: Public IP 56.xx.xx.xx router 1 (LAN Range ...
0
votes
2answers
53 views

OpenVPN setup issues

I have been following the guide here: http://www.bbc.co.uk/news/technology-33548728 To set up an openvpn server on my pi. I have followed all the steps but when it comes to connecting, it is not ...
0
votes
1answer
63 views

Image not found web.py server [closed]

Hi im new to the raspberry pi and i am hosting a simple webpage on the pi model A using web.py. Its all working fine but i cannot get an image to show up. Everytime i go to the website i get this ...
1
vote
0answers
123 views

sudo apt-get update continually errors, despite reboots

I'm trying to host an apache2 server on my RasPi, but I can't seem to even complete the first step of updating all the software. Here's the error message: Err http://archive.raspberrypi.org jessie ...
1
vote
0answers
173 views

Embedding live video stream to a html5 webpage; both camera server and webserver hosted on pi

I have a USB camera connected to my pi. I'm also hosting my personal website on it. How do I create a separate page on my website with authentication and display the live feed from my port 8081 on it? ...
-1
votes
1answer
78 views

Is there a way to set a Raspberry Pi as a mini Server at home? [closed]

I want to use a Raspberry Pi as a server which can be contacted via a domain to display a homepage or something else. Is this possible? EDIT: How is it possible? EDIT2: I got a Raspberry Pi and i ...
0
votes
0answers
26 views

http webserver & Piface

I use http webserver python script: class PiFaceWebHandler(http.server.BaseHTTPRequestHandler): def do_GET(self): [....] if __name__ == "__main__": # get the port if len(sys.argv) ...
0
votes
1answer
57 views

Java Servlets and Raspberry Pi IO

I'm Luca from Rome,IT and I'm new here!ùI'm a Java/C/C++ programmer (not a pro, I'm a former engineer and I've been learning programming for a bit now..). I'm trying to learn how to write simple ...
1
vote
1answer
134 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
2answers
36 views

Using the Raspberry Pi as Webserver and btsync

My Raspberry Pi has an internal IP address of say 192.168.1.5 and I'm running a webserver on this IP address. If I navigate from my Macbook to this address I'm met with my current website. I'd like to ...
2
votes
2answers
51 views

http://ip doesn't work, while https://ip does. What do?

The title says it all, pretty much. I've got a basic LAMP set up on my Pi. My website works flawlessly when I use https:// + ip address. When I just go to it normally (http:// + ip address) it ...
0
votes
1answer
85 views

Database/Webserver Alternatives

I have a Rasp pi project currently in the works for a college class... Everything is going great, but I really don't feel like my Pi (2B) will be able to handle being.. 1.) Appache Web Server (CSS / ...
0
votes
0answers
97 views

Running wireless access server where the server is node.js

I have created web server on raspberry pi using Node.js. I can access that server on my local network using ethernet cabel, but I would like to make nodejs server of wireless access point. I have ...
0
votes
1answer
223 views

Using RPi.GPIO in Django app

How can RPi.GPIO be used in a Django app without running the app with root privileges i.e. sudo python manage.py runserver
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 ...
-1
votes
2answers
82 views

How to upload program from web server to Raspberry Pi?

I have a web server and 5 Raspberry Pi's connected to it via LAN. Each Pi will be wired to control two servo motors. Here are the conditions: The web server hosts a web page where the user will be ...
0
votes
1answer
55 views

configure setup to install apache, php, and then copy in /var/www/

Is there a way to cause noobs to install apache and php during setup, or perhaps leave a script which will do that upon first boot? And then copy info into /var/www? Basically what I want is a way ...
1
vote
2answers
154 views

Pure Python vs. Django for Web Services? [closed]

I want to create some web services for my RaspberryPi. My question is: Does the performance drop when I use a Python framework like Django instead of a pure Python web service?
1
vote
1answer
69 views

Setting up a WebServer on the Raspberry PI - Suggestions on approach [closed]

This is what I am trying to accomplish: I am doing imaging diagnostics outdoors using a RPI 2 and a DSLR camera (to which the Pi connects and controls via gphoto2). I have a bunch of python scripts ...
1
vote
1answer
55 views

How to use a RPI to do port forwarding?

I have a bunch of RPI's running as web-servers at home. I can connect to one of my RPI's(RPI-1) via VPN and it can see the other RPI's on the LAN. From my VPN connection I can see the website hosted ...
0
votes
1answer
171 views

What are limitation for making a Web Server with RPI 2? [closed]

I haven't used raspberry pi ever. I have ordered one and that's on way now. I was wondering if I use it as web server. Can I use centos on that? Are there any sort of limitations compared to ...
0
votes
1answer
104 views

Which one is faster? A NAS device or a web server on RasPi B+ [closed]

I'm currently making a project with Raspberry Pi B+. I want to create a solution through which we can access files from a external HDD from anywhere (over the Internet). After googling, I found 2 ...
2
votes
3answers
8k views

Windows 10 IoT on RPi2 as a small HTTP / REST Web API Server

Currently Windows 10 Core for IoT is in Preview, and there is available to use Visual Studio 2015 RC with new Windows Universal project and develop some apps. However, I am interested in making my ...
1
vote
0answers
63 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 ...
0
votes
1answer
237 views

How to install cakephp on Raspberry Pi? [closed]

I tried to install cakephp on Raspberry Pi but failed to do so. I don't know how to configure LAMP on Rpi. Has anyone successfully done so? I have developed a cakephp app on Windows running on WAMP ...
0
votes
1answer
113 views

Python as web server cgi and request response cycle

I am new to python and I am trying to design a mobile app with a web server on a raspberry pi. I decided to write the server code using python because I want to control some pins and write on the ...
0
votes
1answer
50 views

Multiple Raspberrys for different services

I'm currently running a Raspberry Pi 2 which hosts a mailserver environment (postfix, dovecot) a webserver (apache2, owncloud, roundcube) a VPN service (openVPN) and a backup service (rsnapshot). ...
1
vote
2answers
312 views

Terminal command will not execute after boot

I have a raspberry pi which I want to turn into a web server. I have installed everything needed. Now my problem: I am using ngrok to get the server online. To do this all I have to do is running the ...
1
vote
2answers
151 views

Android can't find Raspberry Pi with Samba/ Zeroconf Avahi

I have a website hosted on Raspberry pi that needs to be accessed only on the local network. I have installed Samba and ZeroConf Avahi so that I can find the site by calling: http://raspberrypi/ On ...
0
votes
1answer
75 views

How do we connect many microcontrollers together? [closed]

My group project consists of several parts. We are building a hexapod robot that detects landmines and we program live streaming on it. For the live streaming the Raspberry Pi is used and for the ...
0
votes
1answer
165 views

Unable to access internal website from internet

I am running on my raspberry (Debian wheezy) the services DHCP, Apache2, MySQL and Bind9. All work fine within the internal network. However, when I try to access the website from internet, it can't ...
1
vote
1answer
67 views

Users and permissions on a Raspi which is both a home and an owncloud server [closed]

I'm a long time Linux desktop user but a total newbie in servers and security. Now I want to set up a Raspi (running Raspbian) to act as a CUPS print server, an NFS file server and backup storage, an ...
0
votes
1answer
132 views

Raspberry pi web server use cases

I wonder what are the usecases of having a web server on a Raspberry Pi, because i believe this type of web server can be used without the internet. if you know some usecases can you share your ...
0
votes
1answer
33 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

Raspberry Pi Apache Server .htaccess

I am running an Apache server on my Raspberry Pi with PHP, and I want to create a .htaccess file to redirect 404 errors and remove .html extensions on URLs. I have tried simply running 'sudo nano ...
0
votes
2answers
397 views

Automatically restart Tomcat on system reboots

Trying to configure Tomcat for automatically start after boot or reboot my rpi, I follow these steps: The script /etc/init.d/tomcat8 rights: sudo chmod 755 /etc/init.d/tomcat8 ls -la ...