RE: Re: Local Apache
Homme, James <james.homme <at> highmark.com>
2012-05-24 12:57:50 GMT
Thanks for your help.
Then I'm guessing that Windows is associating php files with the extension, because it seems like PHP.exe
must be running instead of my web server. If I type http://localhost/file.php into the Run dialog, it
works, so something else is preventing it from working. I will continue to research.
"Our doubts are traitors, And make us lose the good we oft might win, By fearing to attempt." --William Shakespeare
> -----Original Message-----
> From: scite-interest <at> googlegroups.com [mailto:scite-
> interest <at> googlegroups.com] On Behalf Of Philippe Lhoste
> Sent: Thursday, May 24, 2012 3:59 AM
> To: scite-interest <at> googlegroups.com
> Subject: [scite] Re: Local Apache
> 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
> 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
> -- -- -- -- -- -- -- -- -- -- -- -- -- --
> You received this message because you are subscribed to the Google
> Groups "scite-interest" group.
> To post to this group, send email to scite-interest <at> googlegroups.com.
> To unsubscribe from this group, send email to scite-
> interest+unsubscribe <at> googlegroups.com.
> For more options, visit this group at
This e-mail and any attachments to it are confidential and are intended solely for use of the individual or
entity to whom they are addressed. If you have received this e-mail in error, please notify the sender
immediately and then delete it. If you are not the intended recipient, you must not keep, use, disclose,
copy or distribute this e-mail without the author's prior permission. The views expressed in this e-mail
message do not necessarily represent the views of Highmark Inc., its subsidiaries, or affiliates.
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-interest <at> googlegroups.com.
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.