Am Sonntag, den 17.10.2010, 02:19 +0200 schrieb Frank Lanitz:
On Sat, 16 Oct 2010 21:17:39 +0200 Dominic Hopf dmaphy@googlemail.com wrote:
The question for those plugins having a directory lying around there is: Do you still need that directory or would it be possible to delete it and remove the exclude from the rewrite rules? Then your plugin would also have the "beauty URL".
Requestion ist, where are these folder located?
In the document root of the plugins.geany.org site, which actually is on sourceforge: /home/groups/g/ge/geany-plugins/htdocs/.
But wait... with SVN rev 1663 I slightly modified the rewrite rules again to show up some possibilities which work at present:
http://plugins.geany.org/geanygdb.html http://plugins.geany.org/geanygdb
http://plugins.geany.org/site/geanygdb.html http://plugins.geany.org/site/geanygdb
http://plugins.geany.org/index.php?site=geanygdb (this one is actually the default without any rewrite)
Yes, this maybe looks a bit weird. So the regexes are. For those with the "site" in the URL, it wouldn't be necessary to delete folders anymore, even if Enrico already did so for the addons and spellcheck plugin (thanks, anyway).
Thus, maybe someone of you wants to drop his 2 cents about this. And yes, I know, mod_rewrite is evil. :)
Best Regards, Dominic