Login   Register  
PHP Classes
elePHPant
Icontem

File: .htaccess

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Pavel  >  Feeder  >  .htaccess  >  Download  
File: .htaccess
Role: Auxiliary data
Content type: text/plain
Description: Apache settings to serve TextFeeder-generated pages.
Class: Feeder
Generate feeds in RSS and Atom formats
Author: By
Last change: Accessible without user login
Date: 2012-05-07 13:35
Size: 246 bytes
 

Contents

Class file image Download
DirectoryIndex feeder.php

RewriteEngine On

RewriteRule ^/?(atom|rss092|rss20)/?$ feeder.php?format=$1 [L,QSA]

RewriteCond %{REQUEST_FILENAME}.yml -f [OR]
RewriteCond %{REQUEST_FILENAME}.txt -f
RewriteRule ^(.+)$ feeder.php?$1 [L,QSA]