Apache settings

From TUTOS

Revision as of 12:21, 16 January 2006 by Gero (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

TUTOS is delivered with a predefined apache configuration. Have a look at the apache.conf which looks like this

Alias /tutos "/usr/share/tutos"

<Directory "/usr/share/tutos">
    # Remove next line when already defined in httpd.conf
    # .pinc files must be interpreted by PHP to void password stealing !
    AddType application/x-httpd-php .pinc
    AddType application/x-httpd-php .php
    DirectoryIndex  index.html
    Options MultiViews FollowSymLinks +Includes
    AllowOverride All
    Order allow,deny
    #
    # localhost        127.0.0.1
    # virtual network  192.168
    #
    # THIS IS A LIST OF ALL IP ADDRESSES THAT ARE ALLOWED TO ACCESS /usr/share/tutos
    #
    # Allow from 127.0.0.1 192.168
    Allow from all
</Directory>

You just have to change the /usr/share/tutos with the path where you have installed TUTOS. The you can include the apache.conf in your global apache configuration (i.e httpd.conf).

Doing it this way you can reach your TUTOS with a URL like http://yourserver/tutos/


It is also possible to install TUTOS somewhere else where you have web-access but then you have to use another url to reach your TUTOS.