Small demonstration:
My site
- Code: Select all
www.papy-team.fr
When you use this URL, you will be directed to ou forum, hath you can find directly over here :
- Code: Select all
www.papy-team.fr/forum
.
Our roster [WoWRoster v1.9.9.1377] is over here
- Code: Select all
www.papy-team.fr/roster
.
I have a .htaccess file in the root directory, here
- Code: Select all
www.papy-team.fr/.htaccess
This is in it :
- Code: Select all
...
RewriteEngine On
RewriteBase /
RewriteRule ^/?roster/(sig|av)/(.*)\.png$ ./roster/index.php?p=util-siggen-$1&saveonly=0&member=$2
So, when I type this in my browser :
- Code: Select all
http://www.papy-team.fr/roster/sig/Nowwhat@EU-Khaz Modan.png
it gives my back my signature.
The typed in URL is translated by the ReWriteMod to
- Code: Select all
http://www.papy-team.fr/roster/index.php?p=util-siggen-sig&saveonly=0&member=Nowwhat@EU-Khaz Modan.png
It works
BUT : don't take all this stuff for granted and available to you.
Not all web suppliers are equal.
Some of them really limit what you can do and use. Their motif: for your and their security.....
Search and look at the site of your supplier for pages like these:
http://help.ovh.com/HtaccesS - this:
http://60gp.ovh.net/test.php5 and other technical information.
For motivation: if the above doesn’t work, then this means that YOU made an error.
There is nearly never a nice explanation of the error afterwards.
Often, you are in Linux/Unix land with your web server, and they (the developers of these systems) already found out 40 years ago that people don’t read anyway. They implemented and wrote the IT rule number ONE: you know what you do, or you obtain nothing. This also means that you have to try and understand what’s happening. As always.
It's worth it.