🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: csu.cs
Article #51

Re: Perl script as default web page

#51
From: Michael Dwyer
Date: Fri, 31 Mar 2000 00:00
27 lines
1781 bytes
In csu.cs Adam Carheden <carheden@holly.colostate.edu> wrote:
: But what if I want my default web page to be a perl script?  I could put
: an http redirect in in the headers of index.html, but that makes the
: back button not work (unless you're really quick), and I /HATE/ that. 
: This is for my cs web page, so remember in your answer that I don't have
: admin access to the web server.

: The question is worth 100 points.  You have 10 minutes to answer.

Step One: Assume spherical cow
Step Two: Remove Battery
Step Three: Try to add the DirectoryIndex directive to a .htaccess
	    file in the directory in question.
Step Four: Test
Step Five: Buy Michael a Guinness
Step Six: Cha-cha-cha

And if that doesn't work, ask the admins to add it to that directive.

Or you could always use a REDIRECT meta tag in an index.html file to
immediatly redirect to your perl...

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Michael J. Dwyer                    Digital Watches are a neat idea!
mdwyer@holly.ColoState.edu       http://WWW.CS.ColoState.EDU/~dwyer/
Computer Science Major                      Amateur Radio Tech N0ZAP
Technical Details
Message-ID: <38e46262@news.ColoState.EDU>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <38E44B73.374B9CD1@holly.ColoState.EDU>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 148df6,9a7052c4776d09a0
X-Google-Attributes: gid148df6,public
X-Google-Thread: 1159f7,9a7052c4776d09a0
X-Google-Attributes: gid1159f7,public
From: Michael Dwyer <mdwyer@holly.ColoState.EDU>
Subject: Re: Perl script as default web page
Date: 2000/03/31
Message-ID: <38e46262@news.ColoState.EDU>
X-Deja-AN: 604705610
References: <38E44B73.374B9CD1@holly.ColoState.EDU>
X-Trace: 31 Mar 2000 01:31:30 -0700, holly.acns.colostate.edu
User-Agent: tin/pre-1.4-19990517 ("Psychonaut") (UNIX) (AIX/4-3)
Newsgroups: csu.cs,csu.unix.linux