Richard Riley <rileyrg@xxxxxxxxx> writes: > > So I added the rewrite rules below but they are not triggering. As you > see I tried debugging but I am getting nothing into the log file. This is now fixed. I had to create a .htaccess file and place rewrite rules in there. I dont know why it didnt work from the httpd.conf config but it works as a .htaccess. Now the question is how to formulate the rewrite rules. Unfortunately some sort of multiple call is done resulting in extended urls e.g ,---- | 127.0.0.1 - - [25/Sep/2010:11:43:17 +0200] | [mysite.com/sid#b901b150][rid#b91f2a30/initial/redir#9] (3) | [perdir /home/shamrock/webs/mysite.com/lib/] applying pattern | '.*/images/(.+)$' to uri | 'home/shamrock/webs/mysite.com/images/admin' | 127.0.0.1 - - [25/Sep/2010:11:43:17 +0200] | [mysite.com/sid#b901b150][rid#b91f2a30/initial/redir#9] (2) | [perdir /home/shamrock/webs/mysite.com/lib/] rewrite | 'home/shamrock/webs/mysite.com/images/admin' -> | '/home/shamrock/webs/mysite.com/images/admin' | 127.0.0.1 - - [25/Sep/2010:11:43:17 +0200] | [mysite.com/sid#b901b150][rid#b91f2a30/initial/redir#9] (3) | [perdir /home/shamrock/webs/mysite.com/lib/] add path info ****** | postfix: /home/shamrock/webs/mysite.com/images/admin -> | /home/shamrock/webs/mysite.com/images/admin/shamrock/webs/mysite.com/images/admin | 127.0.0.1 - - [25/Sep/2010:11:43:17 +0200] ****** | [mysite.com/sid#b901b150][rid#b91f2a30/initial/redir#9] (3) | [perdir /home/shamrock/webs/mysite.com/lib/] applying pattern | '^images/(.+)$' to uri | '/home/shamrock/webs/mysite.com/images/admin/shamrock/webs/mysite.com/images/admin' `---- My rewrite rules look like ,---- | RewriteEngine On | RewriteRule .*/images/(.+)$ /home/shamrock/webs/%{SERVER_NAME}/images/$1 | RewriteRule ^images/(.+)$ /home/shamrock/webs/%{SERVER_NAME}/images/$1 `---- I have tried digging around in the docs but havent really cottoned on to how it all really works. It's a large subject for the new boy. I just want a uri something like "images/d1/p1" to become "/home/shamrock/webs/mysite.com/images/d1/p1" How should I approach this? regards r. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx