?
Solved

apache warning "/.htaccess indexes options not allowed here"

Posted on 2007-11-19
2
Medium Priority
?
5,338 Views
Last Modified: 2012-08-14
I am hosting a site.  I can access the site externally.  In my apache2 error_log file I get:

/var/www/mywebsite/community/media/.htaccess: Option Indexes not allowed here, referer: http://mywebsite/community

mywebsite is just a placeholder.

my httpd.conf:

NameVirtualHost *:80
<VirtualHost *:80>
ServerName mywebsite.com
ServerAlias mywebsite.com *.mywebsite.com
DocumentRoot /var/www/mywebsite
ErrorLog /var/www/mywebsite/error_log
</VirtualHost>

I looked in /var/www/mywebsite/community/media and I see a .htaccess file.  Here it is:  

Options -Indexes
<FilesMatch "^.*\.php|.*\.html|.*\.pl$">
ForceType application/x-httpd-php-source
</FilesMatch>


What is wrong here?
Thanks in advance for your help,
 
0
Comment
Question by:AgilityIS
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Author Comment

by:AgilityIS
ID: 20317648
i got it

<Directory /var/www/mywebsite/>
            Options Indexes FollowSymLinks MultiViews
            AllowOverride None
            Order allow,deny
            allow from all
</Directory>

Thanks, it just took a little more reading in the good ole apache book.
0
 

Accepted Solution

by:
EE_AutoDeleter earned 0 total points
ID: 20968306
ijk111,
Because you have presented a solution to your own problem which may be helpful to future searches, this question is now PAQed and your points have been refunded.

EE_AutoDeleter
0

Featured Post

Limited time offer using promo code EXPERTS30

Designed with a wealth of functionality and convenience, ATEN's new Thunderbolt™ 2 Sharing Switch takes your Thunderbolt setup to the next level. Now through September 15, 2017, Experts Exchange members get 30% off the US7220 on the ATEN USA eShop using promo code EXPERTS30.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses
Course of the Month10 days, 6 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question