Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Apache Cookbook

timothy posted more than 10 years ago | from the add-measure-stir dept.

Programming 172

honestpuck writes "While Apache is possibly the most popular and ubiquitous open source project it is certainly not the most simple. One module alone, mod_rewrite, causes me almost more problems and regex wrestling matches than all other products combined. The 'httpd.conf' file is a long and critical one. In these circumstances the Apache Cookbook from O'Reilly might be a godsend. It is certainly a well-written, well-researched volume. Ken Coar has spent many years working on Apache and Rich Bowen has long laboured on the Apache documentation. They both know their stuff -- and if this is an example, both know how to write." Read on for the rest of honestpuck's review.

The book has twelve chapters, covering everything from installation and adding modules through to proxies and performance. The chapter on security is the largest, it covers the topics well. By contrast I thought the chapter 'Aliases, Redirection and Rewriting' too short and could have benefited from some more 'recipes', but that may be due to my own bias - mod_rewrite is not an easy topic, and as I've said it causes me a great deal of grief.

It is laid out in a similar way to the Perl Cookbook: each recipe has a 'Problem' section followed by a 'Solution' and then 'Discussion.' In almost all the 'recipes' the 'Discussion' is longer than the 'Solution,' and I often found it far more useful and informative than the problem and its solution.

The Apache Cookbook covers almost all aspects and all parts of the learning curve for Apache. That will either be a strength or a weakness of this volume for you; with such a large and complex piece of software as Apache a single book cannot hope to cover it in a great deal of depth. For me this book was not really a cookbook, more a good source of well documented examples from which to create my own recipes,

My biggest problem reviewing a book like this is that after several years building and configuring Apache (even on an infrequent basis) quite a lot of this volume seems simple. You may also find it the same if you are the sort of person who is not afraid to pore over the documentation, get your hands dirty and make a few mistakes. If you like some hand holding and are just starting with Apache you may benefit from all of it.

That's not to say that I didn't personally find large chunks of this volume useful. Certainly I've gone over several of the recipes and their excellent explanatory text to shed some light on previously dark corners of Apache, particularly as the authors cover both Apache 1.3 and 2.0.

O'Reilly have the usual web page with a Table of Contents and example chapter. The example chapter, on error handling is well chosen as it is typical of the others and useful but not the most useful chapter.

I have recently been thinking that tech books fall into various sorts and there is one sort I'd call 'library books' - books you may not need to own, but will want to read every so often and would be good to have in your local or company library. Apache Cookbook is one of these, a book I'd recommend everyone coming to grips with Apache has close to hand, but it is not going to be constantly on your desk in the same way that Perl Cookbook might be for Perl programmers: to start off with, it's half the size and doesn't cover nearly as many topics. This one falls short of essential due to it's concentration on breadth. rather than depth. So my recommendation for this book is not that all Apache administrators should buy it, but you should have a copy close at hand.


You can purchase the Apache Cookbook from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.

Sorry! There are no comments related to the filter you selected.

Frist Post (-1, Offtopic)

