Training, Open Source computer languages

PerlPythonMySQLTclRubyC & C++LuaJavaTomcatPHPhttpdLinux

Search our site for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
Quiz Page httpd
The httpd quiz has changed! We have replaced httpd questions with answers! And from those answers you'll find further links to even more information - forums where you can ask questions, training courses, longer articles, and more. [link to quiz index] ... If you really want the old quiz questions, you can find them here, here, here and here ... and with onward links to the possible answers to each question too.

Configuring httpd, or Tomcat, to run CGI scripts in Perl
Here's a Perl / CGI script - a "Common Gateway Interface" program that I want to run on my web server, and access via my browser. What server to I need to run it on, and how do I set that server up? ...

An FAQ on the Apache httpd and Apache Tomcat web servers, and on using them together
Both Apache httpd and Apache Tomcat are popular web servers - and most people who use Tomcat 'front' it with httpd. We run an Apache httpd course (under Linux / Unix) and also a combined httpd and ...

What do people think of our Apache httpd / Tomcat course?
We train a lot of well known (no - make that VERY well known) names, as well as smaller organisations, and contractors and individuals too. And we thrive on customer feedback and recommendation - yet ...

Where is my new Apache httpd installed
When you're installing a software package you have the install script writer has a choice - whether to put it all in one place so that you can easily remove it again if it doesn't work for you, or ...

Why put Apache httpd in front of Apache Tomcat
Does it seem odd to you that Apache Tomcat is a web server ... and yet the majority of sites run with another web server - Apache httpd - in front of it. Why do they do it? There's a whole host of ...

Internal Dummy Connections on Apache httpd
Is your Apache httpd log file 'full' of entries like this? xx.xxx.xx.xx - - [02/Mar/2009:05:08:45 +0000] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.9 (Unix) PHP/5.2.6 (internal dummy connection)" ...

Virtual hosting and mod_proxy forwarding of different domains (httpd)
Let's say that you want to set up a single web server to look after several domains, but then have parts of those domains served by other 'back room' servers. This diagram give you the picture - a ...

Database connection Pooling, SSL, and command line deployment - httpd and Tomcat
Yesterday (yes, that was a Saturday!) I was running a tailored Apache Tomcat training and consultancy day - a day on which I cover a lot of standard training material, but did so in relation to a ...

Sharing the load between servers - httpd and Tomcat
If you're running a lot of traffic through an application, it's possible that one web server can't cope ... not so much because of the traffic levels, but because oomph the computer. Customer's ...

Tuning httpd / the supermarket checkout comparison
Why do you have multiple copies of "httpd" running on your web server, even though you have only got one process in startup? It's because httpd spawns child processes which allow it to be handling ...

httpd, Tomcat and PHP course enhancements
If you're in an area of the UK that's covered by 3G phone service, we can now have our training computers on line during private courses on your site without having to add our machines inside your ...

Sticky Sessions with mod_jk (httpd to Tomcat)
If you're load balancing with mod_jk, you can put a load balancer worker in your jk properties file, and then have requests forwarded to all the workers that are members of that load balancer. That's ...

Apache httpd and Apache Tomcat miscellany
When you start a newly installed Apache httpd web server, you may get the following message: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ...

Summary - Apache httpd build on Linux
As a regular user: 1002 tar xzf httpd-2.2.10.tar.gz 1003 cd httpd-2.2.10 1004 ./configure --prefix=/usr/local/apache_2.2.10 \    --enable-rewrite --enable-so --enable-proxy \ ...

Forwarding session and cookie requests from httpd to Tomcat
If you're using mod_proxy to forward requests that use sessions to other servers, you need to ensure that the cookies get correctly rewritten as they're sent to the browser for setting, in order to ...

What is built in to this httpd and PHP?
If you build your own tailored Apache httpd and PHP, you should take a full backup when you're done, and also fully document which options you selected and modules you included in the build. You ...

mod_proxy and mod_proxy_ajp - httpd
Under Apache httpd version 2.2, mod_proxy_ajp provides a neat way for you to forward requests to an appropriately configured Apache Tomcat server using the more terse ajp protocol rather than the ...

WEB-INF (Tomcat) and .htaccess (httpd)
Apache Tomcat's WEB-INF directory is rather like Apache httpd's ".htxxxxx" files - they both contain data which is within the document directories, but is configuration data that's not directly ...

Logging Cookies with the Apache httpd web server
An interesting question that came up yesterday - can we extend Apache httpd's logging to include details of cookies sent to the server? The answer is yes, and overnight I have done a little ...

