Favorites for the Web
Edited on January 1st, 1970, 00:00 UT.
This program reads the target location of a Windows Internet Shortcut File
and issues a redirect to that location.
This would allow you to share the contents of your Windows Favorites Folder on your web server
simply by uploading the shortcut files. Using the server's Directory Index, or my Indexer script,
you can automatically generate a complete Favorites page.
- Compressed Source Code
- winurl.c
- Example Usage: Combining Favorites for the Web and the Recursive Directory Indexer
- Dave's Web Design Reference Material
- Installation
- Uncompress winurl.c.gz (gunzip winurl.c.gz)
- Compile winurl.c (gcc -o winurl.cgi winurl.c)
- Copy to your cgi-bin (cp winurl.cgi ~/public_html/cgi-bin)
- Configure your server, according to its manual, to automatically redirect .url files to the winurl.cgi location. (CGI filter et al)
- Automatic Redirect on Apache
- Follow above Installation instructions
- Create an access control file (.htaccess) in your web root, if you haven't already (touch ~/public_html/.htaccess)
- Add the following lines to the Apache access control file:
AddType application/x-win32-url .url
Action application/x-win32-url /cgi-bin/winurl.cgi