Skip to content

Instantly share code, notes, and snippets.

@h2oota
Created November 16, 2012 12:32
Show Gist options
  • Save h2oota/4086959 to your computer and use it in GitHub Desktop.
Save h2oota/4086959 to your computer and use it in GitHub Desktop.
apacheの設定
DocumentRoot "/docroot/DTV"
ScriptAlias /cgi /docroot/DTV/cgi
<Directory "/docroot/DTV/cgi">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
<Directory "/docroot/DTV">
Order allow,deny
Allow from all
</Directory>
SetEnv DATA_PATH /var/one_seg/
PassEnv DATA_PATH
Alias /data /var/one_seg
<Directory "/var/one_seg">
Order allow,deny
Deny from all
Satisfy All
<FilesMatch "\.ts$">
Order allow,deny
Allow from all
</FilesMatch>
</Directory>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment