Changes between Version 1 and Version 2 of WikiStart


Ignore:
Timestamp:
Mar 2, 2020, 2:40:34 PM (4 years ago)
Author:
Miloš Jakubíček
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v1 v2  
    1818= News =
    1919
    20 For receiving updates about new versions and futures, please subscribe to the [https://groups.google.com/a/sketchengine.co.uk/forum/#!forum/noske NoSketch Engine Google group]. You are free to use the [https://www.sketchengine.eu/documentation/ documentation available for commercial Sketch Engine].
     20For receiving updates about new versions and futures, please subscribe to the [https://groups.google.com/a/sketchengine.co.uk/forum/#!forum/noske NoSketch Engine Google group].
     21
     22= Documentation =
     23
     24You are free to use the [https://www.sketchengine.eu/documentation/ documentation available for commercial Sketch Engine].
    2125
    2226= !NoSketch Engine packages =
     
    103107
    104108= Configuration =
    105 == Apache (httpd) configuration ==
     109== Apache (httpd) configuration without authentication ==
    106110
    107111{{{
    108 # all corpora are accessible for every one
    109112        Alias /crystal /var/www/crystal
    110113
     
    118121}}}
    119122
     123== Apache (httpd) configuration with authentication ==
     124
    120125{{{
    121 # authentication for access all corpora required
    122126        Alias /crystal-auth /var/www/crystal-auth
    123         <Location "/crystal-auth">
    124                 AuthType Basic
    125                 AuthName "Secure Content"
    126                 AuthUserFile /var/lib/bonito/htpasswd
    127                 Require valid-user
    128         </Location>
    129127
    130128        Alias /bonito-auth /var/www/bonito
    131         <Location "/bonito-auth">
    132                 AuthType Basic
    133                 AuthName "Secure Content"
    134                 AuthUserFile /var/lib/bonito/htpasswd
    135                 Require valid-user
    136         </Location>
     129
     130        <Directory /var/www/bonito>
     131                AllowOverride All
     132                Options +ExecCGI
     133                AddHandler cgi-script .cgi
     134                <LimitExcept OPTIONS>
     135                        <Location "/crystal-auth">
     136                                AuthType Basic
     137                                AuthName "Secure Content"
     138                                AuthUserFile /var/lib/bonito/htpasswd
     139                                Require valid-user
     140                        </Location>
     141                        <Location "/bonito-auth">
     142                                AuthType Basic
     143                                AuthName "Secure Content"
     144                                AuthUserFile /var/lib/bonito/htpasswd
     145                                Require valid-user
     146                        </Location>
     147                </LimitExcept>
     148        </Directory>
    137149}}}
    138150
    139151== Bonito (run.cgi) configuration ==
    140152Bonito configuration file is `run.cgi` you may run multiple instances just by copying this file and changing the configuration.
    141 
    142 To enable authentication set `_anonymous = False`
     153To enable authentication set `_anonymous = False`.
     154If you run Crystal on a different hostname than Bonito, you may need to setup CORS headers appropriately, see the top of the `run.cgi` file.
    143155
    144156