From: Kaya Saman on
Just in response to the "there are other better web servers then Apache"
comment!

What are they??

I mean I always use Apache although I do know of light_http and I have
tested the Sun Java Web Server once which I felt was pretty awsome but
don't know if supports virtual hosting or can be used for commercial web
serving either which is something I would really like to investigate!

I guess it's similar to ISC's Bind. There are many other DNS servers out
there all with different strengths and weaknesses but the difference
between the most popular amongst the general folk and what's better for
large scale enterprise clustered environments.

Regards,

Kaya

Matthew Seaman wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 06/06/2010 15:20:10, Kaya Saman wrote:
>
>> I don't know.... it is fun; lot's of fun when have the time but if
>> configuring for business grade production then I just feel that there
>> should be slightly more help in the files with templates and examples
>> etc.... - highly debatable of course and apologies if I sound like I'm
>> whining I honestly really enjoyed myself doing all this and what made it
>> more fun is that the systems that I did the work on are geographically
>> separated from myself which just shows the power of UNIX and SSH over MS
>> Win and RDP which to me is only for Sun Ray's and nothing more :-) .
>>
>
> Doug already made some general comments, but on the particular subject
> of Apache configuration, you're right. Ported web applications
> generally do not install sample Apache configuration files.
>
> There are three aspects to this:
>
> * FreeBSD ports of daemons, etc. are usually installed in a disabled
> configuration. The sysadmin needs to take extra steps to turn
> everything on. While this may seem like forcing users to jump
> through pointless hoops to some, to many others this is a
> lifesaving security enhancement and foot-shooting avoidance
> measure.
>
> * We don't necessarily want to assume that you are using Apache as
> your webserver. Apache is great, but there are alternative HTTP
> servers in the ports which can leave it in the dust in terms of
> performance.
>
> * Even if you are using Apache, we don't necessarily want to assume
> that a 'one size fits all' configuration is going to be right for
> you. Having to grovel through a maze of twisty little apache
> configuration snippets (all alike) in order to undo some well
> meaning but ultimately wrong settings gets old really quickly.
> Especially if you have to do it again every time some related port
> gets updated.
>
> It's a philosophical difference between *BSD and much of the rest of the
> world: we think computers are there to do what the *admin* in charge
> tells them to do, no more and no less. Consequently we expect to take
> pains to tell them exactly what we want.
>
> Having said all that, many web applications will display a pkg-message
> on installation with hints about how to configure Apache. You can
> display these messages again by:
>
> % pkg_info -Dx portname
>
> There are also frequently instructions in various documentation
> installed under /usr/local/share. Most web apps generally want some
> combination of aliases to map the application directory into the web
> tree at an appropriate URL, plus a <Directory> or <Location> block (or
> several) to set options, access controls, basic auth password and so
> forth. Given a little practice such setups are not particularly hard to
> write, and there are a lot of people on this list who would be happy to
> help with any specific problems.
>
> Cheers,
>
> Matthew
>
> - --
> Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
> Flat 3
> PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
> JID: matthew(a)infracaninophile.co.uk Kent, CT11 9PW
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkwMBt8ACgkQ8Mjk52CukIzSagCdFrLouTfwa19/e7aoztf5S70x
> GdoAniFIYtp0GMMoWlolZoxQsqbyvtsb
> =1X8Q
> -----END PGP SIGNATURE-----
> _______________________________________________
> freebsd-ports(a)freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
>

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Matthew Seaman on
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/06/2010 22:47:32, Kaya Saman wrote:
> Just in response to the "there are other better web servers then Apache"
> comment!
>
> What are they??

I carefully didn't say "better" -- I said "faster." You've mentioned
(sort of) one already: lighttpd. My personal favourite is nginx. There
are almost certainly several others, but those are the leading two
examples. In a straight comparison on the same hardware serving up
static content either of these will outperform Apache delivering more
content with lower latency and lower system load.

What they aren't especially good at is dealing with a complicated setup
involving all sorts of URL rewriting, redirection etc. They also
generally need to use things like fCGI to let them serve dynamic
content, which is a whole different ball-game compared to the Apache
loadable module concept, and may not work at all for some web apps.

Cheers,

Matthew

- --
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matthew(a)infracaninophile.co.uk Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwMkgYACgkQ8Mjk52CukIz8tgCaAhTsrgIqznO6IXM5zVjk2SL7
UdoAn3Np/txGGZrC/aaQA7EJFKB6/xAr
=FUoA
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"