如何链接到不同计算机上的静态Html页面。

we have a internal tool a web php app we use . There are some static html files i want to link it to, which are on another machine . right now i am doing like this

<a href="file:////123.145.226.8/Projects/E-Reports/E-Report-' . $projectNo . '/Report.html" target="_blank">E-Report</a>

which works just fine in IE !!!!!!!!!!!!!!!!! but not in firefox any ideas ? This is a internal tool so the machine on which static files are present is always available. thanks

You should install a webserver on the machine 123.145.226.8. If it's a Windows machine, try xampp and place the files in the htdocs directory. Now you can visit the HTML page with http://123.145.226.8.

If it's running linux, use apt-get install apache2 or yum install httpd (depending on operating system) and place your files in /var/www/.

Unfortunately this is the default behavior for Firefox. You must configure the browser manually. See this thread

Firefox Links to local or network pages do not work