Created a separate directory for cgi programs;
sudo mkdir /var/www/cgi-bin
Updated the Apache configuration file;
sudo vim /etc/apache2/apache2.conf
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
<Directory /var/www/cgi-bin/>
Options ExecCGI
AddHandler cgi-script cgi pl
</Directory>
Restarted Apache server
Downloaded subversion client;
sudo apt-get install subversion
Downloaded my cheat sheet code;
cd ~
svn checkout https://cheat-sheets.googlecode.com/svn/trunk/ cheat-sheets --username xxx@gmail.com
Geen opmerkingen:
Een reactie posten