Actions
Bug #667
closedhtml files downloaded instead of displayed with mod_alias
ASK QUESTIONS IN Forums:
Description
I am trying to do a simple alias like this
$HTTPhost == "my.host.com" {
server.document-root = "/home/sites/my.host.com/php/"
alias.url = ( "/html/" => "/home/sites/my.host.com/html/" )
}
It works with php and html files in the php directory, but when I redirect from /index.php to /html/en/index.html, the browser tries to download the file.
If I create the html file in the php directory it displays fine. I have the correct mime settings.
Updated by stbuehler over 16 years ago
- Status changed from New to Fixed
- Resolution set to invalid
mod_alias cannot display anything.
Perhaps you should be a little bit more specific what you wanted, what you did and what you got.
Actions
Also available in: Atom