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

learn more… | top users | synonyms

2
votes
1answer
3k 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
74 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
421 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
361 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
371 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
976 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
315 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
2k 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
727 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
373 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
352 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
8k 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
374 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
644 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? ...
3
votes
3answers
7k 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
490 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
6k 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
460 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
135 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
552 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 ...
10
votes
1answer
10k 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
620 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
329 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
466 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
3k 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) ...
0
votes
1answer
665 views

Can't connect remotely to server running redhat (ec2)

I created a RedHat 6.1 VM with EC2. Logged in as root, I installed (unzipped) JDK1.7 in /root/bin/jdk1.7.0 and installed (unzipped) GlassFish 3.1.1 in /root/bin/glassfish3. I set JAVA_HOME and ...
1
vote
1answer
153 views

How to “set” this home network mesh up

I don't know much about networking security other than keeping unused ports closed is good. This is what I'm trying to accomplish: I need to be able to keep my server (the dotted line) with limited ...
1
vote
3answers
321 views

Run a simple http server locally on a non-80 port

I have access to a Linux server with a non-root user. What I need is to run a simple, HTTP server that will not listen to port 80, but to a different port. I'm looking for the most easiest and ...
3
votes
1answer
404 views

Getting started with Slackware as a web server

I'm wondering what would be the path for an Arch user to get into slackware hosted on a VPS intended to use as a web server? I like the approach that Slackware takes (like Arch), and the fact that so ...
2
votes
1answer
256 views

Fedora 15 doesn't automatically launch the browser when server starts up?

When I start up the ring jetty server, Fedora 15 doesn't launch the browser as it does in Fedora 14. Instead, it launches a new window in which I couldn't see the address bar and other stuff. ...
0
votes
2answers
232 views

Linux (Debian) web server advice

I'm at the start of a new company in which the main activity is building internet web apps. I was very familiar with linux 8-9 years ago, but since then, I've lost a lot of touch with it (couldn't ...
2
votes
1answer
311 views

How to add another domain to my chrooted named server

Firstly I successfully have a domain working in a chroot named. There are files in /var/named/chroot/var/named called mydomain.com.db and named.local and named.root. Also in /var/named/chroot/etc ...
0
votes
1answer
45 views

Configure webserver for compression

Based on this page: http://code.google.com/speed/page-speed/docs/payload.html#GzipCompression I need to enable compression on my website, but I have no idea how to do this. If this is the right ...
9
votes
1answer
4k views

Why is lighttpd saying “unknown config-key: accesslog.filename”?

I have created a simply vhost on Lighttpd web server and put these lines on the .conf file. server.errorlog = "/var/log/lighttpd/error.log" accesslog.filename = ...
1
vote
3answers
532 views

Which is better for product level web server: RHEL/Ubuntu Server/Debian/CentOS

We are planning to setup a linux based web hosting solution, which should include an HTTP server, SMTP server, mongoDB and Java. We want to understand which distribution is better for this purpose. ...
7
votes
2answers
2k views

Ubuntu vs Debian for server

What would be a better choice for a web server, Debian or Ubuntu? I mainly use Python & PostgreSQL with Nginx and sometimes PHP & MySQL. What are pros/cons of each?
3
votes
1answer
477 views

How to access web server running on Palm Pre from another machine?

I have a Palm Pre, and I've installed my webserver on it, it listens on port 8080. It works, when I open 192.168.1.104:8080 on the Pre's browser (that's the IP address of the device, I've failed with ...
1
vote
1answer
986 views

how do I configure stunnel to serve https

I'm wondering if anyone has configured https using stunnel without using apache or any web server. I will be using this to replace our hudson build system which currently is running via apache https ...
2
votes
2answers
997 views

How can I make a process I start during an SSH session run after the session has ended? [duplicate]

Possible Duplicate: Keep SSH Sessions running after disconnection. I have a process which is basically a web-server, I start it during an SSH session. However, when I leave the session (by ...
1
vote
1answer
485 views

svn and webserver files ownerships

I've an issue with files ownerships. I have a drupal website and the "files" folder needs to be owned by "www-data" in order to let the users to upload files with php. However I'm now using svn and ...
2
votes
3answers
146 views

Linux advice for datalogging machine

I've been asked whats the cheapest/easiest/most reliable way to use Linux as a webserver/mysql DB machine. Is it going to be buying a really old PC and putting Linux on it or what i'd rather do is get ...
4
votes
1answer
529 views

Quick way to host a webserver on localhost

I'd like to make the contents of a folder available at http://localhost:PORT/, temporarily. A very basic http server. I already know about, $ python -m SimpleHttpServer or ( this seems like the ...