Let's suppose that it is our first entrance to Apache web server. Due to this fact we'll install apache first: apt-get install apache2   Make sure that mod_cgi is enabled in apache: root@apache:~# ls -l /etc/apache2/mods-enabled/ | grep cgi lrwxrwxrwx 1 root root 27 Feb 7 18:35 cgid.conf -> ../mods-available/cgid.conf lrwxrwxrwx 1 root root 27 Feb 7 18:35 cgid.load -> ../mods-available/cgid.load   If not that we need to enable it: root@apache:~# a2enmod cgid root@apache:~# service apache2 restart   There are two approaches to call cgi scripts by apache: 1. ScriptAlias The ScriptAlias directive tells Ap...
Published ago by ochirkov

Web development
Review Linux
Provisioning CVS
Windows AWS
Continuous Integration
NoSql Logging Web Servers FileSystems Scala
accurev ansible apach2 apache api application approaches architecture archivation argparse arguments artifactory automation awk aws backup bash batch-scripting beaver block build built-in caching call captcha cartridge case certificates cgi chain client cloud cloudformation cluster cmd coding collections command-line commands compression conditionals conversion convert cookbook copy counter cron crud css cut cygwin daemon datatype date dd debpackage decorator delattr deploy deque dict distributed-file-systems django DNS domain driver dropbox dump elasticcache elasticsearch encryption exit ext4 extra-tags failover file filename filters for form format freetds functions gerrit getattribute gid git globals glusterfs hardware hook iam indexing inheritance init install job-interview jquery ldap linux list locals logging logs logstash lookup magicmethods mail main-menu metadata metalogger mongodb moosefs mount mssql multiplatform multithreading mysql netcat nginx nosql open-ssh openldap openshift os packaging parse partition path pattern patterns permissions pid pil pip pipe playbook pool post post-commit processes production provisioning proxy putty python python-mysql recursively redirection redis register replication repr restore return review rotation scala script search selenium server setattr settings setup shipper signals singleton slots snapshot socket splunk ssh ssh-key ssl storage str string style subprocess sugar super switch syntactic syntaxhighlighter systeminfo tail tar templatetags time tls tune2fs tuple ubuntu unicode unique unix unixodbc usage usecases uuid uwsgi variable vars version vi virtualenv volume web web-server windows with_items __getattr__