ncyoung.com

apache httpd redirects and re-writes

This entry is in the following categories:

Top->Programming->Web->Server Configuration
 - Older in Server Configuration: mime type
 - Newer in Server Configuration: cygwin sshd setup

I need to re-write one set of sub paths one way, another another way, and the rest need to get redirected.

The re-writes are working fine, it's the expression for the redirect that I can't seem to get.

Basically, the rewrites work so that content sometimes gets displayed in what looks to the web browser to be a subdirectory. But people inputting content may put relative paths in that content.

So I want everthing that does not look like a content request to that directory to get redirected.



Dated: 11/21/2002