Sub directory issue

Hey guys, I'm encountering an odd problem. The last change I made to my server was updating virtualmin to 3.79. so i'm guessing this is what caused the issue.

When I try to access a subfolder on my site, like my clients section at www.example.com/clients I'm being prompted to download a phtml file? If i type in www.example.com/clients/index.php everything works correctly. Prior to my upgrade, either way worked fine. Does anyone have any ideas on what I need to change/add to the directory so that it works like it did before?

Thanks

2 Replies

Sounds like the name of your index file has been corrupted or another index file has been added.

check all of your index.???? files.

Typically index.htm index.html or index.php will automatically load when you access that directory. You should only have one index file.

Jeff

Thanks Jeff.

I uploaded a copy of my index.php file from a backup a week ago and it's still doing the same thing. I only have one index file(index.php)

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct