Re: Apache issue - Filename format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2009-10-06 at 07:30 -0700, bhasker yadav wrote:
> Hi All,
>  
> Can you please have a look at the below issue and give me a solution.
> Also i have attached the screen shots of the issue.
>  
> Thanks.
> 
> --- On Wed, 9/2/09, bhasker yadav <bhaskeryadav_a2000@xxxxxxxxx>
> wrote:
> 
>         
>         From: bhasker yadav <bhaskeryadav_a2000@xxxxxxxxx>
>         Subject:  Apache issue - Need help
>         To: users@xxxxxxxxxxxxxxxx
>         Date: Wednesday, September 2, 2009, 4:24 AM
>         
>         Hi All, 
>         
>           
>         
>         My application is accessing through apache 2.2 -> weblogic
>         10.3 
>         
>           
>         
>         I have a page export to excel icon in a page. 
>         
>         When i click on the page i get a save dialog popup and there
>         is a filename which i need to get. But i get a
>         servletName.xls. 
>         
>           
>         
>         But when i access directly from weblogic server it is
>         correct. 
>         
>         I searched google and came to know that there is setting to be
>         done in the conf file, i have done it but no results. 
>         
>           
>         
>         <FilesMatch "\.(?i:xls)$"> 
>         
>         ForceType application/octet-stream 
>         
>         Header set Content-Disposition attachment 
>         
>         </FilesMatch> 
>         
>           
>         
>         other way is 
>         
>         ----------------- 
>         
>         <FilesMatch "\.xls$"> 
>         
>         ForceType application/octet-stream 
>         
>         Header set Content-Disposition attachment 
>         
>         </FilesMatch> 
>         
>           
>         
>         Please let me know the solution. 
>         
>           
>         
>          
>         
>         
> 

FilesMatch matches files. You aren't serving files, you are proxying to
weblogic, therefore there are no files involved. You should use Location
or LocationMatch.

Incidentally, do you think apache is modifying those headers? I am
surprised it is 'correct' from weblogic directly, and then 'incorrect'
after apache has proxied it.

Tom


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux