"Bastian Gorke" <bastiang.DeleteThis@yahoo.com> schreef in bericht
news:c88n3j$m86$03$1@news.t-online.com...
> if got a Online WYSIWYG Editor in a Subdirectory and if i add pictures it
> tries to load them from its directory. so i tried to catch its calling by
> rewriting the uri.
> original:
> /name1/admin/editor/dialog/images/.*
> should be:
> /name1/images/.*
> i tried the following statement in my .htaccess
> RewriteCond %{REQUEST_URI} ^/name1/admin/editor/dialog/images/(.*)$
> RewriteRule /name1/admin/editor/dialog/images/(.*) /name1/images/$1
> any idea why it doesnt match a bit?
In .htaccess it only matches from the folder it is in downwards.
Try your luck with .htaccess in folder name1
and remove /name1/ from the regex.
If your folder name1 is not physically below document_root, you're in for
RewriteBase too.
HansH<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Show other image with .htaccess