On 27/02/2008, chengas123 <[EMAIL PROTECTED]> wrote: > Yes, that essentially is exactly what I'd like to do. However, I'm not sure > how to. I know how to test if the requested resource is a directory, but > does anyone have any ideas on how I would test if the rewritten URL is an > existing directory?
After your first rule has run subsequent RewriteRules will use the new version of the request uri. So, # rules as before RewriteCond %{REQUEST_FILENAME} -d RewriteCond %{REQUEST_URI} !/$ RewriteRule (.*) $1/ .. or something similar. This assumes you're using htaccess. -- noodl --------------------------------------------------------------------- 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: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]