Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: .htaccess
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: .htaccess



Thanks Nico

From my reading, (http://httpd.apache.org/docs/1.3/howto/ htaccess.html) your example looks like the form used when modifying the http.conf file not an htaccess file. Unfortunately, because the account in question is a hosted account at GoDaddy.com, I have no access to the Apache configuration file, so must use htaccess. What would a complete "cut and pasteable" htaccess file look like for Indexes on a single directory.


On Apr 11, 2008, at 6:11 PM, 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:
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: 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 © 2011 Apple Inc. All rights reserved.