Install brat
Install Apache2Download and unzip the brat v1.3
Move the folder to
/var/www/brat
In
/var/www/brat
run ‘./install’. Follow the instruction to set username, password and email.In
etc/apache2/sites-avialble/000-default.conf
addAlias /brat "/var/www/brat" <Directory "/var/www/brat"> Options +ExecCGI AddHandler cgi-script .cgi # AddHandler fastcgi-script fcgi AllowOverride Options Indexes FileInfo Limit AddType application/xhtml+xml .xhtml AddType font/ttf .ttf </Directory> |
sudo service apache2 reload |
Enable FastCGI
Install fastcgi by running ‘sudo apt-get install libapache2-mod-fastcgi’Change
etc/apache2/sites-avialble/000-default.conf
# AddHandler cgi-script .cgi AddHandler fastcgi-script fcgi |
No comments:
Post a Comment