Apache ?
Parker Thompson
parkert at u.washington.edu
Mon Jan 27 23:46:42 PST 2003
Try the DirectoryIndex directive. See:
http://httpd.apache.org/docs/mod/mod_dir.html
for more info.
An example might look like this:
<IfModule mod_dir.c>
DirectoryIndex index.php index.html index.cgi
</IfModule>
....and make sure to restart apache afterwords.
later,
pt.
--------------------------------------------------------
"Fighting a war over religion is like getting in a
fist-fight over who has the better invisible friend."
- Comedy Central
In our last episode Jeremy Claeson exclaimed:
:I'm running apache 1.3.27 on FreeBSD 4.7. I've created some virtual
:hosts successfully for some domains and they all work fine. Now what I'm
:trying to do is set up a place for users to check their email over the
:web using sqwebmail. So, I'd like to have a virtual host like so:
:webmail.domain.com. The problem is that sqwebmail is a cgi program and I
:don't know how to have that be executed automatically when the user
:browses to that site. I've tried changing the directives in httpd.conf
:to enable cgi programs to be executed from the doc/root and I've also
:renamed the program to index.cgi and added that to the list of default
:docs like index.html.
:
:Anyone know how to do that?
:Thanks!
:jer
:
:
:
More information about the Linux
mailing list