httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] Directory Configuration
Date Sat, 16 Nov 2002 02:06:17 GMT

On Fri, 15 Nov 2002, Evje wrote:
> A person has his webpages in a directory on (in
> htdocs)(no domain name so no VirtualHost involved).
> The url is as follows:
> (don't ask me
> why??)
> How can I set up the directory in Apache httpd config to go to this url
> without the directory listing
> showing and without having to add the /index/abcd.html
> I tried the following and it still shows the directory contents.
> <Directory "C:/Apache2/htdocs/directoryname">
>      DirectoryIndex index/abcd.html

That's odd.  Perhaps relative paths don't work.  Two alternatives:
DirectoryIndex /directoryname/index/abcd.html
AliasMatch ^/directoryname/$ "c:/Apache2/htdocs/directoryname/index/abcd.html"


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message