Hi there,
I'm looking for a rewrite rule which extract some char in the url to create the right directory path.
For example:
from: www.foo.com/123/456/post-title/
to: /static/3/2/1/123/456.html
I know this is possible using VirtualDocumentRoot but I can't found similar expression in RewriteRule or RewriteCond
VirtualDocumentRoot /my/path/%2+/%1.-1/%1.-2/%1.-3/%1/doc_root
I need something like .-1, .-2, .-3 to extract that chars
Is it possible?
Thanks