mirror of
https://github.com/jgeusebroek/docker-spotweb.git
synced 2025-06-04 22:57:25 +02:00
22 lines
560 B
Plaintext
22 lines
560 B
Plaintext
ServerTokens Prod
|
|
Header set X-Frame-Options: "sameorigin"
|
|
|
|
<VirtualHost *:80>
|
|
ServerAdmin _
|
|
|
|
DocumentRoot /var/www/spotweb
|
|
|
|
RedirectMatch 404 /\.git
|
|
|
|
<Directory /var/www/spotweb/>
|
|
RewriteEngine on
|
|
RewriteCond %{REQUEST_URI} !api/
|
|
RewriteRule api/?$ index.php?page=newznabapi [QSA]
|
|
RewriteRule details/([^/]+) index.php?page=getspot&messageid=$1 [L]
|
|
Options -Indexes +FollowSymLinks +MultiViews
|
|
AllowOverride All
|
|
Order deny,allow
|
|
Allow from all
|
|
</Directory>
|
|
|
|
</VirtualHost> |