On maandag 12 juli 2004 21:20, Marlier, Ian wrote:

> -----Original Message-----
> From: Wouter van Vliet [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 12, 2004 3:00 PM
> On maandag 12 juli 2004 20:39, Stas Bekman wrote:
> 
>> Marlier, Ian wrote:
>>> Hey, all --
>>> 
> (..)
>>> 
(..)
>> 
>> 
> 
> I think it would even be a bit better to not have php files (or
> anything else) in the directory RT uses, and leave the ticketing
> system alone. Not
> sure, but it might rely on html/shtml or whatever files to be sent
> through
> the RT::Mason handler. Might wanna consider to change the <Location />
> part
> to point to the location your RT files are at. So, if you access your
> RT installation via http://some.host.com/rtickets/ you use <Location
> /rtickets>. Or move this bit of configuration to your <VirtualHost>
> section,
> ... Or use the <Directory> tag to point to your RT installation path.
> 
> Wouter
> 
> 
> I'm sure you're right about RT needing the html/shtml handlers to go
> through the RT::Mason handler -- at least there's enough perl code in
> there to make me assume so.
> 
> That said, I'm still confused why the index.html page won't display --
> regardless of the handler, index.html should still be the default
> DirectoryIndex page.
> 
> The RT location, incidentally, is just the root:
> http://help.studentuniverse.com/ without a subdir.

The configuration you pointed out, if it's set globally (outside of any
VirtualHost section), tells Apache to handly any file under that Location
with RT::Mason. Not just the perl files. So, all html, shtml, gif, jpg, tmp,
asdfasfas .. Or whatever extension there might be, it will be send through
RT::Mason. As well as any url, if I'm correct (I think I am, but of course
everybody is free to correct me if I'm not). So, a request to
http://help.studentuniverse.com/ will come out in RT::Mason, which will
(somehow) find out which file it wants to pass on to the client. That's why.

What I get from your url is that you probably run your ticketing system
under a VirtualHost, so it would be safe (and adviced) to move any RT
configuration into that VirtualHost section, to prevent other sites on the
same server from being influenced by it's configuration.



-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to