[rt-users] ticket attachment link not working - path not crea ted

Jesse Vincent jesse at bestpractical.com
Mon Mar 31 14:51:14 EST 2003


Can you send rt-users the relevant bits of your httpd.conf?


On Mon, Mar 31, 2003 at 09:23:25AM -0800, Ward, Chris wrote:
> nope its a stock apache config.. I had installed rt 2.0.15 and had the same
> problem so I commented out the items in httpd.conf and installed rt3 and
> added the items to the config for it. I had to make and install a couple of
> the perl dependancies becuase the make check failed during the
> "sbin/rt-test-dependencies --install" stuff but I didnt note which ones I
> had to install manually.. is there a couple of the perl dependancies that I
> should go double check with regard to attachments.. what causes apache to
> send a request to the /ticket/attachment/x/y/attachment to RT and which item
> is called in its place? I'm actually getting a 403 error.. the directories
> are set as:
> 
> drwxr-sr-x    4 root     bin          4096 Mar 24 08:38 Ticket
> and in the Ticket dir...
> drwxrwxrwx    3 root     bin          4096 Mar 27 17:29 Attachment
> 
> I chmod'd the Atachment dir to 777 to see if that would help.. I'm running
> apache as nobody, nobody. I poked around the database and it appears that
> the attachments made it in there.. any ideas or suggestions?
> 
> Thanks,
> Chris.
> 
> -----Original Message-----
> From: Jesse Vincent [mailto:jesse at bestpractical.com]
> Sent: Saturday, March 29, 2003 3:27 PM
> To: Sebastian Flothow
> Cc: rt-users at lists.fsck.com
> Subject: Re: [rt-users] ticket attachment link not working - path not
> created
> 
> 
> Let me guess. you're using a FileMatch directive in your httpd.conf.
> Which means that apache doesn't know to hand off that request to RT.
> 
> 
> On Sat, Mar 29, 2003 at 08:43:48PM +0100, Sebastian Flothow wrote:
> > >For example I see I should have a
> > >rt.site.com/Ticket/Attachemnt/9/27/filename.txt file per the link in the
> > >ticket but when I click on the link I get a forbidden error..
> > 
> > Probably something strange in your Apache config, have a look at access 
> > permissions. Is your RT instance a VHost inheriting something from the 
> > global config?
> > 
> > 
> > >I get the feeling that it should
> > >be saving the attachment in the database so I'm not sure why I'm 
> > >getting a
> > >hard file system path in the first place..
> > 
> > Yes, attachments are stored in the DB, so you should check directly in 
> > the DB whether they get stored.
> > The attachment URLs are just made up to look like there was an actual 
> > file, so that browsers will suggest the original file name when 
> > saving/downloading.
> > 
> > 
> > 
> > Sebastian
> > 
> > --
> > Sebastian Flothow
> > sebastian at flothow.de
> > #include <stddisclaimer.h>
> > 
> > _______________________________________________
> > rt-users mailing list
> > rt-users at lists.fsck.com
> > http://lists.fsck.com/mailman/listinfo/rt-users
> > 
> > Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
> 
> -- 
> http://www.bestpractical.com/rt  -- Trouble Ticketing. Free.
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 
> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

-- 
http://www.bestpractical.com/rt  -- Trouble Ticketing. Free.



More information about the rt-users mailing list