ciderpunx / twitrssme

TwitRSS.me: Tool to make Twittter timelines and searches into RSS feeds
https://twitrss.me
GNU General Public License v2.0
360 stars 59 forks source link

Trailing slash optional? #84

Open remiq opened 5 years ago

remiq commented 5 years ago

While this is not an issue with twitrssme, it doesn't hurt to humbly ask.

Some javascript-based RSS clients use 'normalize-url' on rss link. As a side-effect, it removes trailing slash of rss link changing http://twitrss.me/twitter_user_to_rss/?user= into http://twitrss.me/twitter_user_to_rss?user= which returns 404.

Is it possible for you to change apache configuration to allow this "no trailing slashes" idea?

It would probably require to alter apache.conf:

ScriptAlias /twitter_user_to_rss/ /var/www/twitrssme/fcgi/twitter_user_to_rss.pl

to

ScriptAlias /twitter_user_to_rss/ /var/www/twitrssme/fcgi/twitter_user_to_rss.pl
ScriptAlias /twitter_user_to_rss /var/www/twitrssme/fcgi/twitter_user_to_rss.pl