Apache httpd, MySQL, PHP - installation procedure
If you're installing LAMP (Linux, Apache, MySQL, PHP), what do you do and in which order? Here's a summary of the procedure we followed on todays Apache httpd deployment course - in this case ...

Configuring Apache httpd
There are two approaches to bundling software for user installation. "The MicroSoft way" is to use an install wizard that drops each of the elements of the software into the best operational place on ...

cannot restore segment prot after reloc message - PHP / httpd
Here's a message that we got yesterday when building some of the machines on our Lamp deployment course [root@easterton apache2]# ./bin/apachectl start Syntax error on line 233 of ...

Virtual Hosting on Apache httpd - a primer example
A single web server computer, running a single Apache httpd daemon, can serve many domains through virtual hosting - usually "named virtual hosting" which allows a single IP address to be used for all ...

User and Group settings for Apache httpd web server
When you're running an Apache httpd web server, you should run it using a separate daemon user account and group set up for the purpose and not run it as either root (a horrific thing to do, as it ...

Default file (MiMe types) for Apache httpd and Apache Tomcat
Apache Tomcat web server default MIME type What file extension maps to what "Mime Type" in Apache Tomcat? It's important to know, since the Mime type is sent out by the server to the browser to tell ...

Extra public classes in deploying Apache httpd and Tomcat
We have just scheduled an additional two Deploying Apache httpd and Tomcat courses, to start on Monday 3rd and Wednesday 5th March 2008. This course is "flavour of the month" - I ran such a course ...

Which modules are loaded in my Apache httpd
Modules for use in httpd can be loaded statically or dynamicaly. A couple of core modules are built in by default if you build your own server, and you can choose others too using --enable options to ...

Upgrade Mac OSX to Leopard, Web Server Apache httpd config lost
We upgraded one of our Systems to OS X 10.5 (Mac, Leopard) recently and I have just enabled "Web Sharing" ... that's the Apache httpd daemon. To my horror I saw this ... ... rather than this ... ...

Load Balancing with Apache mod_jk (httpd/Tomcat)
A single instance of Apache httpd can handle a very large number of simple requests for files to be served ... but a single instance of Apache Tomcat can handle far fewer requests for applications to ...

Apache, Tomcat, Jakarta, httpd, web server - what are they?
If someone says "Apache" to me, that's a warning - a warning to listen very carefully to what they're saying and evaluate what they mean; the term has changed - been used (and abused) over the years ...

Simple but effective use of mod_rewrite (Apache httpd)
[Index under mod_rewrite tutorial] Do you want a single 'intelligent' web page to provide the content for tens or hundreds of URLs so that you don't have to write each similar page individually? Do ...

Sharing the load with Apache httpd and perhaps Tomcat
"Can you show us how to share the load of a web site between various servers" is one of the question that comes up quite often on the more advanced web server configuration courses that we run. And, ...

Apache httpd , browser, MySQL and MySQL client downloads
If you download a copy of the Apache httpd web server, does it come bundled with a browser as well? No - it doesn't. Although you'll access your web server through a browser most of the time (or ...

httpd.conf or .htaccess?
You can put Apache httpd configuration changes into both the httpd.conf file and files called .htaccess. What's the difference? Which should you use? If you put directives into httpd.conf - or any ...

Apache httpd and Apache Tomcat together tips
Many sites run two web servers - Apache httpd is ideal for plain HTML documents and scripts / programs that are single pages, run rarely, not all linked in together. Whereas Tomcat is an application ...

Browser -> httpd -> Tomcat -> MySQL. Restarting.
I've just completed a course covering the installation and configuration of Apache httpd, Apache Tomcat and MySQL. Complete with a demonstration that has the newly installed systems visited from ...

To list a directory under httpd on a web server, or not?
One of the choices a web server administrator has to make when he configures a web server is what to do with directories in which his content suppliers do not put a home page. Does he want to ...

An unhelpful error message from Apache httpd
"Your program doesn't work". Such reports cause technical support staff to be pulling their hair out. "In what way did it fail" they'll ask, hoping for some clue that can point them towards their ...

Stopping and restarting Apache httpd cleanly
If you'r running an Apache httpd server and you need to restart it, then you may be used to running: apachectl stop apachectl start and in close succession, those should cause only a minor blip in ...

Apache httpd to Tomcat - jk v proxy
Many of our customers run both the Apache httpd and Apache Tomcat web servers - with good cause, since Tomcat is biased towards web applications where the same code is run many, many times over and ...


© WELL HOUSE CONSULTANTS LTD., 2009: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho