hi all -
gotta situation where index.html loads but index.shtml gives me:
You don’t have permission to access / on this server.
i went into SystemSettings–>ServerTemplates–>Default, and selected “Apache Website” from the dropdown.
i tried changing the plus sign to a minus (please see attached) as per some earlier documentation, but that didnt seem to do it.
What option did you add the
Just to clarify, adding a
minus option actually disables it.
hello tnp -
actually i just flipped a sign, and quickly flipped it back. i may not know much, but i have learned (the hard way) to make one change, note it, test it, and change it back if i dont get the desired results (and backup httpd.conf)
but my question still stands: i seem to recall some place in the world of apache where i tell apache to look for defaults such as:
and i needed to add the following entry:
to this list.
0given how incredibly complete virtualmin is, i thought i would ask in the newbie forum first !
No worries, from the
Virtualmin > System Settings > Server Templates > Default Settings > Apache website page, update the
Directives and settings for new websites.
In the line reading
Options -Indexes… add at the end
This will enable server-side includes for new domains created. You may need to update existing domains manually by going into the
ok just double-checking:
Options -Indexes -IncludesNOEXEC +FollowSymLinks
allow from all
this gets changed to:
Options -Indexes -IncludesNOEXEC +FollowSymLinks Includes
allow from all
i am trying to document every virtualmin change i make!
hmmm sadly, none of these seemed to fix it. then i remembered what i used to do in my pre-virtualmin life:
i changed this line in httpd.conf
DirectoryIndex index.html index.htm index.php index.php4 index.php5
to look like this:
DirectoryIndex index.html index.htm index.php index.php4 index.php5 index.shtml
and then issuing an “apachectl restart ;”
but it still feels like i am cheating virtualmin by manually editing httpd.conf
where should i have been able to set this?
Yes, that part does make it “one” of the default
I’ve opened a “feature request” for this, as I understand that some people still use
Server Side Includes so this could become a simple, yet valuable feature for you and others.
You can follow the “feature request” by visiting:
*** I think it’s safe to say that this feature will “likely” make it into an upcoming feature as outlined in my request, or in some other form. ***