Welcome to WebmasterWorld Guest from 54.145.173.36

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

.HTaccess

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

10+ Year Member



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 :)
Raynor

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

WebmasterWorld Senior Member 10+ Year Member



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)

10+ Year Member



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)

10+ Year Member



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
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>

would that stop me?

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

WebmasterWorld Senior Member 10+ Year Member



>> 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)

10+ Year Member



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