"Fossies" - the Fresh Open Source Software Archive

Member "anticms-0.2.1/anticms_hp/inst_en.html" (5 Nov 2005, 1266 Bytes) of package /linux/www/old/anticms-0.2.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <!-- $Id: inst_en.html,v 1.2 2005/11/05 12:35:37 aurb Exp $ -->
    2 
    3 <p>This CMS requires http server (tested only on <a
    4 href="http://httpd.apache.org/" title="The Apache HTTP Server Project"
    5 >Apache</a>) with CGI support and <a href="http://python.org/"
    6 title="Python Programming Language">Python</a> interpreter. I'm not going
    7 to write here how to turn on Python support or URL rewrite engine on http
    8 server (most probably your server already has these features on).</p>
    9 
   10 <p>To install the system, you have to put the contents of
   11 <strong>cgi-bin</strong> directory to a directory from which CGI programs can
   12 be run (eg. <strong>cgi-bin</strong>). In the root directory of the website
   13 there must be <strong>.htaccess</strong> file with instructions to redirect
   14 not existing files/directories and empty line to <strong>index.py</strong>
   15 file.  Eg., if the system is installed in <strong>cgi-bin</strong>
   16 directory, it would look like this:</p>
   17 
   18 <pre>
   19 RewriteEngine On
   20 
   21 RewriteCond %{REQUEST_FILENAME} !-f
   22 RewriteCond %{REQUEST_FILENAME} !-d
   23 RewriteRule .* cgi-bin/index.py [L]
   24 RewriteRule ^$ cgi-bin/index.py [L]
   25 
   26 # forbid access to config.xml
   27 
   28 RewriteRule cgi-bin/config.xml - [F]
   29 </pre>
   30 
   31 <p>There is no limitation where images, CSS and other files should be
   32 held.</p>