Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Users

RE: ticket attachment link not working - path not crea ted

 

 

Request Tracker users RSS feed   Index | Next | Previous | View Threaded


CWard at vidyah

Mar 31, 2003, 10:23 AM

Post #1 of 3 (724 views)
Permalink
RE: ticket attachment link not working - path not crea ted

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]
Sent: Saturday, March 29, 2003 3:27 PM
To: Sebastian Flothow
Cc: rt-users [at] lists
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
> #include <stddisclaimer.h>
>
> _______________________________________________
> rt-users mailing list
> rt-users [at] lists
> 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
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm


CWard at vidyah

Mar 31, 2003, 12:44 PM

Post #2 of 3 (638 views)
Permalink
RE: ticket attachment link not working - path not crea ted [In reply to]

Heya,

NameVirtualHost 192.168.1.138

<VirtualHost 192.168.1.138>
DocumentRoot /usr/local/apache/htdocs
</VirtualHost>

<VirtualHost 192.168.1.138>
ServerName tickets.mydom.com
DocumentRoot /opt/rt3/share/html
AddDefaultCharset UTF-8
PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl

<Location />
SetHandler perl-script
PerlHandler RT::Mason
</Location>
</VirtualHost>


-----Original Message-----
From: Jesse Vincent [mailto:jesse [at] bestpractical]
Sent: Monday, March 31, 2003 11:51 AM
To: Ward, Chris
Cc: Sebastian Flothow; rt-users [at] lists
Subject: Re: [rt-users] ticket attachment link not working - path not
crea ted


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]
> Sent: Saturday, March 29, 2003 3:27 PM
> To: Sebastian Flothow
> Cc: rt-users [at] lists
> 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
> > #include <stddisclaimer.h>
> >
> > _______________________________________________
> > rt-users mailing list
> > rt-users [at] lists
> > 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
> 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.


jesse at bestpractical

Mar 31, 2003, 12:51 PM

Post #3 of 3 (666 views)
Permalink
Re: ticket attachment link not working - path not crea ted [In reply to]

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]
> Sent: Saturday, March 29, 2003 3:27 PM
> To: Sebastian Flothow
> Cc: rt-users [at] lists
> 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
> > #include <stddisclaimer.h>
> >
> > _______________________________________________
> > rt-users mailing list
> > rt-users [at] lists
> > 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
> 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.

Request Tracker users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.