|
Apache Configuration
The first time
you attempt to do any customizations on your Apache server can be a little scary.
You don't want to destroy the two hours of work you just put into your first
installation, and the Apache site is a little
confusing to navigate because they assume you know what you are looking for.
. .
Here are the most
important (to get your Perl scripts operational) links to know.
For a list of the
different types of handlers:
http://www.apache.org/docs/handler.html
For a complete
list of what every single word in your configuration file means:
http://www.apache.org/docs/mod/directives.html
The official
word on how to set up and enable CGI and SSI (server-side includes)
on your site. Look in section 'F' of:
http://www.apache.org/docs/misc/FAQ.html
How to enable
your apache server to handle cgi-bin scripts (the short version):
Check a couple
things in your config file. These two lines must be somewhere in (httpd|srm|access).conf.
ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin"
AddHandler cgi-script .cgi
These two lines
are not enabled by default, you need to change them yourself. You can also tell
your server to handle scripts ending with .pl by changing the line to :
AddHandler cgi-script .cgi
.pl
Don't forget that
any changes you make in your configuration will not go into effect until you
kill and restart your apache server.
Oakbox Productions,
All rights reserved. © 1999, 2000
All scripts, advice, and information offered are offered
as-is with no guarantee as to useabilty or utility for a particular purpose.
I cannot assume any responsibility for your implementation of this information,
because I have no control over it when it leaves this site. I do not sell
or share your information with anyone. |
|