A web server is a program that responds to network requests over the HTTP or HTTPS protocol.

learn more… | top users | synonyms

3
votes
2answers
775 views

Disadvantages to having www-data able to log in

I run a tiny web server basically just for hosting small data projects and files. This server has a public IP address. I would like to be able to FTP in and upload files directly to /var/www/*, and ...
6
votes
1answer
222 views

Does fail2ban offer any additional protection to SSH if password login is already turned off?

I’m setting up a Debian VPS on Linode to use as a public web server, and I’m following their security suggestions. The last suggestion they make is to install fail2ban, to avoid dictionary attacks on ...
1
vote
1answer
202 views

HAProxy should not forward an incoming request to down instance

In my scenario, I have 2 servers, both are communicating with HAProxy. When a request comes in, HAProxy splits the request and sends it to both servers, following a round robin method. If in any case ...
0
votes
1answer
215 views

Use an existing wampserver from a windows partition on linux mint

I dual boot Windows 7 and Linux Mint 14. I have wampserver installed on Win 7 and have a couple of websites already set up there. Is it possible to use that same installation apache/mysql/php ...
0
votes
0answers
145 views

Creating a Safe Web Server

Web server hosts multiple websites. Multiple users update each website. User home directory /home/user1 /home/user2 Web directory /var/www/site1 /var/www/site2 Each user uses SFTP to upload ...
0
votes
1answer
1k views

Get transmission web interface working with web server

I have my working on default port and I want to be able to use the web interface with an URL like http://my.domain/torrents. I tried adding a location and a proxy conf to Nginx but it fail to work ...
0
votes
0answers
302 views

Problem setting up DVWA in Wheezy 64 bits

I'm trying to get running Damn Vulnerable Web Application in a virtual machine with Wheezy. The easy way if it was 32 bits is install XAMPP and copy the dvwa to htdocs. However I'm using 64 bits and I ...
2
votes
0answers
185 views

How do you write test cases for a web server that uses posix sockets? [closed]

I know how to test it experimentally by running the program, but ideally I would like to test each function I write as I write it. Usually I can't test my functions until I write a whole bunch of ...
2
votes
2answers
943 views

Moving a root directory to a separate partition

I'd like to create a new partition and move the contents of the /var directory to it for the security reason of having /var/www and other subdirectories "mounted" with nosuid, noexec, and nodev ...
4
votes
2answers
1k views

Openstack for home cloud hosting

I am experimenting with a couple of technologies that I soon may have to use at work. So for now, I was thinking about duplicating the environment which I may have to create for my office at home so ...
2
votes
1answer
559 views

redirect web server with no-ip and port forwarding in livebox

I want my Apache web server running on a Livebox (home router appliance running Linux) to be accessible from the Internet (WAN). I installed and configured the application noip2 on my Ubuntu PC. ...
2
votes
1answer
429 views

Specific directory permission for one user using sftp

My web server structure looks like this: /Home/User/Public_Html/Website_one /Website_two /Website_three/Directory_one ...
2
votes
2answers
344 views

Web front-end to find/grep/ack

In my lab, we are trying to build a web that allows the user to enter queries for find, ack, grep on a specific directory. The web would return an HTML with a table of a list of clickable files (click ...
3
votes
3answers
3k views

How to host an intranet website inaccessible outside the LAN?

I am a Linux/Unix noob, so please bear with me. Here is my situation: I have a server (Debian Squeeze) on a LAN. I have installed Nginx web server on it. The server has Internet access to download ...
6
votes
2answers
13k views

Installing Debian without GUI for a web server

I'm unfamiliar with Debian (obviously), so I downloaded the live ISO thinking it might help me out. From the live GUI, I doubled click on the install icon on the desktop and proceeded - it gave me a ...
2
votes
3answers
906 views

Cannot Access Webpage from Outside LAN

I have a CentOS 6.0 web server running httpd, mysql, php, and Joomla 2.5. It has a static, public IP address. I can access the webpage (which is the Joomla management console) by IP address perfectly ...
2
votes
0answers
791 views

Owner & Group setting for OpenCart install on CentOS 6.3

I'm setting up a development server on a HP microserver with CentOS 6.3. I'm relatively new to Linux and have ran into some issues/confusion. I have the server fully setup/updated with yum. It's a ...
1
vote
3answers
9k views

Apache 403 Forbidden on sub folders?

I can view all files in the root directory (/var/www) but as soon as i enter a sub directory (eg /var/www/test) i get a 403 Forbidden error. I'm running Ubuntu 12.04.01. Have tried searching for ...
3
votes
1answer
510 views

How to access my Mageia web server VirtualBox guest from my host system web browser?

I have installed and setup a guest Mageia 2 on VirtualBox which I plan to use as a development web server. My host is Windows 7 (64-bit) and I want to access the web sites from this host web browser. ...
0
votes
1answer
368 views

Can I setup a local webserver using ArchLinux and VirtualBox

I intend to create a local webserver using ArchLinux and VirtualBox for testing purposes. I just wonder if Arch Linux has what it takes to create a fully functional webserver?
3
votes
1answer
416 views

Simplest way to set up multiple subdomains to separate VMs running on single host

Problem: I´m planning to set up several virtualized centos, rhel or ubuntu guest machines on a single centos host server (most likely using KVM). Each guest VM is running an instance of a webapp + ...
3
votes
1answer
4k views

netcat in shell script giving invalid connection

I have a shell script that uses netcat to listen to localhost on port 1111 for web requests. Every time I try accessing localhost:1111/index.html for example I get: invalid connection to [127.0.0.1] ...
4
votes
1answer
1k views

How to configure permissions to allow apache to securely have access to a file in a shared environment?

This is a follow up question from my previous, but I felt it might be more Linux based. http://serverfault.com/questions/414207/how-to-set-linux-permissions-to-allow-apache-to-have-access-to-a-file ...
0
votes
1answer
83 views

CentOs Unable to load pages that are on server

I am having a little difficulty accessing pages that are on my server. Under /var/www/html/ I have an index.html page, and when I try to access it from chrome, it times out. The permissions on html/ ...
1
vote
1answer
2k views

Not able to configure phpmyadmin in Ubuntu 12.04

I tried to configure LAMP on Ubuntu 12.04 following this guide (http://www.howtoforge.com/installing-apache2-with-php5-and-mysql-support-on-ubuntu-12.04-lts-lamp). But when I point to ...
1
vote
1answer
489 views

How to start a webserver with systemd?

I copied this this file (vokabel_daemon.service) [Unit] Description=Start vokabeltrainer daemon After=network.target [Service] ExecStart=/home/mm/lib/vokabeltrainer/box_vokabeltrainer.pl daemon ...
2
votes
1answer
493 views

Run an application under Tomcat

I have an application that needs to run under Tomcat. I have installed Tomcat but I don't know where can I put the directory of the project.
3
votes
2answers
401 views

Trying to create tunnel to mysql through SSH

Im in a bit of a bind here. I have a client that want's me to set up his website, but he runs the server w/ SSH and CentOS 6.2 as it's OS. Now, I'm trying to add the sql server on Mysql Workbench for ...
4
votes
3answers
1k views

How can I secure an OpenBSD-based Apache webserver?

I have an OpenBSD server that has a running webserver (the built-in apache web srv). How can I harden this setup? I want to only server static html files, no php, no sql.
0
votes
0answers
325 views

Linux webserver reboot issue

I've webserver, it works fine when there is no load into it. when I've load onto it and try to restart httpd server gets reboot itself or sometimes it automatically get reboot It is Xen HVM with OS ...
3
votes
1answer
3k views

Webserver for Embedded Linux [closed]

I am building an ARM based embedded device running embedded linux having a web based interface and I need a webserver running on my device. At maximum it will get 50 requests at a time. I have on ...
4
votes
4answers
758 views

Help me choose the right distribution for learning and hosting web apps

I'm coming to Linux from the Windows world, and I want to learns the ins and outs of the system in order to make it my primary day to day work and hosting environment. I'm pretty much a complete ...
2
votes
1answer
397 views

“error: no such device” at boot in Ubuntu Server 11.10 with Raid1

I have a configuration of 4 HDD's as Raid1 2 pairs of 2 HDD's. First Raid1 pair is for system, so I just made an 40GB space for swap, and the rest of it for the root, the second pair of Raid1 is for ...
1
vote
1answer
395 views

Backup from remote server

I'm a novice so go easy. :) If it makes a difference I'm using Ubuntu/Debian machines. I want to back up our dedicated web server to a local location in-house. This is for many reasons - I know that ...
4
votes
2answers
10k views

What can I use to monitor and log incoming/outgoing traffic to/from remote hosts?

I run a web server (Debian Squeeze on a VPS), and the graphs provided by the hosting company show consistently that around twice as much traffic is incoming to the server compared to the outgoing ...
1
vote
3answers
413 views

Is there a way to find out which webpages are being accessed by clients on a UNIX webserver?

My web server is running CentOS and every time a certain page is accessed on my forum, httpd locks up and I can never seem to pinpoint the exact file. Is there any way to view the pages that ...
2
votes
3answers
692 views

Linux program running on Ubuntu machine but not on Unix webserver

I've downloaded the command-line program "Whitaker's Words" which was available for Linux as well as Windows etc. There is a main program named words. I tried to execute it on my Ubuntu (11.10) ...
1
vote
2answers
4k views

Partitioning for Web Servers

I was curious what some general best practices are in relation to partitioning for a new Linux VM that will be used as a web server? Are there certain guides that should be consulted or followed? ...
4
votes
3answers
9k views

How do I fix the error 403 I am getting with XAMPP while I am using mod_userdir?

I am running Arch Linux and I decided to use XAMPP so I can create and test web pages. Anyway, I followed the instructions given in the site and extracted it to /opt/lampp and I also uncommented the ...
1
vote
3answers
553 views

Problem with bash script executed from website

I have just begun writing scripts in bash and I am putting some of them on my web server (whihc is located on my virtual Debian 6.0.4 machine). I have installed lighttpd on this machine.and when I ...
5
votes
4answers
7k views

How do I create web pages in my home directory and have the web server serve them in my web browser?

I have recently installed the Apache web browser in my Debian Squeeze (using command tasksel and selecting [ ] Web server). Now I get it to start via sudo /etc/init.d/apache2 start and then I go to my ...
1
vote
2answers
514 views

How to “get” a HTTPS website running?

I have a website serving several pages that can be reachable via HTTP. How can I make these sites available via standard HTTPS? (not self-signed). What are the steps? (go to a CA, and then?) Can ...
3
votes
1answer
138 views

Give permission to view files

I am new with servers and I started learning about Cloud servers. My server has Debian. I installed apache, php, and vsftpd and I added users with adduser <user>. Then I gave permission: ln ...
2
votes
4answers
631 views

Creating a public document directory for a normal user

We usually see personal web pages like http://a-site.com/~someone/, in this case, "someone" is a user of "a-site". How to enable this by default, so whenever we add a new user "foo", then ...
13
votes
1answer
15k views

How can I start the python SimpleHTTPServer on port 80?

I am using this command on Ubuntu but it is starting on port 8080 and I don't have another server running so I'd like it to start on port 80. I saw ways that you could set up a bash script to do ...
3
votes
2answers
663 views

Installing php-cgi under Ubuntu for Cherokee web server

I have set up Cherokee web server on my server, and want to enable PHP and MySQL support for applications like Wordpress and phpBB. I have tried running these commands: sudo apt-get install php5 ...
2
votes
1answer
351 views

How can I monitor the load of a php script on a server?

We've got a website on our dedicated server which seems to be causing problems. Recently it has been crashing our dedicated server - it's very annoying. It will crash at random times. The tech ...
1
vote
2answers
503 views

Where does my web server serve files from?

I want to put files on my Arch Linux file server so that others can download them via HTTP. Where under /var should they be placed?
3
votes
3answers
4k views

How to configure permissions to allow gedit, apache, and an IDE play together?

I'm using plain Ubuntu Desktop 11.04 and installed my lamp stack using lamp-server. I am trying to use Netbeans as my IDE. Currently, all virtual hosts are being run from /var/www/vhostname -- but as ...
2
votes
1answer
121 views

Permission Advice for Webserver

The Linux box I'm managing is used mainly as a web server. The owner of a site wants to give a new user access to the site so that they can do some work on it. I've created the user account (vinod) ...