Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 25th, 2001, 12:37 AM
unluckyboy unluckyboy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Location: L.A.
Posts: 49 unluckyboy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
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.

Reply With Quote
  #2  
Old August 25th, 2001, 05:11 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > directory index doesn't show as localhost with 1.3.20


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT