From: Rhonda Hyslop (0x7ff00025_at_paradox.homeip.net)
Date: Mon Sep 27 2004 - 23:17:44 PDT
* Michael Blazer <m.blazer_at_utoronto.ca> [27 Sep 2004 21:04]:
> Eckhart's method worked for me, but when I use the other location
> suggested by Mark (i.e., ~Sites/), no default file listing appears.
unless 'Sites' is the account name, you probably meant ~/Sites/"
> Instead, I get a "forbidden" message when I try to browse to any folder
> that does not contain a file called index.html.
>
> So my question is: can I get Apache to do that default listing trick
> somewhere in my Home folder rather than in /Library/WebServer/?
Try this: create a file called .htaccess (yes, starting with a dot) in
your 'home' web directory, and put the following line in it:
Options +Indexes
This will turn on index autogeneration, if your server config allows you
to set options (I'm pretty sure apache does by default.)
-Rhonda
-- www.write-on.indy || www.write-on.org \/ http://history.ubcengineers.ca/ Discuss the art and craft of writing /\ UBC Engineers History Project That's the problem with world domination. Nobody is willing to wait for it anymore, work slowly towards it, drink more and enjoy the ride more. -- This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries Official Newton FAQ: http://www.chuma.org/newton/faq/ WikiWikiNewt for all kinds of articles: http://tools.unna.org/wikiwikinewt/
This archive was generated by hypermail 2.1.5 : Tue Sep 28 2004 - 21:30:01 PDT