dapyx (665882) | more than 10 years ago | (#7987633)

yep. it is. the first. the only. the FP

[OT] Apache RegExp help (0)

Anonymous Coward | more than 10 years ago | (#7987807)

Hi.

I'd like to use a LocationMatch on a url where it matches everything, except for a couple of directories within that.

So something like

<LocationMatch ^/dir/(?:one|two)/*>

(if the greater than and less thans are missing, don't worry. They are in my httpd.conf)

to match everything in /dir/ except /dir/one and /dir/two/. Except that doesn't to work (although it does in perl).

Can anybody help? Oh, I'm using 1.3.19 on Solaris, if that makes a difference.

HERE'S THE ANSWER! (0)

Anonymous Coward | more than 10 years ago | (#7988028)

HERE YOU GO, D00D:

EDLIN CONFIG.SYS

DEVICEHIGH=C:\WINDOWS\LOCMATCH.SYS,A LL_EXCEPT,ONE,TWO
===================

Who are our enemies? Who are our friends? This is a question of the first importance for the revolution. The basic reason why all previous revolutionary struggles in Rock-n-Roll achieved so little was their failure to unite with real friends in order to attack real enemies. A revolutionary party is the guide of the masses, and no revolution ever succeeds when the revolutionary party leads them astray. To ensure that we will definitely achieve success in our revolution and will not lead the masses astray, we must pay attention to uniting with our real friends in order to attack our real enemies. To distinguish real friends from real enemies, we must make a general analysis of the economic status of the various classes in Rock-n-Roll society and of their respective attitudes towards the revolution.

Re:HERE'S THE ANSWER! (0)

Anonymous Coward | more than 10 years ago | (#7988233)

What the hell is wrong with these people [bbc.co.uk] ?

They scare me!

FIRST POST FOR GOATSE.CX (-1)

Sexual Asspussy (453406) | more than 10 years ago | (#7987646)

CLIT mourns you till we join you

RIP goatse.cx [hick.org]

Re:FIRST POST FOR GOATSE.CX (-1)

Sexual Asspussy (453406) | more than 10 years ago | (#7987682)

god. such serious material, and i fucking fail it.

i feel like fucking killing myself. i have failed us all today.

Rhonda Clarke killed goatse! (-1, Troll)

Anonymous Coward | more than 10 years ago | (#7987776)

Rhonda Clarke,

Indian Ocean Group Training,

Say goodby to the interweb!

rckenapulau.cx seems to be bogus to me.

Diggin' dirt (0)

Anonymous Coward | more than 10 years ago | (#7987830)

From : http://www.christmas.net.au/useful_info.html

Indian Ocean Group Training Association
Indian Ocean Group Training Association (IOGTA) is the main employment provider on Island. IOGTA also runs many training courses for more information on current training course please visit www.training.edu.cx/courses.html [training.edu.cx]

Contact:
Phone: 9164 7220 or
Fax: 9164 7129

ENEMY OF THE INTERWEB! (-1, Offtopic)

Anonymous Coward | more than 10 years ago | (#7987892)

From : http://www.training.edu.cx/rhonda.html [training.edu.cx]

"Rhonda Clarke is the current Office Manager. She manages the administrative side of the office. Her duties include record management, purchasing and monitoring stationery supplies. In addition to that she also supervises any office trainees working for Indian Ocean Group Training. Rhonda is happy to take any general queries and will help and advise wherever possible. "

"Four out of four dictators agree -- censorship works!"

Re:ENEMY OF THE INTERWEB! (0)

Anonymous Coward | more than 10 years ago | (#7988043)


One of the people has the address "phil@training.edu.cx", I'll try sending something to "rhonda@training.edu.cx"..

Fucking cunt.

Re:ENEMY OF THE INTERWEB! (1)

grub (11606) | more than 10 years ago | (#7988088)


"rhonda@training.edu.cx [mailto] doesn't bounce. >:) I asked simply "Are you the person that had goatse.cx shut down?" I think a lack of a reply will be suspicious.

Re:ENEMY OF THE INTERWEB! (-1, Offtopic)

Anonymous Coward | more than 10 years ago | (#7988249)

what a fucking bitch!

forget mail bombing... what about molatov cocktails?!?!

FUCK YOU ANDERSON COOPER!

Re:FIRST POST FOR GOATSE.CX (-1, Offtopic)

grub (11606) | more than 10 years ago | (#7987847)


This is truly a sad day for the entire internet. Does anyone have Rhonda Clarke's email address? She needs correcting.

Re:FIRST POST FOR GOATSE.CX (-1, Offtopic)

Anonymous Coward | more than 10 years ago | (#7987908)

You just dropped off my foes list. Well said :)

GODDAMIT MICHAEL, THIS _IS_ YRO!!! (0)

Anonymous Coward | more than 10 years ago | (#7987934)

Might as well accept it as a story, that way you don't have the trolls trolling up the other stories with it.

Then you can modbomb the whole thread to oblivion!

Repressed people suck. (0)

Anonymous Coward | more than 10 years ago | (#7988132)

As an orthodox troll, they're infringing upon my religion.

Doesn't Austrailia have freedom of religion?!!!

Re:FIRST POST FOR GOATSE.CX (-1, Offtopic)

Anonymous Coward | more than 10 years ago | (#7988215)

No more goatse??? Say it ain't so!!! /me cries

Re:FIRST POST FOR GOATSE.CX (-1, Offtopic)

Anonymous Coward | more than 10 years ago | (#7988279)

Don't cry.

Mail her [mailto] and tell how you feel.

Apache is not important! This is! (-1, Flamebait)

Anonymous Coward | more than 10 years ago | (#7987662)

Why is this story important? And why does this story, Domain suspended [www.nic.cx] keep getting rejected and ignored by the Slashdot editors? Oh the humanity!

Goatse troll (-1, Offtopic)

Anonymous Coward | more than 10 years ago | (#7987730)

Silly troll, forgetting we can hover over and view hyperlinks.

Re:Goatse troll (-1, Offtopic)

Anonymous Coward | more than 10 years ago | (#7987938)

It's not what you think; it's a WHOIS showing the domain goatse.cx has been suspended by the registrar.

Re:Apache is not important! This is! (0, Offtopic)

krog (25663) | more than 10 years ago | (#7987749)

I too have submitted this story, only to have it rejected. Goatse.cx has had the greatest social and programmatical effect on Slashdot.org of any domain, period. They even changed Slashcode itself on account of goatse.cx... and now goatse.cx is removed due to registrar censorship, an issue Slashdot and its users hold dear, and no one hears about it. It is improper to ignore such an event.

Re:Apache is not important! This is! (0, Troll)

krog (25663) | more than 10 years ago | (#7987843)

um how is this a troll? everything in the above post is true.

Re:Apache is not important! This is! (0)

Anonymous Coward | more than 10 years ago | (#7988220)

Check out the submission queue over at k5.

Re:Apache is not important! This is! (-1, Offtopic)

Anonymous Coward | more than 10 years ago | (#7988262)

Having read the registrar's response [www.nic.cx] to the goatse complaint that started this all, it appeared to me that the website was shutdown for direct linking to dolphin sex, and not for the gaping anus. My impression was that they were being pretty cooperative and might be willing to reinstate the site provided the website owner removes the offending links to "illegal" material.

What about Security? (-1, Offtopic)

ThreatAdvisory (739109) | more than 10 years ago | (#7987675)

....for our Mothe.....erm...Homeland? Does this volume discuss thwarting Al Qaida and Saddam loyalists?

Re:What about Security? (0)

Anonymous Coward | more than 10 years ago | (#7987731)

they should have something in there...cyber terror is scary!

Cookbook format... (4, Interesting)

neiffer (698776) | more than 10 years ago | (#7987687)

I really like the cookbook format as it allows me to see solutions in application. I have often found solutions to different (but related problems) by using the skill set. I'd love to pick this up!

Re:Cookbook format... (5, Informative)

GreggBert (89663) | more than 10 years ago | (#7987747)

I bought this book a few weeks ago and the section on keeping your images from being bulk downloaded alone was well worth the cost of the book in terms of what it will probably save me in bandwidth charges.

Re:Cookbook format... (0)

Anonymous Coward | more than 10 years ago | (#7987780)

I have often found solutions ... by using the skill set.

Seeing as it's the Apache Cookbook, it didn't surprise me when I read that as "... using the skillet".

Re:Cookbook format... (-1, Troll)

dishonestpuck (732015) | more than 10 years ago | (#7987817)

Dear Slashdot: I have a confession to make. I am not really as honest as my name implies. In reality, I have been writing all these reviews in th e hopes of landing one of you nerds for some sweet anal love. You see, I have a fetish for fat greasy nerds. Anyway, I will try to be more honest in the future.

Furiously masturbating with thoughts of you guys,
'Dis'honestpuck

Re:Cookbook format... (-1, Offtopic)

Anonymous Coward | more than 10 years ago | (#7988129)

Offtopic, but terrible news.

goatse.cx [goatse.cx] is down! This is truly the end of the golden age of the internet!

Hmm (-1, Offtopic)

Anonymous Coward | more than 10 years ago | (#7987690)

Are there any tips on closing italics tags in there?

Re:Hmm (0)

Anonymous Coward | more than 10 years ago | (#7987866)

I suppose there isn't one. However, I'll be happy to write them an Apache module that will correct it if italics are still on at the end of a paragraph.

As always.... (2, Informative)

herrvinny (698679) | more than 10 years ago | (#7987705)

Amazon Link [amazon.com]

Froogle Link [google.com]

Re:As always.... (0, Troll)

jargoone (166102) | more than 10 years ago | (#7987894)

An Amazon link. With a referral ID in the URL. How original.

Mod down into the depths of hell, please.

That's a book referral, not an affiliate (1, Informative)

Anonymous Coward | more than 10 years ago | (#7987926)

Try it yourself. Got o Amazon.com and type in the book's name, then compare the URIs.

Test before you post.

No it isn't. (1)

herrvinny (698679) | more than 10 years ago | (#7988295)

I'm not a Amazon affiliate. If I was, would I have put a Froogle link?

Mod this Troll down.

Re:As always.... (0)

Anonymous Coward | more than 10 years ago | (#7988134)

down with Slashdot spam

Why (5, Interesting)

eille-la (600064) | more than 10 years ago | (#7987712)

Why is the 1.3 still so popular? Is the version 2 still unstable or something?

Re:Why (5, Informative)

Erratio (570164) | more than 10 years ago | (#7987755)

Version 2 is a vastly different program. The framework is different and the modules are different. If people don't need any of the features from 2 and 1.3 continues to be stable and secure, then it wouldn't make sense for most people to upgrade, or for some people to take the time at the moment to familiarize themselves with the new methods of doing things.

Re:Why (4, Interesting)

elviscious (681985) | more than 10 years ago | (#7987770)

PHP is one reason. Supposedly very unstable on 2.0

True That! (1, Informative)

Anonymous Coward | more than 10 years ago | (#7987822)

I mean when php breaks under 2.0 you do not know if it was php or apache that broke. Under 1.3 you can be pretty damn sure that it was php that broke due to one of their "keep the language functions changing randomly for no reason so as to break apps" approach to keeping php going.

Re:True That! (0)

Anonymous Coward | more than 10 years ago | (#7988025)

If you don't like PHP, you are not obligated to use it. Go back to your ugly Perl.

Re:True That! (2, Insightful)

DAldredge (2353) | more than 10 years ago | (#7988174)

Why do you say perl is ugly? It depends on the person writing it. I have seen some horrible PHP code in my lifetime, just like I have seen bad code in any number of languages.

Re:Why (5, Interesting)

markjl (151828) | more than 10 years ago | (#7987961)

Short answer: Because of it's legacy and partially because 2.x isn't a revolutionary step forward and it took a while for 2.x to get out of beta. Also, 2.x probably benefitted the Windows platform and new module writers moreso than anyone else, IMHO.

1.3x is what most people know, what most Apache modules are written for, and what most of the articles and tutorials on the web describe.

Another example: Apache Toolbox [apachetoolbox.com] still only compiles 1.3x and associated modules for you. (BTW: this is a great resource for trying new modules out when you can't find an RPM with what you need.)

It's only now that I'm migrating production from 1.3x to 2.x, because I had seen that people had headaches getting PHP working (but no longer) and I waited for stable ports of some modules that I used in 1.3x.

I do consider 2.048 to be worthy now, lots of RPMs and modules written for it.


--Mark
[ My opinions are my own, but you may share them! ]

Re:Why (0)

Anonymous Coward | more than 10 years ago | (#7988228)

You make a good point. Since the 1.3 release has significant problems under Windows, those that run Apache on that OS probably shouldn't bother reading this book.

Apache is damned good. (3, Insightful)

chadw17 (308037) | more than 10 years ago | (#7987724)

Only big problem I've ever encountered, and this may seem n00bish, but routing multiple domains to a single machine involved some heavy httpd.conf editing. Almost made me wish for a GUI, but what you learn from error and mistake, (over and over again) helps in the end.

Re:Apache is damned good. (1)

neiffer (698776) | more than 10 years ago | (#7987732)

I think part of it is because there are so many good hacks for 1.3 that don't necessarily work in 2, so migration is slow...

Re:Apache is damned good. (4, Informative)

pclinger (114364) | more than 10 years ago | (#7987771)

You may want to check out webmin [webmin.com] , it has a useful GUI interface for Apache and everything else on your system.

Re:Apache is damned good. (-1, Flamebait)

Anonymous Coward | more than 10 years ago | (#7988323)

You may want to check out webmin, it has a useful GUI interface for Apache and everything else on your system.

Yes, it's great for those Linux newbies who just slapped on a distribution with an install similar to windows, and can't even figure out how to configure a daemon's configuration flat file. Gee, Linux users have come such a long way from those lame Point-and-Click morons who use Windows..
I want all our system admins to be just as clueless!

Re:Apache is damned good. (1)

Saganaga (167162) | more than 10 years ago | (#7987772)

Webmin works pretty well for a GUI Apache config editor, although I have to confess that I will often end up going back to editing httpd.conf by hand; if you know what you're doing it is usually a lot faster. Not that I always know what I'm doing!

Re:Apache is damned good. (1)

Erratio (570164) | more than 10 years ago | (#7987803)

Unless I'm missing something, doing what you're talking about shouldn't take more than a couple lines to set-up and a couple lines per domain.

Re:Apache is damned good. (1)

chadw17 (308037) | more than 10 years ago | (#7988026)

Probably true, I was attempting to do this for the first time, and also route them via different ports as well. 80 VS 8080 and such. It was an attempt to make it invisible to the user what was being done behind the scenes. Pretty easy stuff in retrospect.

The way it was done was pretty much just a couple of lines, which had to be perfectly set up. The largest error, definitely a user error on my part was attempting to modify too much of the httpd.conf before I really realized what I was doing. Googling for the solution helped, but if I'd had a book, perhaps the one being reviewed, chances are that it might not have been such a slow job.

./apachectl configtest - YUO = TEH NOOB (0)

Anonymous Coward | more than 10 years ago | (#7987969)

Re:Apache is damned good. (4, Informative)

llamalicious (448215) | more than 10 years ago | (#7988068)

If you're talking about virtual hosting, and you're setting up many many hosts with separate VirtualHost directives, it may be time to look at mod_rewrite ... and the documentation on it at httpd.apache.org. There's a section about using mod_rewrite for mass virtual hosting, which, depending on your situation, might be useful.

Only if you want (3, Interesting)

leoboiko (462141) | more than 10 years ago | (#7987728)

The 'httpd.conf' file is a long and critical one.


But if you want you can use a more modular approach instead of keeping everything in one single file. Debian sid is currently experimenting with this in interesting ways in the apache2 packages.

Cookbook definition (0)

Anonymous Coward | more than 10 years ago | (#7987735)

So my recommendation for this book is not that all Apache administrators should buy it, but you should have a copy close at hand.

Isn't this why it's called a cookbook?

Yes, it's difficult. (5, Informative)

SharpFang (651121) | more than 10 years ago | (#7987757)

The 'httpd.conf' file is a long and critical one.

For this reason, and for several more, whenever I don't need any of the multitude of Apache features, I install one of "mini servers" - for quite a while I was going on Boa [boa.org] , later switched to Mathopd [mathopd.org] , but I consider THTTPD [acme.com] or any of several other "tiny" webservers. Small, smart, fast and easy to configure. WAY easier than Apache.
(yeah, you may think you configured Apache right because it works... but what if you just opened several security holes you didn't understand? It's much better to have a tiny config file you can use for 8 things out of which you need 6, and understand all thoroughly, than one with 400 things out of which you need 12 and understand thoroughly less than 50.)

Re:Yes, it's difficult. (0)

Anonymous Coward | more than 10 years ago | (#7987859)

Using a lighter httpd has no bearing on the book though. The book is for Apache, whether you need to use Apache or not :)

Sure but... (2, Funny)

telbij (465356) | more than 10 years ago | (#7988313)

What if you need 20 out of 400 and understand 100? Or understand 18 needing 15 of 32, or even worse, need 12 out of 11 with understanding of 2. Or 13, 18, 4597, 129, 97...

Obviously picking the right web server can be a tough proposition.

Custards last stand (-1)

cornholio_hehehe (739161) | more than 10 years ago | (#7987777)

*snort* hehe, Apaches, hehe I like that. They sure gave custer a run for his money. hehe. Cowabunga dude this package rocks.

Sounds great. (5, Insightful)

ActionPlant (721843) | more than 10 years ago | (#7987779)

This is a godsend to those of us who are just starting out. Sure there is a lot of decent online documentation, but that requires running back and forth from machine to machine and taking a lot of notes.

I'll definitely be picking this up.

Damon,

Re:Sounds great. (0)

Anonymous Coward | more than 10 years ago | (#7988361)

Running back and forth? You are just starting out. Try using vnc-server or sshd and the equivalent clients.

Use Apache! (1, Interesting)

relrelrel (737051) | more than 10 years ago | (#7987783)

Has there ever been an open source program as successful as the Apache web server? If we leave aside the various p2p freeware for music sharing, then perhaps none. Certainly, if we restrict our survey to web servers, Apache is head and shoulders above its peers. It is currently in its second major revision, 2.0, and is very stable and mature.

This book gives you a good grounding in both installing and running it, even if you have never run a website before. Those of you who used earlier versions may recall various installation shell scripts. At one point, these only ran on unix platforms. But this book makes clear in the first chapter that this is no longer true. An installation wizard gives you an easy walkthrough. Plus you can now install it on Microsoft Windows.

So given that Apache is free, shouldn't you already be using it? If you have only static content, or dynamic content that is restricted to the traditional cgi or the newer perl or PHP, then the book's sections on those show full functionality.

Remember too the other advantage cited in the book. Apache is extensible. So if you have a simple need that can be met by tweaking the existing source, you can do it yourself, instead of asking a vendor and waiting [and paying]. Plus, if Apache itself has a bug that you cannot fix, you know there will be many developers on the net who will do this, and quickly, because so many of us depend on Apache.

What are you waiting for?

The only caveat is when you should NOT use Apache [and this book]. Naturally, the book does not go into this, so let me help you. If you will be using EJBs, Java Server Pages or transactions, then this is higher level logic that, as far as I know, Apache does not currently handle. Instead, you should opt for J2EE web servers provided by jBoss, Sun, IBM, BEA or Oracle. Likewise if you have .NET/C# dynamic content. I am not sure that Apache can handle these yet, so you should stick with Microsoft's server

Re:Use Apache! (1)

DAldredge (2353) | more than 10 years ago | (#7987852)

The IBM J2EE web server is a rebadged version of Apache if I remember correctly.

Re:Use Apache! (1)

Ryosen (234440) | more than 10 years ago | (#7987877)

Jakarta Tomcat [apache.org] , part of the Apache project, has no problem working with Apache. There is an Apache plugin available.

Re:Use Apache! (1, Informative)

Saganaga (167162) | more than 10 years ago | (#7987893)

Is it that hard to write your own comment, instead of plagiarizing someone else's [amazon.com] ?

Re:Use Apache! (0)

Anonymous Coward | more than 10 years ago | (#7987928)

Saganaga, It's my own comment, idiot.

Re:Use Apache! (0, Flamebait)

Saganaga (167162) | more than 10 years ago | (#7987983)

If it's your own comment then why are you too ashamed to respond to me with your real name, Mr. Coward?

Re:Use Apache! (3, Informative)

curtisk (191737) | more than 10 years ago | (#7987902)

Servlets/JSP are handled by Jakarta/Tomcat [apache.org] , webservices are handled by Axis [apache.org] both are Apache projects

Re:Use Apache! (1)

Erratio (570164) | more than 10 years ago | (#7987927)

Various P2P software? What about all the other daemons? Sendmail, BIND, OpenSSH (and of course Linux and the base GNU stuff though that's a little unfair). There are a lot other probably often overlooked types of programs too, but no less important. Apache is probably one of the most successful, but I don't think it's primary competition comes from P2P software.

Re:Use Apache! (1)

ChannelX (89676) | more than 10 years ago | (#7988120)

Umm...I know for a fact that Oracle uses Apache 1.3x for their java app server. I believe IBM does as well. I don't know of any Java servlet container that doent include an apache plugin. What was your point about Apache and Java again?

Re:Use Apache! (1)

fawadhalim (83939) | more than 10 years ago | (#7988298)

mod_mono [apacheworld.org] is an apache (1.3, 2) module that lets you run asp.net applications (aspx pages, http modules, web services, etc.) using mono.

Re:Use Apache! (0)

Anonymous Coward | more than 10 years ago | (#7988353)

This comment isn't entirely unlike one here from a month ago [barnesandnoble.com] .

Mmmm.... (-1, Troll)

Anonymous Coward | more than 10 years ago | (#7987791)

Baked scalp of white man!

Problem. (0, Flamebait)

Krapangor (533950) | more than 10 years ago | (#7987802)

The book relies to much on deprecated approaches for dynamic webpages: they heavily propagate Perl and PHP.
But decent professional development needs integration into n-tier business applications which must be done with
  1. an object orientated programming language
  2. supporting webservices or at least Corba and DCOM
  3. with aviable RAD tools enabled for the Rational, Waterfall or Xtreme Programming development process.
This reduces the choice to Java, Ruby and .NET, but .NET drops dead due to Apache being un.net.
Honestly, I think that such books should burned in public to give other authors a decent warning. They are the source to unprofessional web portals, downtimes and Javascript terror rubbish we see these days on the net. Either do it right or don't do it. Sometimes I think there should be regulations for web application development like we have these days for plane or rocket design. Yes, that's hard but you must admit that I have a point.

Heh heh (1)

TwistedSquare (650445) | more than 10 years ago | (#7987957)

Amusing take on business development ;)

Re:Problem. (1)

junklight (183583) | more than 10 years ago | (#7987980)

.NET doens't do n.tier properly either.

Mind you GUI development in .Net craps on almost anything else from a great height in terms of speed to market and being able to make large and rapid changes quickly. Not cross platform though.

Re:Problem. (2, Insightful)

RexRuther (221243) | more than 10 years ago | (#7987989)

But what if all I want to do is publish a web page?

Re:Problem. (1)

Erik Hollensbe (808) | more than 10 years ago | (#7988018)

You've got to be joking.

I am so stunned at the idiocy in this post. *NOTHING* requires an OOP language. And plenty of (large) sites use hand-rolled development processes and work great with them. Web Services are SLOW.

Requiring a specific tool for the job should be determined after architecturing, not before.

Re:Problem. (1)

mabu (178417) | more than 10 years ago | (#7988047)

But decent professional development needs integration into n-tier business applications which must be done with ...

Well, obviously this is a troll, but it makes me cringe when I hear whiney arguments from people thinking that the only way to do anything "professional" is by using highly-bloated, high-level systems.

Yes, that's hard but you must admit that I have a point.

Yes, you have a point: You're "new school" that expects the available tools to compensate for your lack of initiative or ability to figure out how to be resourceful and efficient without the use of a mouse.

It's no wonder most new software is crap, and no surprise that the greatest software continues to be developed by individuals who don't spend 90% of their development time learning how to use a tool that is supposed to speed up the development process.

We're revoking your card (0)

Anonymous Coward | more than 10 years ago | (#7988209)

We at Mensa take intelligence seriously. When we find a card has been given in error or we find that fraud was used in persuit of membership, we must take action!

We hereby revoke your membership in Mesna. Let that serve as fair warning to authors who cannot construct the most basic argument. What you have presented is an elementary school level debate position.

Please feel free to reapply when your intellect has reached the age of majority.

Re:Problem - support your arguments. (0)

Anonymous Coward | more than 10 years ago | (#7988242)

Tell us:

  • Who deprecated these approaches and why?
  • Why must 'decent' professional development use an OOP language, etc.?

Your post will convince no one of anything without backing up these generalized statements with actual arguments. And while you might not want to spend the time to detail your reasoning, it's silly to post something with such a snotty attitude without correlating facts.

great book (1, Redundant)

relrelrel (737051) | more than 10 years ago | (#7987839)

The collaboration of Apache software experts Ken Coar and Rich Bowen, Covering Apache 2.0 & 1.3, Apache Cookbook is a "user friendly" guide and comprehensive reference to the most widely used web server in the world. Offering common problems and solutions; step-by-step walk-throughs; discussion problems; sample codes; worked-out solutions; instructions for tasks such as installing the server or managing a proxy server, and so much more, Apache Cookbook is a "must-have" instructional reference for anyone charged with the responsibility of setting up or maintaining an Apache based web server.

Re:great book (3, Informative)

Saganaga (167162) | more than 10 years ago | (#7988150)

This is the second time in the same thread that you have posted a plagiarized review. What gives? How stupid are you, anyway?

Exhibit A: The customer review section [amazon.com] from Amazon. Note that the first review matches the above review.

Exhibit B: The first plagiarization post [slashdot.org] in this thread. Note how it is eerily similar to the second customer review in the Amazon page.

Exhibit C: relrelrel's comment [slashdot.org] (as an Anonymous Coward) complaining about the first time I pointed out his plagiarization. But if it truly was your own comment (which is possible, I concede), how is it possible that you actually wrote both Amazon customer reviews??

I rest my case, your honor.

Don't use Apache or any freeware (0, Funny)

Anonymous Coward | more than 10 years ago | (#7987875)

Don't use Apache or any freeware because, as Microsoft rightly point out:

You are taking jobs away from commercial companies.

Also, by using open source software, you are a communist, as well as a Economic terrorist.

We should use BEA, Microsoft, IBM solutions etc which put money back into the economy and keep people in jobs.

Re:Don't use Apache or any freeware (0)

Anonymous Coward | more than 10 years ago | (#7988234)

You mean those jobs that said US companies are sending overseas to India, away from the average American?

SURVEY! (-1, Offtopic)

Anonymous Coward | more than 10 years ago | (#7987959)

Slightly off-topic, but please, I am serious.

I'm a 30 years old computer nerd who's very interested in music. I just bought a new guitar - a Gretsch, it's for professionals. Now, I have a theory. My theory is that _everyone_ can learn to play any instrument well if he/she _really_ wants to.

Like I said, I'm 30 years old. I'm taking this as a great challenge and I'm willing to practise 4-5 hours/day. I believe I can become as good as any what you would call a great Jazz guitarist out there in 5 years if I practise _efficiently_. If I can use my intelligence to make plans how to get the most out of practising I really do believe I can do it. Any suggestions would be welcome. How to start practising guitar playing in most intelligent way possible? I'm sure you have some ideas even if you wouldn't play any instrument. I believe I can achieve my goal and I believe any one of you could do it too if you really wanted to. Thanks! (..and sorry for this off-topic post)

OT: httpd.conf question (1)

ceswiedler (165311) | more than 10 years ago | (#7987972)

How do I get a virtual host to automatically redirect to a different virtual host and path? I want 'http://mail.foo.bar' to redirect to 'http://www.foo.bar/horde/imp/login.php'. I couldn't figure out how to do this...

simply... (0)

Anonymous Coward | more than 10 years ago | (#7988058)

stick it up your ass, idiot blowhard.

Re:OT: httpd.conf question (1)

llamalicious (448215) | more than 10 years ago | (#7988118)

Check out mod_rewrite [apache.org] .

Link is for 2.0 documentation.

Very powerful.

Re:OT: httpd.conf question (1)

kalislashdot (229144) | more than 10 years ago | (#7988246)

I just did this last week.
I made a seperate VirtualHost entry with a redirect.

ServerName mail.foo.bar
Redirect / https://www.foo.bar/horde/imp

Crap (4, Funny)

Orion442 (739483) | more than 10 years ago | (#7988001)

Thought I was going to get some good Native American cooking recipes.

APACHE IS GOOD! (-1, Offtopic)

Anonymous Coward | more than 10 years ago | (#7988030)

for me to POOP on!

ahahahahahaha!

WHEN ARE YOU GOING TO REALIZE? (-1, Flamebait)

Anonymous Coward | more than 10 years ago | (#7988111)

Attention idiots:

Honestpuck is just another name for JON KATZ! Katz single handedly caused the colapse of the so-called "internet bubble" due to his stupid ranting.

Fuck Jon Katz, fuck Cmdr Taco, fuck SLASHDOT...

and fuck you too, Anderson Cooper!

IMPORTANT! (0)

Anonymous Coward | more than 10 years ago | (#7988307)

Barnes & Noble, the booksellers you recommend, deliberately price this book just under the $25 it takes to qualify for free delivery, then take all your information & charge your credit card before they disclose to you what the shipping & handling costs are. That's not honest business.

I recommend just going to Borders & paying for it. No wait, No shipping/handling tricks.

New information regarding Cmdr Taco... (0)

Anonymous Coward | more than 10 years ago | (#7988358)

eee

Apache security documentation (0)

Anonymous Coward | more than 10 years ago | (#7988373)

Load More Comments
Slashdot Login

Need an Account?

Forgot your password?