Differences

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

Link to this comparison view

Both sides previous revision Previous revision
computer:mcp_music_computer [2016/05/07 18:57]
tdobes
computer:mcp_music_computer [2019/01/07 21:45] (current)
tdobes
Line 587: Line 587:
 echo ' ​ ErrorDocument 404 /​info_mcp/​missing.php'​ >> /​etc/​apache2/​sites-enabled/​error-pages.conf echo ' ​ ErrorDocument 404 /​info_mcp/​missing.php'​ >> /​etc/​apache2/​sites-enabled/​error-pages.conf
 echo '</​Directory>'​ >> /​etc/​apache2/​sites-enabled/​error-pages.conf echo '</​Directory>'​ >> /​etc/​apache2/​sites-enabled/​error-pages.conf
 +</​code>​
 +  * # disable client-side caching (at least without checking source) for information channel and morning briefing:<​code>​
 +echo '<​Directory "/​var/​www/​html/​hires">'​ > /​etc/​apache2/​sites-enabled/​cache_control.conf
 +echo ' ​ Header set Cache-Control "​no-cache"'​ >> /​etc/​apache2/​sites-enabled/​cache_control.conf
 +echo '</​Directory>'​ >> /​etc/​apache2/​sites-enabled/​cache_control.conf
 +echo >> /​etc/​apache2/​sites-enabled/​cache_control.conf
 +echo '<​Directory "/​var/​www/​html/​internal">'​ > /​etc/​apache2/​sites-enabled/​cache_control.conf
 +echo ' ​ Header set Cache-Control "​no-cache"'​ >> /​etc/​apache2/​sites-enabled/​cache_control.conf
 +echo '</​Directory>'​ >> /​etc/​apache2/​sites-enabled/​cache_control.conf
 +echo >> /​etc/​apache2/​sites-enabled/​cache_control.conf
 +echo '<​Directory "/​var/​www/​html/​info_mcp">'​ >> /​etc/​apache2/​sites-enabled/​cache_control.conf
 +echo ' ​ Header set Cache-Control "​no-cache"'​ >> /​etc/​apache2/​sites-enabled/​cache_control.conf
 +echo '</​Directory>'​ >> /​etc/​apache2/​sites-enabled/​cache_control.conf
 +echo >> /​etc/​apache2/​sites-enabled/​cache_control.conf
 +echo '<​Directory "/​var/​www/​html/​morning_briefing">'​ >> /​etc/​apache2/​sites-enabled/​cache_control.conf
 +echo ' ​ Header set Cache-Control "​no-cache"'​ >> /​etc/​apache2/​sites-enabled/​cache_control.conf
 +echo '</​Directory>'​ >> /​etc/​apache2/​sites-enabled/​cache_control.conf
 </​code>​ </​code>​
   * ''​systemctl restart apache2''​   * ''​systemctl restart apache2''​
computer/mcp_music_computer.txt · Last modified: 2019/01/07 21:45 by tdobes
Recent changes RSS feed Driven by DokuWiki Valid XHTML 1.0 Valid CSS