User Tools

Site Tools


bigsister:howto:views

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
bigsister:howto:views [2017/06/06 09:05]
Thomas Aeby
bigsister:howto:views [2017/06/06 10:04]
Thomas Aeby
Line 51: Line 51:
 ===== CGI troubles ===== ===== CGI troubles =====
  
-In order+Each view requires its own CGI directory, thus, the web server needs to know that it needs to map and actually execute the CGIs. When using Apache you will need i.e.:
  
 +<​code>​
 +ScriptAliasMatch ^/​bigsis/​.*/​cgi/​(.*) /​usr/​share/​bigsister/​cgi/​$1
 +</​code>​
 +
 +in your Apache configuration.
 ===== Limitting access ===== ===== Limitting access =====
  
Line 67: Line 72:
 </​code>​ </​code>​
  
 +Usually, you will also want to limit access to the BigSister base directory, since therein you still find everything. Thus, you will probably add another access limitation like this one:
  
 +<​code>​
 +<​Location /bigsis>
 +AuthUserFile /​etc/​apache2/​users/​passwd
 +AuthGroupFile /​etc/​apache2/​users/​group
 +AuthType Basic
 +AuthName BigSister
 +Require group itstaff
 +</​Location>​
 +</​code>​
  
bigsister/howto/views.txt ยท Last modified: 2017/06/05 21:05 (external edit)