[ale] Apache redirects
gene at mmc-inc.com
Tue Nov 20 12:20:26 EST 2001
Thanks, Jerry! I can't believe I didn't think of that!
I just made index.html into index.php and coded it with:
And it works great.
Yu, Jerry wrote:
> The simplest, would be doing a relocation (redirect) in index.html to point
> to the CGI location.
> This way you don't need to touch apache config.
>>From: Gene Matthews [SMTP:gene at mmc-inc.com]
>>Sent: Tuesday, November 20, 2001 11:50 AM
>>To: ale at ale.org
>>Subject: [ale] Apache redirects
>>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
>>Any/all thoughts are appreciated.
>>This message has been sent through the ALE general discussion list.
>>See http://www.ale.org/mailing-lists.shtml for more info. Problems should
>>sent to listmaster at ale dot org.
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