My commonapache currently looks like this:
<Directory /var/ Options Indexes FollowSymLinks MultiViews
AllowOverride All
<IfModule mod_access.c>
Order allow,deny
Allow from all
</IfModule>
</Directory>
And:
<IfModule mod_dir.c>
DirectoryIndex index.html index.html.var index.php index.php3 index.shtml index.cgi index.pl index.htm Default.htm default.htm
</IfModule>
With this configuration, I only get the folder index when going to htdocs/myfolder/ on the web. (Yes, there is an index.html file in the folder.)
If I remove Indexes like this:
<Directory /var/ Options FollowSymLinks MultiViews
AllowOverride All
<IfModule mod_access.c>
Order allow,deny
Allow from all
</IfModule>
</Directory>
I get "forbidden" when I try to go to the myfolder directory. How do I get the index.html to open automatically?
(apache v. 2.0.50)
Thanks!
<Directory /var/ Options Indexes FollowSymLinks MultiViews
AllowOverride All
<IfModule mod_access.c>
Order allow,deny
Allow from all
</IfModule>
</Directory>
And:
<IfModule mod_dir.c>
DirectoryIndex index.html index.html.var index.php index.php3 index.shtml index.cgi index.pl index.htm Default.htm default.htm
</IfModule>
With this configuration, I only get the folder index when going to htdocs/myfolder/ on the web. (Yes, there is an index.html file in the folder.)
If I remove Indexes like this:
<Directory /var/ Options FollowSymLinks MultiViews
AllowOverride All
<IfModule mod_access.c>
Order allow,deny
Allow from all
</IfModule>
</Directory>
I get "forbidden" when I try to go to the myfolder directory. How do I get the index.html to open automatically?
(apache v. 2.0.50)
Thanks!