Changes between Version 1 and Version 2 of WikiStart
- Timestamp:
- Mar 2, 2020, 2:40:34 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v1 v2 18 18 = News = 19 19 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]. 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]. 21 22 = Documentation = 23 24 You are free to use the [https://www.sketchengine.eu/documentation/ documentation available for commercial Sketch Engine]. 21 25 22 26 = !NoSketch Engine packages = … … 103 107 104 108 = Configuration = 105 == Apache (httpd) configuration ==109 == Apache (httpd) configuration without authentication == 106 110 107 111 {{{ 108 # all corpora are accessible for every one109 112 Alias /crystal /var/www/crystal 110 113 … … 118 121 }}} 119 122 123 == Apache (httpd) configuration with authentication == 124 120 125 {{{ 121 # authentication for access all corpora required122 126 Alias /crystal-auth /var/www/crystal-auth 123 <Location "/crystal-auth">124 AuthType Basic125 AuthName "Secure Content"126 AuthUserFile /var/lib/bonito/htpasswd127 Require valid-user128 </Location>129 127 130 128 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> 137 149 }}} 138 150 139 151 == Bonito (run.cgi) configuration == 140 152 Bonito 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` 153 To enable authentication set `_anonymous = False`. 154 If 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. 143 155 144 156