Solved

Download a Website Running on Linux

Posted on 2012-04-02
4
316 Views
Last Modified: 2012-04-02
I have just downloaded a website that was running on a linux server.  Is there a way i can open it on a Windows 7 machine?
0
Comment
Question by:deklinm
  • 2
4 Comments
 
LVL 10

Accepted Solution

by:
acbxyz earned 250 total points
ID: 37798095
Depends on the site. The best case is you can simply open index.html and be happy. Another option is that the site needs slash as directory separator or just http, then a simple webserver (xamp, IIS) can do it. Maybe the url of the source is hardcoded.

Worst case would be the source websites has server site scripting essential for working. In the last case, you don't get the code needed to see a result as expected.

If your source is public, can you post the link?
0
 
LVL 11

Assisted Solution

by:legolasthehansy
legolasthehansy earned 250 total points
ID: 37798103
Do you mean to you have downloaded the full DOC_ROOT (or /var/www/html) from a linux server and you wanted to open it on Win 7? If yes, then you will have to setup apache on the Win 7 box and bring up the site.
0
 

Author Comment

by:deklinm
ID: 37798109
yes, i downloaded the directory under /var/www/html
0
 
LVL 10

Expert Comment

by:acbxyz
ID: 37798118
Are there just files ending with .htm/.html, .js, .css, images and so on, or are there .php-files or other server side scripts?

Most times if there are just static files, a double click should show first results. Anything else depends on the site and can't be said more specific than I did above.
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now