directory list for restricted access settings

Problems with the Windows version of XAMPP, questions, comments, and anything related.

directory list for restricted access settings

Postby jmichae3 » 26. July 2012 08:30

in the main settings I have
Code: Select all
<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>


<VirtualHost 127.0.0.1:80>
   ServerName junk
   DocumentRoot e:/HTMLjunk
    <Directory e:/HTMLjunk/>
      <RequireAll>
         Require all granted
      </RequireAll>
    </Directory>

   #ServerAlias junk
    #ServerAdmin nobody@nowhere.com
    ErrorLog logs/htmljunk-error.log
    CustomLog logs/htmljunk-access.log common

    #this is a junk test directory, so we want a directory listing when accessing / using mod_autoindex
    Options Indexes FollowSymLinks Includes ExecCGI
    AllowOverride All
    Order allow,deny
    Allow from all
</VirtualHost>


the apache manual isn't clear in what tags a lot of these directives belong, or I would be doing this myself.
I get an syntax error on the AllowOverride and I don't know why.
-------------------------
Jim Michaels
jmichae3
 
Posts: 39
Joined: 12. November 2007 09:41
Operating System: win7-64-sp1-ult-retail

Re: directory list for restricted access settings

Postby jmichae3 » 26. July 2012 08:38

just got it working.
Code: Select all
<VirtualHost 127.0.0.1:80>
   ServerName tc
   DocumentRoot e:/prj/tc-search/10-commandments-2.1
    <Directory e:/prj/tc-search/10-commandments-2.1/>
      <RequireAll>
         Require all granted
      </RequireAll>
      #this is a junk test directory, so we want a directory listing when accessing / using mod_autoindex
      Options Indexes FollowSymLinks Includes ExecCGI
      AllowOverride All
      Order allow,deny
      Allow from all
    </Directory>
   #ServerAlias tc-search
    #ServerAdmin nobody@nowhere.com
    ErrorLog logs/tc-error.log
    CustomLog logs/tc-access.log common
</VirtualHost>
-------------------------
Jim Michaels
jmichae3
 
Posts: 39
Joined: 12. November 2007 09:41
Operating System: win7-64-sp1-ult-retail


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 49 guests

cron