Project

General

Profile

Bug #667

html files downloaded instead of displayed with mod_alias

Added by Anonymous about 14 years ago. Updated almost 12 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.

#1

Updated by stbuehler over 12 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.

#2

Updated by stbuehler almost 12 years ago

  • Status changed from Fixed to Invalid

Also available in: Atom