my client has requested that a URL work regardless of whether or not there is a trailing slash
i've updated my htaccess file and my rewrites are getting this accomplished:
for example this:
http://ikonltd.com/current/
and this:
http://ikonltd.com/current
both go to the same page
here's my rewrite rule for that:
RewriteRule ^/current/([^\/\.]+)/?$ /current/index.cfm?PageNum
_currexima
ges=$1 [QSA]
works great.
for some reason my rewrite for this URL is different:
http://ikonltd.com/new/
and this:
http://ikonltd.com/new
does not work.
here's my rewrite for that:
RewriteRule ^/new/([^\/\.]+)/?$ /newaq/index.cfm?PageNum_n
ewaqimages
=$1 [QSA]
RewriteRule ^/new/(.*) /newaq/$1 [QSA]
it has something to do with this last bit:
RewriteRule ^/new/(.*) /newaq/$1 [QSA] (which i'm not using anywhere else in my htaccess - just for the newaq section.
you'd think if i deleted it and just used this:
RewriteRule ^/new/([^\/\.]+)/?$ /newaq/index.cfm?PageNum_n
ewaqimages
=$1 [QSA]
it'd work but it does not.
again - i need both of these urls to resolve to the same page:
http://ikonltd.com/new/
http://ikonltd.com/new
I'm not sure what "some-handler" is in this though:
RewriteRule ^/new/(.+?)/(.+?)/([^\/\.]
RewriteRule ^/new/(.+?)/([^\/\.]+)/?$ /newaq/popup.cfm?AutoArtID
RewriteRule ^/new/([^\/\.]+)/?$ /newaq/index.cfm?PageNum_n
RewriteRule ^/new/(.*)$ /newaq/$1 [QSA]
<Location /newaq/idex.cfm>
DirectorySlash Off
SetHandler some-handler
</Location>