TiVo and the homemedia option always use an alias http://server/TiVoConnect so in order to make it function right I have to use a script to be able to determine what is a query or what is a data transmission.
According to a document I found on TiVo's website, the TiVo uses two different request formats:
- http://{machine}/TiVoConnect?{parameters}
- Meta-data requests
- http://{machine}/TiVoConnect/{document}?{parameters}
- File requests
These are different enough that you could use Apache's mod_rewrite to direct file requests directly to the file, and then you would need neither PHP nor Perl to serve them.