User talk:ASMaloney - Gallery Codex
Personal tools

User talk:ASMaloney

From Gallery Codex

Gallery2:modules:rewrite

You are right, the path should be the one to the G2 entry point inside of the embedding application, but the way you put it was misleading too.

A CMS app could for instance have a gallery URL like

 example.com/cms/gallery2/

with other sections like

 example.com/cms/forum/
 example.com/cms/wiki/

and people would think /cms/gallery2/ is the path they should put down as public path. In this case it would be incorrect since the real entry point is /cms/ (it might be a mod_rewrite rule that redirects anything after /cms/ to /cms/index.php?...). However, the path should be /cms/gallery2/ if the real URL is /cms/galler2/somefile.php which embeds Gallery2 into the application. I understand that the configuration is confusing for users and I've added a RewriteApi which integration devs can use to set the path automatically.

advertisements