TUTOSMain Page | About | Help | FAQ | Special pages | Log in
The Free Knowledgebase
Printable version | Disclaimers | Privacy policy

Apache settings

From TUTOS

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.

Retrieved from "http://wiki.tutos.org/index.php/Apache_settings"

This page has been accessed 3,602 times. This page was last modified 12:21, 16 January 2006.
Content is available under GNU Free Documentation License 1.2.


Find

Browse
Main Page
Recent changes
Random page
Help
Donations
Edit
View source
Editing help
This page
Discuss this page
Post a comment
Printable version
Context
Page history
What links here
Related changes
My pages
Log in / create account
Special pages
New pages
File list
Statistics
Bug reports
More...