Welcome to WebmasterWorld Guest from 54.198.74.197

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

.HTaccess

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

New User

10+ Year Member

joined:Apr 6, 2003
posts:4
votes: 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 :)
Raynor

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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 22, 2002
posts:1750
votes: 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)

New User

10+ Year Member

joined:Apr 6, 2003
posts:4
votes: 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)

New User

10+ Year Member

joined:Apr 6, 2003
posts:4
votes: 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
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>

would that stop me?

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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 22, 2002
posts:1750
votes: 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)

New User

10+ Year Member

joined:Apr 6, 2003
posts:4
votes: 0


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

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members