On 23/05/2012 17:37, Homme, James wrote:
> Is this the command that will cause a file to use an instance of Apache locally on Windows?
>
> command.go.$(file.patterns.web)="
http://localhost/$(FileNameExt)"
I suppose you tried, unsuccessfully?
First, it can be Apache or any other Web server, as long as it serves port 80...
Next, this will work only if your file is at the root of the Web server, the www,
public_html or whatever name it is given.
If it is outside of this dir, no hope (but I suppose you know this already).
If it is in a sub-dir, you might need to extract the path (in a Lua script), remove the
path of your root, change \ to / and append to
http://localhost/
I just tried your command, with a file in my www folder, and it opened the page in Firefox
(my default browser).
--
Philippe Lhoste
-- (near) Paris -- France
--
http://Phi.Lho.free.fr
-- -- -- -- -- -- -- -- -- -- -- -- -- --