Link to home
Start Free TrialLog in
Avatar of drubarth
drubarth

asked on

How to Make .URL Files be Links from a Web Server

I'd like to configure my Apache server so that .url files (internet shortcut files in MS Windows) when served go to the link they contain. I was originally thinking that perhaps I could configure a MIME type, but I haven't been able to get this to work. Fyi, all my users are on a Windows platform.

I'm a PHP programmer, but don't have much experience with configuring Apache.  Perhaps there's a way to write a PHP program that will intercede when a .URL file has been requested so I can read the file and do a redirect???

Any help would be greatly appreciated!  

Darryl
Avatar of philjones85
philjones85
Flag of United States of America image

if you don't get a response anytime soon, you may want to re-phrase the question.  maybe somebody else will understand what you mean, but i don't get what you're asking.
Avatar of drubarth
drubarth

ASKER

Sorry, let me try to clarify...  

In Internet Explorer you can drag a URL to a folder (Add to Favorites is the same). When you do this, it creates an Internet Shortcut file in Windows, usually with the extension of .URL.  If you open this file, it opens IE and goes to the web page address embedded. I would like to be able to upload these Internet Shortcut files directly to my web server and have them act as links when someone views a directory listing on the web server and clicks on the file name.

Does that help?

Thanks!

dr
ASKER CERTIFIED SOLUTION
Avatar of webkit_kai
webkit_kai

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
you want to use "file upload" through html to upload these as "links" on a website?