File download failed on a deployed SequenceServer

Hi everyone. I manage to build a local SequenceServer based on apache and passenger according to the installation guide. The blastn search works well. However when I try to download the FASTA and report files, a “Page not found” error occurs. Meanwhile no error message is produced in the apache log file. I also try to use the sequenceserver command directly in the terminal, and everything works fine including the download function. I guess this problem may somehow be related to my apache host settings:

DocumentRoot /var/www/html

<Directory /var/www/html>
Options FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all

RailsBaseURI /blast
RailsEnv development
<Location /blast>
Options -MultiViews

Can someone tell me where the problem is? Many thanks!

Hey Zhou,

Does it work if you load the page as localhost/blast/ instead of localhost/blast (difference being the trailing slash … localhost or ip or domain name doesn’t matter)? Then, to make Apache add a trailing / by default, either upgrade Apache (likely the better solution if you don’t have many dependent sites) or add a rewrite rule - https://groups.google.com/forum/#!topic/sequenceserver/NIfKTNm1om4

p.s: Sorry, was away last week so couldn’t respond sooner.

– Priyam

Hi Priyam,

I tried the apache configuration in that post, and everything works fine now.

Thanks for the reply!

best wishes,
Albert