Create a simple python webserver
the server must have python installed to see if its there use this command :
Code:
whereis python
---------------------------
result :
/usr/bin/python3.4m /usr/bin/python /usr/bin/python2.7 /usr/bin/python3.4 /etc/python /etc/python2.7 /etc/python3.4 /usr/lib/python2.7 /usr/lib/python3.4 /usr/bin/X11/python3.4m /usr/bin/X11/python /usr/bin/X11/python2.7 /usr/bin/X11/python3.4 /usr/local/lib/python2.7 /usr/local/lib/python3.4 /usr/include/python2.7 /usr/share/python /usr/share/man/man1/python.1.g
if u get the result like the one above ur good to go ..
the go to the directory that u want to access by browser :
Code:
$ cd /home/user/public_html
$ python -m SimpleHTTPServer
view it with browser :
Code:
http://IP-OR-DOMAIN:8000