Disable directory browsing apache isn't working

Alles, was den Apache betrifft, kann hier besprochen werden.

Disable directory browsing apache isn't working

Postby carlagall » 19. January 2017 14:30

I want to disable directory browsing in WordPress. But it's not working. Please help me. I've already edit htaccess (Options -Indexes)

This is folder httpd/

Code: Select all
 <Directory "${INSTALL_DIR}/www/">
    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    #
    # The Options directive is both complicated and important.  Please see
    # http://httpd.apache.org/docs/2.4/mod/core.html#options
    # for more information.
    #
    Options +Indexes +FollowSymLinks +Multiviews


    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   AllowOverride FileInfo AuthConfig Limit
    #
    AllowOverride all

    #
    # Controls who can get stuff from this server.
    #

   #   onlineoffline tag - don't remove
    Require all granted


   </Directory>
  <Directory ${INSTALL_DIR}/www/wp-includes>
  Options -Indexes
  AllowOverride None
  Order allow,deny
  </Directory>
carlagall
 
Posts: 1
Joined: 19. January 2017 14:27
XAMPP version: 2
Operating System: Win Server 2012

Re: Disable directory browsing apache isn't working

Postby Nobbie » 19. January 2017 20:18

carlagall wrote:This is folder httpd/


What is folder httpd/??

carlagall wrote:
Code: Select all
 <Directory "${INSTALL_DIR}/www/">


What is "${INSTALL_DIR}/www/"??

Seems you are totally wrong here, as this is

a) NOT(!) the Wamp Forum, but the Xampp Forum

b) NOT(!) an english Forum (there is an english forum, look in the botton), but a GERMAN forum.

But anyway, i think that you do not have Xampp installed, but this is the Xampp only Forum.
Nobbie
 
Posts: 9807
Joined: 09. March 2008 13:04


Return to Apache

Who is online

Users browsing this forum: No registered users and 5 guests