[ale] Apache redirects

Cleveland Flowe flowe at innoverse.com
Tue Nov 20 12:38:43 EST 2001


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.






More information about the Ale mailing list