Welcome to WebmasterWorld Guest from 18.104.22.168 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Pubcon Platinum Sponsor 2014
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 :)
Hello Raynor, welcome to WebmasterWorld.
Could you perhaps explain what you mean? Are you talking about enabling directory listings? If so, put
into that directory's .htaccess Raynor
your right, i wasnt very clear in my previous post, sorry :)
but your suggestion was exactly what i was after, thanks! :)
hmm, my server didnt seem to like that :(
i'm guessing it's disabled somewhere?
heres the .htaccess in my root
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?
>> 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:
[ ] and httpd.apache.org [ ] httpd.apache.org Raynor
yes, i put the .htaccess file in the directory i want to see, but it just gives me an "Internal Server Error"