Allows you to use
- Code: Select all
http://www.site.com/roster/MODE/Name@US-Realm.EXT
Replace MODE with the config setting (IE. signature | avatar)
Replace Name@US-Realm with the character's name region and realm
Replace EXT with the extension (IE. png | gif | jpg)
This only allows for the signature and avatar SigGen config designs
If you added other designs, you have to add them in the .htaccess file
- Code: Select all
RewriteRule ^/?(signature|avatar|anotherconfig|more|purple)/(.*)
Of course mod_rewrite needs to be enabled and working on your server!
Edit Roster's .htaccess file
After
- Code: Select all
# ENABLE ENGINE
RewriteEngine On
Add
- Code: Select all
# SIGEN REWRITE
RewriteRule ^/?(signature|avatar)/(.*)\.(.*)$ /index.php?p=util-siggen-$1&member=$2&format=$3
So the entire file looks like this
- Code: Select all
# WoWRoster .htaccess file
# $Id: .htaccess 1254 2007-08-19 16:41:28Z Zanix $
# ONLY IF MOD_REWRITE IS INSTALLED
<IfModule mod_rewrite.c>
# ENABLE ENGINE
RewriteEngine On
# SIGEN REWRITE
RewriteRule ^/?(signature|avatar)/(.*)\.(.*)$ /index.php?p=util-siggen-$1&member=$2&format=$3
# CONIDITIONS
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
# REWRITE RULES
RewriteRule ^(.+) - [PT,L]
RewriteRule ^(.*) index.php
</IfModule>