Kiril,
you right thats the problem, but i dont known much about .htaccess file so i
did this:
File: <?php echo link_to('click here to download', 'download/system',
array('query_string' => 'arq='.$sy->getFileId()) ?>
thank you
2007/11/22, Kiril Angov <[EMAIL PROTECTED]>:
>
>
> Because the .htaccess files does not pass requests with file extension
> (.txt, .pdf, .etc). Look at the .htaccess file for details but you need
> to set up special case in your .htaccess file to also pass .pdf to to
> index.php
>
> Kupo
>
> g0d br wrote:
> > i just found out that if i get the link result from
> >
> > File: <?php echo link_to('click here to download',
> > 'download/system?arq='.$sy->getFileId()) ?>
> >
> > and change download/system/arq/1195653085.pdf to download/system?arq=
> > 1195653085.pdf it works
> >
> > why rounting is not working for this module ?
> >
> >
> > 2007/11/22, g0d br <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:
> >
> > when i click the link to download it shows 404 not found page
> >
> > File: <?php echo link_to('click here to download',
> > 'download/system?arq='.$sy->getFileId()) ?>
> >
> >
> > Not Found
> >
> > The requested URL /download/system/arq/1195653085.pdf was not
> > found on this server.
> >
> >
> ------------------------------------------------------------------------
> > Apache/2.2.4 (Ubuntu) PHP/5.2.3-1ubuntu6 Server at
> > intranet.projetos Port 80
> >
> >
> >
> > thanks
> >
> >
> >
> > 2007/11/22, naholyr <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:
> >
> >
> > When you that it's <<not working>>, what exactly are the
> > symptoms ?
> >
> > On 21 nov, 19:29, "g0d br" < [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> > > hi,
> > >
> > > i having an problem that i cant troubleshoot.
> > >
> > > i am trying to do a file download through action
> > download/test on dev mode
> > > frontend_dev.php works fine but on prod mode index.php is not
> > working.
> > >
> > > i did change somethings like cache and log to see whats
> > happening but no
> > > luck so far.
> > >
> > > can someone help me?
> > >
> > > thank you
> > >
> > > -- http://zero-d.com.br/
> >
> >
> >
> >
> > --
> >
> > http://zero-d.com.br/ <http://zero-d.com.br/>
> >
> >
> >
> >
> > --
> > http://zero-d.com.br/
> > >
>
>
> >
>
--
http://zero-d.com.br/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---