Hello,
I am having trouble with a RewriteRule and I was hoping someone can lead me in the right direction, as I haven't been able to track down an answer on my own.

I am setting up a rewrite that includes a target (eg. http://www.somedomain.com/filename.cfm#locationOnPage to relocate to http://www.somedomain.com/directory/filename.cfm#locationOnPage) and I can't seem to get the target information to work (ie. locationOnPage)

This is the code I currently have:

RewriteRule ^([a-zA-Z0-9_]+\.cfm)(.+) /directory/$1$2

there never seems to be any information on $2... Is it possible to preserve the target?

Thanks,
Michele Romano


---------------------------------------------------------------------
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]

Reply via email to