Web Server

All threads related to any flava of Linux or BSD.

Web Server

Postby Thor » Sun Jun 22, 2008 4:57 am

Does anyone have any recommendations for a small/lightweight web server that will run on a Gentoo box. My requirements are to be lightweight and quickly configurable for this. Also it needs to hold 1-2 small web pages with support for light traffic email. Please post why you think it is good if you have experience working with a particular one. Thank You
Quidquid latine dictum sit, altum sonatur.
- Whatever is said in Latin sounds profound.

Omnis Vestri Substructio Es Servus Ad Nobis.
- All Your Base Are Belong To Us
User avatar
Thor
htd0rg lieutenant
 
Posts: 405
Joined: Tue Dec 18, 2007 9:39 am
Location: Location Location

Re: Web Server

Postby Aiden » Sun Jun 22, 2008 5:24 am

Apache/2 works great.
"When it takes forever to learn all the rules, no time is left for breaking them."
User avatar
Aiden
Administrator
 
Posts: 1079
Joined: Tue Oct 31, 2006 11:11 pm
Location: /usr/bin/perl

Re: Web Server

Postby Thor » Sun Jun 22, 2008 6:18 am

Yes it does. I have it running right now on something. I guess apache has been doing fine. Just wandering if there were any other ones ppl had experience with. I'll probably stick with apache though. It seems to stay stable and has modules galor.
Quidquid latine dictum sit, altum sonatur.
- Whatever is said in Latin sounds profound.

Omnis Vestri Substructio Es Servus Ad Nobis.
- All Your Base Are Belong To Us
User avatar
Thor
htd0rg lieutenant
 
Posts: 405
Joined: Tue Dec 18, 2007 9:39 am
Location: Location Location

Re: Web Server

Postby pozican » Tue Jun 24, 2008 12:34 am

apache is what you want for a webserver.

qmail will be your first choice for email.

Personally, I send very little email (just for little scripts and such) so I set up sendmail.

-poz
Get some exercise -- Support bad porn
Life for President, Ramius for vice, GhostHawk for Secretary of Beer
i <3 2 sqrt(u)
User avatar
pozican
Oh lawd is dat sum chikinz
 
Posts: 1617
Joined: Tue May 18, 2004 1:29 pm
Location: #hackerthreads

Re: Web Server

Postby Thor » Wed Jun 25, 2008 10:42 pm

I agree. I did find an abundance of small of really tiny web servers through portage but couldn't pull the trigger on going with something else other than apache. Apache is where it's at, although I haven't finished setting it up on my other Gentoo system I'm running into some strange problems. When I type in http://localhost it brings me to a page that says "It works!" and not the Apache welcome page or the /index page. I haven't set this up on Linux before. Any reason why? Or is that how it is and I haven't put in enough modules yet?
Quidquid latine dictum sit, altum sonatur.
- Whatever is said in Latin sounds profound.

Omnis Vestri Substructio Es Servus Ad Nobis.
- All Your Base Are Belong To Us
User avatar
Thor
htd0rg lieutenant
 
Posts: 405
Joined: Tue Dec 18, 2007 9:39 am
Location: Location Location

Re: Web Server

Postby Aiden » Thu Jun 26, 2008 4:53 am

Thor wrote:I agree. I did find an abundance of small of really tiny web servers through portage but couldn't pull the trigger on going with something else other than apache. Apache is where it's at, although I haven't finished setting it up on my other Gentoo system I'm running into some strange problems. When I type in http://localhost it brings me to a page that says "It works!" and not the Apache welcome page or the /index page. I haven't set this up on Linux before. Any reason why? Or is that how it is and I haven't put in enough modules yet?

I haven't set up apache in a while and don't have it set up now, but iirc there's a default folder it looks in. Look in /var/www/ for a folder like apache-default/ or something similar. That's where the "It works!" page is.

