Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: .htaccess



Of course you would only need to use the Directory tag if you use it in your Apache conf. If you use it in an htaccess file you can just specify Options +Indexes which will affect the directory which contains the htaccess file.


On 12 Apr 2008, at 12:11 AM, Nico du Plessis wrote:

Hi Ken

The "Options +Indexes" will tell Apache to allow directory listings on a directory.
You would need to wrap it in a Directory tag, e.g
<Directory /path/to/your/directory>
Options +Indexes
</Directory>


Kind regards,

Nico du Plessis

On 12 Apr 2008, at 12:07 AM, Ken Tozier wrote:

Hi

I want to make a specific folder visible and from several tips, I'm told, creating an .htaccess file is what I need to do. I read the documentation at the Apache web site and while it explains what all the htaccess options are, I couldn't find a single complete example of what an htaccess file is supposed to look like.

If all I want to do is expose all files and folders in a specific directory, what would the corresponding htaccess file look like and where should it go

Thanks for any help
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/web-dev/email@hidden

This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Web-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/web-dev/email@hidden

This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Web-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/web-dev/email@hidden

This email sent to email@hidden
References: 
 >.htaccess (From: Ken Tozier <email@hidden>)
 >Re: .htaccess (From: Nico du Plessis <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.