Results 1 to 4 of 4
Hello,
I apologize for this extremely newbie question. I searched around but couldn't find an answer, perhaps I'm not searching for the correct terms.
I installed a web application, which ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-31-2008 #1Just Joined!
- Join Date
- Jan 2008
- Posts
- 2
apache redirecting default home page
Hello,
I apologize for this extremely newbie question. I searched around but couldn't find an answer, perhaps I'm not searching for the correct terms.
I installed a web application, which required an install of apache, and resides in cgi-bin. It works, but I need to go to http://xxx.yyy.zzz/cgi-bin/some_app.cgi to utilize. How can I tweak apache so that I merely have to go to http://xxx.yyy.zzz to get to that one specific cgi file. There are several other .cgi files in the cgi-bin directory.
Thanks for any help!
- 02-01-2008 #2Just Joined!
- Join Date
- Nov 2007
- Posts
- 8
Use a virtual Host in your apache config. Pretty easy and I'm sure you can find something about this in google
Aaron
- 02-01-2008 #3Just Joined!
- Join Date
- Jan 2008
- Posts
- 2
Wouldn't I have to set up a second IP address to do that?
- 02-01-2008 #4
using name based virtual hosts (google it) you can have multiple names all on the same apache install and using the same ip. to redirect like you are talking you can probably use a redirectmatch command in a virtual host
apache redirectmatch - Google Search


Reply With Quote
