Changeset 938


Ignore:
Timestamp:
11/25/08 10:26:39 (3 years ago)
Author:
KoenMartens
Message:

Item300: rebranding top-level files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/foswiki_httpd_conf.txt

    r877 r938  
    33# You are recommended to take a copy of this file and edit 
    44# the paths to match your installation. Then add: 
    5 # include "/home/httpd/twiki/twiki_httpd.conf" 
     5# include "/home/httpd/foswiki/foswiki_httpd.conf" 
    66# to the end of your main httpd.conf file. 
    77# 
     
    1010 
    1111# The first parameter will be part of the URL to your installation e.g. 
    12 # http://example.com/twiki/bin/view/... 
     12# http://example.com/foswiki/bin/view/... 
    1313# The second parameter must point to the physical path on your disk. Be 
    1414# careful not to lose any trailing /'s. 
    1515 
    1616#### Change the _second_ path to match your local installation 
    17 ScriptAlias /twiki/bin/ "/home/httpd/twiki/bin/" 
     17ScriptAlias /foswiki/bin/ "/home/httpd/foswiki/bin/" 
    1818 
    19 # This defines a url that points to the root of the twiki installation. It is 
     19# This defines a url that points to the root of the foswiki installation. It is 
    2020# used to access files in the pub directory (attachments etc) 
    2121# It must come _after_ the ScriptAlias. 
    2222 
    2323#### Change the path to match your local installation 
    24 Alias /twiki/ "/home/httpd/twiki/" 
     24Alias /foswiki/ "/home/httpd/foswiki/" 
    2525 
    2626# Block access to typical spam related attachments (.htm and .html files) 
    2727# Except the Foswiki directory which is read only and does have attached html files. 
    2828# You should uncomment the two lines below if the Foswiki is on the public Internet 
    29 #SetEnvIf Request_URI "twiki/pub/.*\.[hH][tT][mM]?$" blockAccess 
    30 #SetEnvIf Request_URI "twiki/pub/Foswiki/.*\.[hH][tT][mM]?$" !blockAccess 
     29#SetEnvIf Request_URI "foswiki/pub/.*\.[hH][tT][mM]?$" blockAccess 
     30#SetEnvIf Request_URI "foswiki/pub/Foswiki/.*\.[hH][tT][mM]?$" !blockAccess 
    3131 
    3232# We set an environment variable called blockAccess. 
     
    5151 
    5252#### Change the path to match your local installation 
    53 <Directory "/home/httpd/twiki/bin"> 
     53<Directory "/home/httpd/foswiki/bin"> 
    5454        AllowOverride None 
    5555        Order Allow,Deny 
     
    6161 
    6262        # Password file for Foswiki users 
    63         AuthUserFile /home/httpd/twiki/data/.htpasswd 
     63        AuthUserFile /home/httpd/foswiki/data/.htpasswd 
    6464        AuthName 'Enter your WikiName: (First name and last name, no space, no dots, capitalized, e.g. JohnSmith). Cancel to register if you do not have one.' 
    6565        AuthType Basic 
     
    7070        # Comment this out if you setup Foswiki to completely deny access to WikiGuest 
    7171        # in all webs or change the path to a static html page. 
    72         ErrorDocument 401 /twiki/bin/view/Foswiki/UserRegistration 
     72        ErrorDocument 401 /foswiki/bin/view/Foswiki/UserRegistration 
    7373        # Alternatively if your users are all known to be registered you may want 
    7474        # to redirect them to the ResetPassword page. 
    75         # ErrorDocument 401 /twiki/bin/view/Foswiki/ResetPassword 
     75        # ErrorDocument 401 /foswiki/bin/view/Foswiki/ResetPassword 
    7676 
    7777# Limit access to configure to specific IP addresses and or users. 
     
    112112 
    113113#### Change the path to match your local installation 
    114 <Directory "/home/httpd/twiki/pub"> 
     114<Directory "/home/httpd/foswiki/pub"> 
    115115    #if you are using an svn checkout an pseudo-install.pl, you will need to enable symlinks 
    116116    #Options FollowSymLinks 
     
    137137 
    138138#### Change the paths to match your local installation 
    139 <Directory "/home/httpd/twiki/data"> 
     139<Directory "/home/httpd/foswiki/data"> 
    140140        deny from all 
    141141</Directory> 
    142142 
    143 <Directory "/home/httpd/twiki/templates"> 
     143<Directory "/home/httpd/foswiki/templates"> 
    144144        deny from all 
    145145</Directory> 
    146146 
    147 <Directory "/home/httpd/twiki/lib"> 
     147<Directory "/home/httpd/foswiki/lib"> 
    148148        deny from all 
    149149</Directory> 
    150150 
    151 <Directory "/home/httpd/twiki/tools"> 
     151<Directory "/home/httpd/foswiki/tools"> 
    152152        deny from all 
    153153</Directory> 
    154154 
    155 <Directory "/home/httpd/twiki/locale"> 
     155<Directory "/home/httpd/foswiki/locale"> 
    156156        deny from all 
    157157</Directory> 
    158158 
    159 <Directory "/home/httpd/twiki/working"> 
     159<Directory "/home/httpd/foswiki/working"> 
    160160        deny from all 
    161161</Directory> 
Note: See TracChangeset for help on using the changeset viewer.