Forum Moderators: coopster

Message Too Old, No Replies

htaccess

acces to directorier

         

Montbazin

11:55 am on Jul 24, 2005 (gmt 0)

10+ Year Member



Hello
When I try to go to a directory with mi Internet browser in order to display the files it contains, I get the following mention:
Forbidden, you dont have permission to access /mydir/ on this server
.
Is there a way to acces to this directoy by puttinge an
.htaccess 
file in it, and in that case what should I write into the
.htaccess 
file?

roberto

Longhaired Genius

1:15 pm on Jul 24, 2005 (gmt 0)

10+ Year Member



Your .htaccess file should contain:

options +indexes

You can customise your index with IndexOptions and IndexOrderDefault etc. Full details here [httpd.apache.org].

Montbazin

7:52 am on Jul 25, 2005 (gmt 0)

10+ Year Member



Thanx

But I know very little about .htaccess.
Could you please show me an example of the

.htaccess
script?

roberto

jatar_k

4:01 pm on Jul 25, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



try this

htaccess howto [httpd.apache.org]

Montbazin

7:55 am on Jul 26, 2005 (gmt 0)

10+ Year Member



OK thanx