Weirdness using local/WebRT/html

If I create a directory /opt/rt2/local/WebRT/html/reports, and put
the reports.html and statusreport.html files from contrib in it,
Mason (?) finds them and processes them, but seems to return them as
text/text rather than text/html, as my browser displays the HTML. If I
create /opt/rt2/WebRT/html/reports, but leave it empty (and the actual
reports.html under local…, it works. If I put the html files in
…local/WebRT/html, it works.

Is this expected? Why? The reason I want this is to

a) not have local stuff intermixed with the RT2 “product”

b) not have the namespace intermixed (which is why I don’t like the idea
of having the reports in local/WebRT/html)

Thanks,
Steve

Are you using mod_perl or fastcgi? What’s your webserver’s default filetype
set to? text/plain or text/html?On Wed, Nov 07, 2001 at 02:15:13PM -0600, Steve Greenland wrote:

If I create a directory /opt/rt2/local/WebRT/html/reports, and put
the reports.html and statusreport.html files from contrib in it,
Mason (?) finds them and processes them, but seems to return them as
text/text rather than text/html, as my browser displays the HTML. If I
create /opt/rt2/WebRT/html/reports, but leave it empty (and the actual
reports.html under local…, it works. If I put the html files in
…local/WebRT/html, it works.

Is this expected? Why? The reason I want this is to

a) not have local stuff intermixed with the RT2 “product”

b) not have the namespace intermixed (which is why I don’t like the idea
of having the reports in local/WebRT/html)

Thanks,
Steve


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.

Are you using mod_perl or fastcgi? What’s your webserver’s default filetype
set to? text/plain or text/html?

RT 2.0.8
mod_perl, not DSO.
DefaultType text/plain

and:

Redhat Linux 7.1
Apache 1.3.20, built locally

Steve