Jump to content

Product Opener/Installation: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 121: Line 121:
* make
* make
* make install
* make install
==== Configuration ====
In /home/obf/apache/conf/httpd.conf:
Change the port:
Listen 19000
Add at the end:
<pre>
PerlWarn Off
PerlRequire /home/obf/cgi/startup.pl
<Location /cgi>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI
Order allow,deny
Allow from all
</Location>
<VirtualHost *>
DocumentRoot /home/obf/html
ServerName world.openbeautyfacts.org
ErrorLog /home/obf/logs/error_log
CustomLog /home/obf/logs/access_log combined
ScriptAlias /cgi/ "/home/obf/cgi/"
</VirtualHost>
PerlPostReadRequestHandler My::ProxyRemoteAddr
</pre>