DocumentRoot /path/to/cgi-bin
Alias /cgi-bin /path/to/cgi-bin
?
I'm not sure dumping all incoming users into your cgi-bin directory is good
idea ...
But right now your documentroot points to some local directory - does the
web server need to serve file out of that directory still ? i.e., do you
want listserv.state.nv.us redirected to /cgi-bin or do you want
listserv.state.nv.us/index.html redirected to /cgi-bin ?
If it is just index.html you want redirected, then use metatag. Make an
index.html file with only the following in it and put it in document root.
<meta http-equiv="refresh" content="0;
URL=http://listserv.state.nv.us/cgi-bin/">
-----Original Message-----
From: LISTSERV give-and-take forum [mailto:[log in to unmask]]On
Behalf Of Patrick B. O'Brien
Sent: Friday, April 15, 2005 10:37
To: [log in to unmask]
Subject: redirect my listserv.state.nv.us to
listserv.state.nv.us/cgi-bin/wa using apache
I need to redirect my listserv.state.nv.us to
listserv.state.nv.us/cgi-bin in my apache httpd.conf file.
I have the following, but no joy, any thoughts, TIA.
Redirect permanent http://listserv.state.nv.ushttp://listserv2.state.nv.us/cgi-bin/wa