Viewing HTML file in network
Hi,
I am new to Linux. I have indexnew.html file in /var/www/html. I have to view this file in the browser within the network and without using Apache server. Because, my Apache server gets the request to my application. I used http://localhost/indexnew.html to open the file, but it gets to my application. Thank you |
Ofcourse you can open..give the file path in browser this way. If you have launched firefox with root previliges
Code:
file:///var/www/html/indexnew.html You can also try this way in you terminal Code:
# firefox /var/www/html/indexnew.html & |
Quote:
file:///var/www/html/indexnew.html The above is possible to open the file within local. How to do, if i need to open within LAN? |
Quote:
|
Quote:
Could you please elaborate on why can't you use apache to view the file ? yes there is a way through ftp. Try the following steps 1. Code:
# cp indexnew.html /var/ftp/pub/ Code:
# /sbin/service vsftpd start In your browser try Code:
ftp://ip_addr_of_remote_machine/pub/indexnew.html |
Quote:
|
All times are GMT -5. The time now is 02:18 PM. |