|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
directory index doesn't show as localhost with 1.3.20
I just recently upgraded to APache 1.3.20 and I am running it on WIndows as localhost, but when I go to http://localhost/directory (this directory doesn't have an index file) and usually it would show the contents of this directory, but now it give me this error message.
Forbidden You don't have permission to access /directory/ on this server. Anyone have any suggestions. |
|
#2
|
|||
|
|||
|
This is the most asked and no. 1 question in this forum as well as in Apache's FAQ.
If you want to enable Directory listing globally, put: <Directory "/path/to/docroot"> Options Indexes ... </Directory> For your specific directory (assuming you have Indexes enabled globally), it is inherit from your docroot because its filesystem path is under your docroot. Say you don't have access to httpd.conf and you think your server has Indexes disabled by default, but you are allowed to override Indexes. Example: <Directory "/path/to/docroot"> Options None AllowOverride Indexes .. </Directory> You can then use http://localhost/.htaccess or http://localhost/directory/.htaccess and place Options +Indexes in it. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > directory index doesn't show as localhost with 1.3.20 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|