Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to do uri translation in content handler

Status
Not open for further replies.

tongz

Programmer
Jan 2, 2001
2
CA
I'm running an apache server and trying to do uri translation in content handler.

For example, "/foo" should be translated to "/apache/htdocs/foo/index.html". However, I can't simply attach "index.html" and then see if it exists, because it could have some other names such as "index.html.en". So I suppose there's some function that can be used for this purpose. I've tried function "lookup_uri", but it didn't do the translation.

Any ideas? Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top