On 2018-02-22 (15:38 MST), Kent West <[email protected]> wrote:
>
> But I still need to manually be able to get to the full-blown .php-based
> site. When I web-browse to sitename/index.php, it reroutes to
> sitename/index.html. If I change the .conf file to "DirectoryIndex index.html
> index.php" and restart Apache2, that doesn't help.
I have, in http.conf:
<IfModule dir_module>
DirectoryIndex index.php index.html
</IfModule>
Which loads index.php by default if it's present, otherwise index.html
Neither 'redirects' to the other.
I've never used a site.conf in this way, but I have overridden the default in a
site conf:
DirectoryIndex index.htm
for example.
Wordpress has a pretty complicated .htaccess file, did you check there?
--
"I've just learned about his illness. Let's hope it's nothing trivial."
Irvin S. Cobb
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]