[WEB4LIB] Redirect html->cgi?
Vladislav S. Davidzon
vladislav at davidzon.com
Thu Aug 20 16:33:23 EDT 1998
Why not use a link and the meta automatic reload/redirect tags?
-vd
> -----Original Message-----
> From: web4lib at webjunction.org
> [mailto:web4lib at webjunction.org]On Behalf Of lydia
> Sent: Thursday, August 20, 1998 4:30 PM
> To: Multiple recipients of list
> Subject: [WEB4LIB] Redirect html->cgi?
>
>
>
> Has anyone attempted to redirect users from a single html page to a
> single cgi script? Can it be done? (We're running Apache 1.3 on
> Solaris.)
>
> I've tried out the intuitively obvious theories already, with these
> results:
>
> 1. symlink from "moveme.html" to "moved.cgi" --
> The link works fine, but the webserver displays the destination
> file as html, rather than handling it as a cgi script.
>
> 2. ScriptAlias from httpd.conf --
> ("ScriptAlias /path/moveme.html /path/moved.cgi")
> I had a theory that it would be possible to tell the server that
> in this single instance, it could execute an html document as cgi.
> Since ScriptAlias is designed to specify an entire directory,
> rather than a single filename, it's unsurprising that this just
> returns our 404 error message.
>
> 2. Redirect from httpd.conf --
> ("Redirect /path/moveme.html http://server.foo.edu/moved.cgi")
> Of course, ScriptAlias is also designed to work with entire
> directories--so this is essentially the same solution as the symlink.
>
> It begins to seem like I'm just requesting functionality that can't
> exist. Any intrepid souls out there already faced this?
>
> ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
> Lydia Ievins, Systems Librarian Office for Information Systems
> phone 617/495-3724; fax 617/495-0491 Harvard University Library
> ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
>
>
>
>
>
>
More information about the Web4lib
mailing list