I am not sure if this is the correct place to ask this question but everyone here is so smart I think someone will be able to help me.
I am running apache and mod_perl on windows 2000. I want to use CGI as my front page, index.html, but I am not sure how to do that? Right now I am doing this:
<html>
<head>
<title>HTML Test Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1
+">
<META HTTP-EQUIV="Refresh" CONTENT="0; URL=/cgi-bin/index.cgi">
</head>
</html>
I got the second meta line from someone elses code here. It runs the cgi script and it works fine but I want to be able to skip this step. I am new to html, apache and cgi so any help would be greatly appricated and any pointers on where to look would be great also.
Thanks,
Sam
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.