[Geany-devel] plugins.geany.org beauty urls / plugin directories lying around in htdocs/

Dominic Hopf dmaphy at xxxxx
Sat Oct 16 19:17:39 UTC 2010


Hi all,

I just added a new "feature" to the plugins.geany.org website. It is
some rewrite rules in an .htaccess file which allow to call specific
pages like this:

http://plugins.geany.org/downloads or
http://plugins.geany.org/geanygdb

just as examples.

Unfortunately, this will not work for all plugins, since there are some
directories lying around in htdocs/:

$ ls -l
total 96
drwxr-sr-x 2 209508 geany-plugins 1024 Jan 17  2010 addons/
drwxrwsr-x 2 dmaphy geany-plugins 2048 Oct 16 04:05 content/
-rw-rw-r-- 1 dmaphy geany-plugins 4286 Jul 31 16:17 favicon.ico
drwxrwsr-x 2 dmaphy geany-plugins 2048 Jul 31 21:46 geany-plugins/
drwxr-sr-x 2 137082 geany-plugins 1024 Sep 15  2008 geanydoc/
drwxrwsr-x 2 dmaphy geany-plugins 1024 Jul 31 20:10 geanylua/
drwxr-sr-x 2 137082 geany-plugins 1024 Sep 15  2008 geanyprj/
drwxr-sr-x 2 137082 geany-plugins 1024 Sep 15  2008 geanyvc/
drwxrwsr-x 2 dmaphy geany-plugins 1024 Jul 31 16:17 images/
-rw-rw-r-- 1 dmaphy geany-plugins 2606 Oct  8 23:14 index.php
drwxr-sr-x 2 209508 geany-plugins 2048 Jan 17  2010 spellcheck/
drwxrwsr-x 2 dmaphy geany-plugins 1024 Sep  4 22:13 stylesheets/

I excluded those plugins with an existing directory from the rewrite.
Thus, e.g. for the geanyvc plugin, the described behaviour will not
work:

http://plugins.geany.org/geanyvc/


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".

Thanks very much in advance for your feedback and your support. :)

Best Regards,
Dominic

-- 
Dominic Hopf <dmaphy at googlemail.com>
http://dominichopf.de/

Key Fingerprint: A7DF C4FC 07AE 4DDC 5CA0 BD93 AAB0 6019 CA7D 868D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.geany.org/pipermail/devel/attachments/20101016/8aeee1df/attachment.pgp>


More information about the Devel mailing list