[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
user:zeman:addicter [2010/02/22 14:39]
zeman joshua -> system
user:zeman:addicter [2010/05/28 09:10]
zeman A note on Apache on Ubuntu.
Line 14: Line 14:
  
 ==== How to install and configure Apache ==== ==== How to install and configure Apache ====
 +
 +=== Microsoft Windows ===
  
 This tutorial currently focuses on installing Apache HTTP Server on Microsoft Windows. If you are experienced user of another operating system and wish to share advice, please feel free to [[mailto:zeman@ufal.mff.cuni.cz|contact me]]. This tutorial currently focuses on installing Apache HTTP Server on Microsoft Windows. If you are experienced user of another operating system and wish to share advice, please feel free to [[mailto:zeman@ufal.mff.cuni.cz|contact me]].
Line 22: Line 24:
     * Under Windows, you will also want to set <code>ScriptInterpreterSource registry</code> It tells the server that the Windows registry shall be used to figure out how to run a script (e.g., that ''C:\Perl\Perl.exe'' binary must be run to interpret a ''.pl'' script).     * Under Windows, you will also want to set <code>ScriptInterpreterSource registry</code> It tells the server that the Windows registry shall be used to figure out how to run a script (e.g., that ''C:\Perl\Perl.exe'' binary must be run to interpret a ''.pl'' script).
   * Restart the server. On the main Windows panel, there is (typically in the lower right corner) a set of icons, including a new one for Apache. Right-click on it, select Open Apache Monitor, then Restart.   * Restart the server. On the main Windows panel, there is (typically in the lower right corner) a set of icons, including a new one for Apache. Right-click on it, select Open Apache Monitor, then Restart.
 +
 +=== Ubuntu Linux ===
 +
 +Install the Apache HTTP server package. After successful installation, there should be a file ''/etc/apache2/sites-enabled/000-default''. Edit it (you need root permissions). There should be a section similar to the following:
 +
 +<code>
 + ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
 + <Directory "/usr/lib/cgi-bin">
 + AllowOverride None
 + Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
 + Order allow,deny
 + Allow from all
 + </Directory>
 +</code>
 +
 +Either create a copy of the section with new alias and path (eg. ''ScriptAlias /addicter-cgi/ /home/user/addicter/cgi/'') or use the ''/usr/lib/cgi-bin'' (or whatever folder you see by default) for your addicter CGI scripts and data (see below).
  
 ==== How to install Addicter ==== ==== How to install Addicter ====

[ Back to the navigation ] [ Back to the content ]