Project

General

Profile

Actions

Bug #667

closed

html files downloaded instead of displayed with mod_alias

Added by Anonymous almost 18 years ago. Updated over 15 years ago.

Status:
Invalid
Priority:
Normal
Category:
mod_alias
Target version:
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.

Actions #1

Updated by stbuehler almost 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 #2

Updated by stbuehler over 15 years ago

  • Status changed from Fixed to Invalid
Actions

Also available in: Atom