Ticket #667 (closed defect: invalid)

Opened 2 years ago

Last modified 3 weeks ago

html files downloaded instead of displayed with mod_alias

Reported by: anonymous Assigned to: jan
Priority: normal Milestone: 1.4.20
Component: mod_alias Version: 1.4.11
Severity: normal Keywords:
Cc: Blocking:
Need Feedback: 0

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.

Attachments

Change History

04/25/2008 02:12:02 PM changed by stbuehler

  • status changed from new to closed.
  • resolution set to invalid.
  • blocking changed.
  • pending changed.

mod_alias cannot display anything.

Perhaps you should be a little bit more specific what you wanted, what you did and what you got.


Add/Change #667 (html files downloaded instead of displayed with mod_alias)




Change Properties
Action