[Techtalk] Apache: Seems simple???

Becky Norum bnorum at coe.neu.edu
Mon Apr 14 18:36:31 EST 2003


Michelle,

Try creating a .htaccess file inside your /xina directory that includes
the one line:

    DirectoryIndex index.cgi index.html

That should make index.cgi the default page..

Becky

On Mon, 2003-04-14 at 22:24, Michelle Murrain wrote:
> I have what should be a very simple Apache configuration issue. I 
> have a ScriptAlias directory that I have been using for ever. I want 
> to add a cgi script (index.cgi) to it, so that if someone goes to 
> http://www.some.url/xina/ (xina is the name of the script aliased 
> directory) index.cgi will be executed.
> 
> In my httpd.conf, there is a DirectoryIndexes directory that includes index.cgi
> 
> In addition, just for overkill, I added a DirectoryIndexes directive 
> to my <Directory /foo/bar> </Directory> inside my virtual host 
> configuration.
> 
> However, I get a 403 error (forbidden) when I try 
> http://www.some.url/xina, but http://www.some.url/xina/index.cgi
> works just fine.
> 
> What am I missing?
> 
> Thanks!!




More information about the Techtalk mailing list