Hello,
I have written a little php script to generate my rss file on demand.

The script is on
Quote:
rss_feed.php?rss=$1
As you can see it takes the rss variable to locate page.

I want to use a url which is related to the page
so it will be like this:

Quote:
example.com/rss_feed-5.xml
Therefore my.htaccess file looks like this :

Code:
# GETTING RSS FILE BY PAGE NUMBER 

RewriteCond %{HTTP_HOST} ^(.+).simpg.net$ [NC]
RewriteCond %{HTTP_HOST} !^www.simpg.net$ [NC]
RewriteRule ^[\.0-9,:\/-a-z]+rss_feed-([0-9]+)\.xml$ http://simpg.net/rss_feed.php?rss=$1 [NC,QSA,L]

# GETTING SUPPORT PAGE BY PAGE NO
# http://some-name.simpg.net/greatest-gadget/p1.html

RewriteCond %{HTTP_HOST} ^(.+).simpg.net$ [NC]
RewriteCond %{HTTP_HOST} !^www.simpg.net$ [NC]
RewriteRule ^[\.0-9,:\/-a-z]+-p([0-9]+)\.html$ http://simpg.net/info.php?p=$1 [NC,QSA,L]
When I click on my link, my server does NOT run the
feed generator but runs runs the info.php script instead.

Does anyone know what I have doen wrong ?

Thanks



.