That always worked for me ....
PleegWat wrote:And with SEO on:
http://server.tld/roster/update.htmlWith seo on roster/update.php will work as well, due to how the uri parsing works, but using this is not advised as the method of parsing may change in the future.
:shock: So, when putting
Alternative urls to
On in the main roster admin page, then
http://server.tld/roster/update.html actually works
With the help of this small file (.htaccess) in my roster root (/roster) :
- Code: Select all
<IfModule mod_rewrite.c>
# ENABLE ENGINE
RewriteEngine On
# CONIDITIONS
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
# REWRITE RULES
RewriteRule ^(.+) - [PT,L]
RewriteRule ^(.*) /roster/index.php
</IfModule>
I know that the apache
mod_rewriting is darkness, evil, blackforce and makes any voodoo men running away, but I added a small
/roster before the
/index.php in this file - because that where my roster lives - and it worked !!
I'm amazed
And understood the function of your .htaccess file.
I'll move it into my main root .htacces file right away.