Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
3 + 8 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

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?

Who's Online

261 user(s) are online (187 user(s) are browsing Support Forums)


Members: 0


Guests: 261


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits