You are not logged in.

#1 2008-02-13 12:58:58

niller
Member
From: Denmark
Registered: 2008-02-12
Posts: 91

Lightweight webserver for local testing only ?

Hi all

I use eclipse for web development and want to view my pages for local testing before uploading til www.

Are there any http servers available for this purpose only ? I've looked at the LAMP article in the wiki and I've tried XAMPP before, but it seems somewhat bloated if the only purpose is to see if my php-pages are correctly displayed :-/

And then there is the security issues!

Anyone have good experiences ?

I want to use:
- php
- MySql
- phpmyadmin

The best solution would be if eclipse has this setup built-in, but I can't seem to find a proper solution :-/


/Niels
Registered Linux user #133791
Get counted at http://counter.li.org

Offline

#2 2008-02-13 13:01:54

zyghom
Member
From: Poland/currently Africa
Registered: 2006-05-11
Posts: 432
Website

Re: Lightweight webserver for local testing only ?

what about this: nginx ?

Description    : lightweight HTTP server and IMAP/POP3 proxy server


Zygfryd Homonto

Offline

#3 2008-02-13 13:19:06

chicha
Member
From: France
Registered: 2007-04-20
Posts: 271

Re: Lightweight webserver for local testing only ?

http://archlinux.org/packages/search/?q=lighttpd

Lighttpd is very light and very simple to install and configure.
I use it for all my web devs and I highly recommand it smile

Offline

#4 2008-02-14 07:07:43

Aaron
Member
From: PA, USA
Registered: 2007-12-19
Posts: 108
Website

Re: Lightweight webserver for local testing only ?

Well going on what I personally know works, I recommend apache.

But I've heard nothing but great things about lighttpd, and would definitely recommend looking into it as it's a much lighter solution.

As far as security goes, you should be fine if you take the proper precautions.  And if you're only using it for local tests, you can use the hosts.allow and hosts.deny files in conjunction with apache/lighttpd configs and iptables to make sure only your local intranet can access the webserver.

Offline

#5 2008-02-14 07:20:29

cry0x
Member
Registered: 2007-04-11
Posts: 91

Re: Lightweight webserver for local testing only ?

chicha wrote:

http://archlinux.org/packages/search/?q=lighttpd

Lighttpd is very light and very simple to install and configure.
I use it for all my web devs and I highly recommand it smile

+1


Who is this doin' this synthetic type of alpha beta psychedelic funkin'?

Offline

#6 2008-02-14 09:02:45

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: Lightweight webserver for local testing only ?

Are there any tutorials for setting up lighttpd you guys would recommend? Could I use it for, say, setting up a forum and testing it out?

Last edited by Ashren (2008-02-14 09:03:07)

Offline

#7 2008-02-14 09:21:02

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Lightweight webserver for local testing only ?

You just pacman -S lighttpd, edit /etc/lighttpd/lighttpd.conf, enable fcgi module for php, put something in your www root and you're good to go.

Offline

#8 2008-02-14 13:05:36

Preacher
Member
From: UK
Registered: 2006-09-26
Posts: 46

Re: Lightweight webserver for local testing only ?

The best one that I have come across, easy to use, be it Win or Linux is XAMPP.

http://www.apachefriends.org/en/xampp.html

Very simple to install and use, plus relatively easy to configure.

I saw it in the AUR, but not sure how up-to-date that package was!

Hope that helps


To be a preacher requires two apparently contradictory qualities: confidence and humility.

Offline

#9 2008-02-15 10:25:00

niller
Member
From: Denmark
Registered: 2008-02-12
Posts: 91

Re: Lightweight webserver for local testing only ?

Thanks for input guys smile

I'll think I'll go with lighttpd !

Cheers,


/Niels
Registered Linux user #133791
Get counted at http://counter.li.org

Offline

#10 2008-02-15 12:22:52

RedShift
Member
From: Belgium
Registered: 2004-07-16
Posts: 230

Re: Lightweight webserver for local testing only ?

Why not just use apache's httpd? It's one of the best webservers and archlinux even ships it with a config that works out of the box.


:?

Offline

Board footer

Powered by FluxBB