logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Virtual Host Forwarding to URL Problems
Author
DNSMN



Joined: 23 Jul 2008
Posts: 2

PostPosted: Wed 23 Jul '08 5:47    Post subject: Virtual Host Forwarding to URL Problems Reply with quote

Running Apache 2.2 on IIS6,
Have config question probably easy one. Hoping just a directive i havent discovered yet.
I have a virutal host setup that I would like to point to an .exe file and give the end user the option to run it when going to the URL. Setup now, when i go to the url it opens a browseable directory with the link to the .exe file. I would like it to just open the .exe and prompt the user to open/save/cancel on the .exe file so i dont have to explain to them to click on the link for it. I had this working in IIS with simple URL redirect to the .exe file.
Any ideas would be greatly apprieciated.
thanks!
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Thu 24 Jul '08 9:20    Post subject: Reply with quote

you can set a redirect in your vhost

Code:

Redirect permanent / http://www.host.tld/path/to/your.exe
Back to top
DNSMN



Joined: 23 Jul 2008
Posts: 2

PostPosted: Fri 25 Jul '08 16:09    Post subject: Solution Reply with quote

That was it, thanks for your help!
Back to top


Reply to topic   Topic: Virtual Host Forwarding to URL Problems View previous topic :: View next topic
Post new topic   Forum Index -> Apache