[ale] Apache redirects
Jerry Z. Yu
z.yu at Ptek.com
Tue Nov 20 12:52:20 EST 2001
It'd be more secure to avoid processing .cgi file in just any dir.
I guess the same should go to .php. I'd feel more comfortable just using
HTML's own redirect capabilities for this purpose, more portable/secure.
On Tue, 20 Nov 2001, Cleveland Flowe wrote:
#Gene Matthews wrote:
#>
#> I have an apache question. It's hopefully easy if you know apache well
#> (I don't). I have a cgi prog in cgi-bin. What I would like to happen
#> is when someone goes to the website via http://whatever.com/ the cgi
#> program in ../cgi-bin/cgiprog gets run to produce the page.
#>
#> I tried doing this in /var/www/html/:
#>
#> ln -s ../cgi-bin/cgiprog index.html
#>
#> That didnt' work. It produced a bunch of garbage. I don't know much
#> (anything?) regarding url redirection, but is that what I should be
#> trying here?
#
#You could add index.cgi to your DirectoryIndex, assuming that
#"AddHandler cgi-script .cgi" was issued in your config.
#
#---
#This message has been sent through the ALE general discussion list.
#See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
#sent to listmaster at ale dot org.
#
Jerry Z. Yu +1-404-262-8544 (O)
Systems Engineer z.yu at ptek.com
IS Support, Voicecom, www.voicecom.com
A business unit of PTEK Holdings, Inc. www.ptek.com
-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-
Manage all your important communications =\
and information in one place using ==> www.orchestrate.com
Voicecom's Orchestrate service. =/
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list