There's settings somewhere in your apache config to set the default path for root, change it from apache-default/ to /.. I think this is how it was, someone correct me if I'm wrong :P
"When it takes forever to learn all the rules, no time is left for breaking them."
User avatar
Aiden
Administrator
 
Posts: 1079
Joined: Tue Oct 31, 2006 11:11 pm
Location: /usr/bin/perl

Re: Web Server

Postby Thor » Tue Jul 01, 2008 3:58 pm

Yeah I guess you put whatever you want in /var/www/localhost/htdocs and whatever is in that will show up when you http://localhost to it...Or redirect to it. I'm rusty on server setup still ironing out all the details here. Don't be surprised if I have more detailed server related questions.
Quidquid latine dictum sit, altum sonatur.
- Whatever is said in Latin sounds profound.

Omnis Vestri Substructio Es Servus Ad Nobis.
- All Your Base Are Belong To Us
User avatar
Thor
htd0rg lieutenant
 
Posts: 405
Joined: Tue Dec 18, 2007 9:39 am
Location: Location Location

Re: Web Server

Postby B-Con » Mon Jul 14, 2008 3:29 am

lighthttpd? Designed for those who want features without the need for the bulk of Apache. It still handles loads really well, Reddit uses (or used to use, haven't checked in a while) it.
- "Cryptographically secure linear feedback shift register based stream ciphers" -- a phrase that'll get any party started.

- Why know the ordinary when you can understand the extraordinary?
User avatar
B-Con
Challenge Winner [1x]
 
Posts: 2679
Joined: Thu Apr 22, 2004 4:19 pm
Location: UC Davis

Re: Web Server

Postby Thor » Mon Jul 14, 2008 11:16 pm

I guess it's been my theory that going with a smaller/lesser known server would of course save space, but be less susceptible to the bulk of exploits out there. I believe I saw lighthttpd in portage, I may check it out. All I was really going to use it for was like maybe a page or two and couple of small media like things.Thanks.
Quidquid latine dictum sit, altum sonatur.
- Whatever is said in Latin sounds profound.

Omnis Vestri Substructio Es Servus Ad Nobis.
- All Your Base Are Belong To Us
User avatar
Thor
htd0rg lieutenant
 
Posts: 405
Joined: Tue Dec 18, 2007 9:39 am
Location: Location Location

Re: Web Server

Postby B-Con » Tue Jul 15, 2008 12:31 pm

If you literally just want to serve a couple static pages, you could even try wbox: http://www.hping.org/wbox/ , it'll do just that. Not sure what you mean by multimedia, but wbox won't do anything fancy. It's designed to just be there for testing. I just keep it around as a way to set up a server to transfer files to someone else if I don't want to bother with a flash drive.
- "Cryptographically secure linear feedback shift register based stream ciphers" -- a phrase that'll get any party started.

- Why know the ordinary when you can understand the extraordinary?
User avatar
B-Con
Challenge Winner [1x]
 
Posts: 2679
Joined: Thu Apr 22, 2004 4:19 pm
Location: UC Davis

Re: Web Server

Postby Thor » Wed Jul 16, 2008 2:24 pm

B-Con wrote:If you literally just want to serve a couple static pages, you could even try wbox: http://www.hping.org/wbox/ , it'll do just that. Not sure what you mean by multimedia, but wbox won't do anything fancy. It's designed to just be there for testing. I just keep it around as a way to set up a server to transfer files to someone else if I don't want to bother with a flash drive.



Haven't got a chance to get home and DL that yet but it looks like it would be perfect for what I need after reading through the page.
Quidquid latine dictum sit, altum sonatur.
- Whatever is said in Latin sounds profound.

Omnis Vestri Substructio Es Servus Ad Nobis.
- All Your Base Are Belong To Us
User avatar
Thor
htd0rg lieutenant
 
Posts: 405
Joined: Tue Dec 18, 2007 9:39 am
Location: Location Location


Return to *Nix

Who is online

Users browsing this forum: No registered users and 1 guest