Apache Virtual URL

Hi All,

i'am facing a problem with urls that don't have a filestructure under DocumentRoot.

A URL like

http://mydomain.com/applicationrew/Structure1/Structure2/some?parameter=key&parameter1=key1

Should be rewritet to something else.

Now i defined a Location like

<Location ~ "/applicationrew/(.*)">
Order deny,allow
Allow from all
</Location>

But every request ends up in 404 File not found. When i make a directory under DocumentRoot (applicationrew) he complains about the next part of the URL (Structure1).

Is there a possiblity to switch off apache to look on the file system?

I thought Location would do that job.

Regards
wuschelz

So, the some cgi is not located there? Then, you can rewrite the URL to the right place, or you can just link it there.

yes the cgi or file are not on the webserver.

The next step would be to rewirte it to a java applikation. But to get to the rewrite rule he has to pass the filesystem check.

So my question ist, how to tell apache to take the url if applicationrew is inside and ignore everything else. Afterwards he will make the rewrite.

Am I clear or is it confusing?

Maybe write a cgi and redirect them there -- it can redirect.