Moderator: zanix
SetEnv REGISTER_GLOBALS 0
SetEnv ZEND_OPTIMIZER 1
SetEnv MAGIC_QUOTES 1
SetEnv PHP_VER 5
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
RewriteRule ^/?forum/e107_plugins/forum/forums([0-9]*)\.php$ ./forum/e107_plugins/forum/forum_viewforum.php?$1 [QSA,L,NC]
RewriteRule ^/?roster/(sig|av)/(.*)\.png$ ./roster/index.php?p=util-siggen-$1&saveonly=0&member=$2
zanix wrote:If this is for SigGen 0.3.0 and Roster 2.0, you would want to use this
- Code: Select all
RewriteRule ^/?wowoster/(sig|av)/(.*).png$ ./wowroster/index.php?p=util-siggen-$1&member=$2&saveonly=0
And you would need to use the following urlwowoster/sig/CharName@RC-Realm.png
zanix wrote:You need to have mod_rewrite installed and running in apache
zanix wrote:Turn on Alternative urls in Roster and see if they work
All links in roster should end in .html
<IfModule mod_rewrite.c>
# ENABLE ENGINE
RewriteEngine On
# CONIDITIONS
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
# REWRITE RULES
RewriteRule ^(.+) - [PT,L]
RewriteRule ^/(sig|av)/(.*).png$ ./index.php?util-siggen-$1&member=$2&saveonly=0
RewriteRule ^(.*) index.php
</IfModule>
Roster Error
Invalid characters in module name
RewriteRule ^/(sig|av)/(.*).png$ ./index.php?util-siggen-$1&member=$2&saveonly=0
RewriteRule ^/?(sig|av)/(.*)\.png$ ./roster/index.php?p=util-siggen-$1&member=$2&saveonly=0
zanix wrote:Remove the siggen line and tell me if the alt urls in Roster work
tuigii wrote:First of all, my roster is situated in the /roster folder.
Yours :
- Code: Select all
RewriteRule ^/(sig|av)/(.*).png$ ./index.php?util-siggen-$1&member=$2&saveonly=0
Mine
- Code: Select all
RewriteRule ^/?(sig|av)/(.*)\.png$ ./roster/index.php?p=util-siggen-$1&member=$2&saveonly=0
Can tell you that mine works ^^
Be carefull, every ^,/,?,(,| etc etc is (might be) important here !
Compare the two.
Aren't you missing a back slash '\' somewhere ?
Fatal error: Call to a member function on a non-object in c:\ephp\www\addons\siggen\inc\functions.inc on line 415
Users browsing this forum: No registered users and 1 guest