[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

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

Posted on 2007-11-19
2
Medium Priority
?
5,384 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses
Course of the Month13 days, 6 hours left to enroll

656 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