ubuntu blast

装过很多次的wwwblast,每次都会花些时间,这次给BCAM配置的时候也不例外。


sudo apt-get install libapache2-mod-perl2


1.配置好服务器

2.我的 /etc/apache2/sites-available/default

<VirtualHost *:80>
    ServerAdmin webmaster@localhost

    DocumentRoot /var/www
    <Directory />
        Options FollowSymLinks
        AllowOverride None
    </Directory>
    <Directory /var/www/>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        allow from all
    </Directory>

    ScriptAlias /cgi-bin/ /var/www/cgi-bin/
    <Directory "/var/www/cgi-bin">
        Options ExecCGI
                AddHandler cgi-script .cgi .pl .py .REAL
    </Directory>

    ErrorLog /var/log/apache2/error.log

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn

    CustomLog /var/log/apache2/access.log combined

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

</VirtualHost>

3.报错Premature end of script headers: blast_results.gif, referer: http://localhost/cgi-bin/blast/blast.cgi

4. 安装csh(apt-get install csh)后,问题解决。

你可能感兴趣的:(ubuntu blast)