| Re: Any way to change the directory of modules? |
| by sunsnapper on 2004/2/4 0:03:18 Here's a thread on mod_rewrite with examples and links to additional documentation: Apache mod_rewrite success |
| Re: Any way to change the directory of modules? |
| by Mithrandir on 2004/2/3 22:33:33 That is true - Modules should really be written so they only need a change of $modconfig['dirname'] in the xoops_version.php (can't remember the actual name if it isn't $modconfig) |
| Re: Any way to change the directory of modules? |
| by kahumbu on 2004/2/3 22:30:23 Another thing to consider is the ability to rename the module folder because sometimes the script path or folder names are hard-coded in the files, e.g. mydownloads, mylinks. This would mean I can't change /modules/mylinks/ to just /modules/links/ easily without changing the PHP code. |
| Re: Any way to change the directory of modules? |
| by Bunny on 2004/2/3 21:59:20 The main reason would be to have easy, intuitive URLs. The easiest way to get those with the current version of XOOPS is to use Apache's mod_rewrite to rewire http://www.example.com/forum to point at http://www.example.com/modules/forum. If you search this forum for mod_rewrite you should find some info about that. We're looking into the subject of "friendly" URLs for a future version of Xoops, but don't hold your breath as it might be a while. |
| Re: Any way to change the directory of modules? |
| by davidl2 on 2004/2/3 21:17:45 Is there any particular reason for having modules in another location? |