homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum


 2:42 pm on Apr 6, 2003 (gmt 0)

not sure if this is the right forum, but seemed the best place :)

i want to make one "pub" folder on my site viewable, since i travel a lot and would like to put certain files in there for easy access.

i'm assuming i need to create a custom .htaccess file for that directory, so i dont get the "forbidden" message, but have no idea how to do this

any help would be appreciated :)



 5:54 pm on Apr 6, 2003 (gmt 0)

Hello Raynor, welcome to WebmasterWorld.

Could you perhaps explain what you mean? Are you talking about enabling directory listings? If so, put
Options +Indexes
into that directory's .htaccess


 6:17 pm on Apr 6, 2003 (gmt 0)

your right, i wasnt very clear in my previous post, sorry :)

but your suggestion was exactly what i was after, thanks! :)


 6:24 pm on Apr 6, 2003 (gmt 0)

hmm, my server didnt seem to like that :(

i'm guessing it's disabled somewhere?

heres the .htaccess in my root

# -FrontPage-

IndexIgnore .htaccess */.?* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
order deny,allow
deny from all

would that stop me?


 7:43 am on Apr 7, 2003 (gmt 0)

>> would that stop me?

No. Instructions in a .htaccess-file should override instructions in a .htaccess in a higher directory. You did put the 'options +indexes' in a .htaccess in the directory you want to see the listing of?

Here's the official documentation:
[httpd.apache.org ] and
[httpd.apache.org ]


 12:41 pm on Apr 7, 2003 (gmt 0)

yes, i put the .htaccess file in the directory i want to see, but it just gives me an "Internal Server Error"

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved