diff --git a/.htaccess b/.htaccess index 6a1c296c066c08a0507befa600cb46202759f941..28a59e7357e5f6bf2d947d19a32c406751b10010 100644 --- a/.htaccess +++ b/.htaccess @@ -13,6 +13,11 @@ deny from all </Files> +# Syndicate content: +<Files ~ "(syndicate.rdf|syndicate.rss|syndicate.xml)"> + ForceType application/x-httpd-php +</Files> + # Customized server error messages: ErrorDocument 400 /error.php ErrorDocument 402 /error.php diff --git a/syndicate.rdf b/syndicate.rdf new file mode 100644 index 0000000000000000000000000000000000000000..6b1fa9457dd0e2b689b6d94536a8c4fb59289d10 --- /dev/null +++ b/syndicate.rdf @@ -0,0 +1,9 @@ +<? + +include "includes/common.inc"; + +if ($repository["backend"]) { + backend_rdf(); +} + +?> \ No newline at end of file