Difference between revisions of "OS4X Webaccess installation and configuration"

From OS4X
Jump to navigation Jump to search
Line 11: Line 11:
 
</pre>
 
</pre>
  
Also make sure that the CGI module is enabled in Apache:
+
Also make sure that the CGI module is loaded in Apache:
  
 
  LoadModule cgi_module /usr/lib/apache2/modules/mod_cgi.so
 
  LoadModule cgi_module /usr/lib/apache2/modules/mod_cgi.so

Revision as of 13:47, 14 September 2009

Directory configuration

The end user web interface needs some special settings in the web server environment. These are (taken from the Apache 2 configuration file, assuming OS4X webaccess is installed in "/var/www/webaccess"):

    <Directory "/var/www/webaccess">
        Options Indexes FollowSymlinks ExecCGI
        AllowOverride All
        Order allow,deny
        Allow from all 
    </Directory> 

Also make sure that the CGI module is loaded in Apache:

LoadModule cgi_module /usr/lib/apache2/modules/mod_cgi.so

The CGI handler must be actived in the Apache main config, too:

AddHandler cgi-script .cgi



The user running the web server must be able to read, execute and write the following directories: