Re: How do I download and edit a website?



Hi,

Thanks for the reply. I purchased a website that was already up and
running. I'm trying to find out exactly how to download a copy so I
can experiment locally. Do I simply use an FTP client and download the
www folder (or public_html folder) and place it in the htdocs folder of
apache? Can I just download a backup (in .gz format) of the database
and then simply unzip it and expect my site to access it? Where do I
place the downloaded DB file?

Thanks again!

Jim.
ctclibby wrote:
Hi Jim

Since you are a self-stated 'newbie', you may want to consider the
following:

It usually always gets down to 'what do you want to do'. If you are
going to do this for money, it seems that the best way to go would be
to have TWO web servers; each on a different machine. One live on the
Internet, the other a local machine. Both machines should be identical
in software loads ( php, apache, mysql, etc..., but can have different
os's, or hardware. Don't go two far away from the application stuff on
the live box.

Now you have a box to play with and can do what ever you wish to do
without touching the live box. Trust me, I have screwed up stuff to
the max trying to fix something that I did, but didn't realise it until
way to late. If that sort of trouble is on the live web server you
risk the possibility of loosing all your customer stuff and would need
to restore it from protected sources. Note that this sort of thing
always seems to happen just at the most inoppertune moment and will
slow you down immediately.

I also use another machine for backup. It powers itself each and every
Sunday, then it rsync's to both the live and local web server getting
ALL of the necessary stuff to operate ( configs, databases, webfiles
... etc ), then shuts itself off and waits. Now when something goes
down or is broken forever ( usually hardware ) all I need to do is to
load a fresh os, then restore the directorys I need. Yes I know that I
could possibly loose a weeks worth of work, but what are the chances of
*both* machines dying at the same time? I guess if you are really
worried about it, do the backup on a daily basis, midnight or something
you wish. I don't use micro$oft products so I don't worry about the
'blue screen of death' or other nasty things that could happen to make
you reload...


todh

.



Relevant Pages

  • Re: Suggestions on creating a File Download area
    ... > I'm in the process of setting up a web site that will allow users to ... > towards having a download area that users can log in to and simlply ... are outside the directories that the web server can access. ... or you could link the cleaning to logins. ...
    (alt.php)
  • Re: Secure downloadable PDF files
    ... I recommend a restricted folder to contain all the files to download and design an interface to have the authentication enforced ... if the web server lives in the perimeter network then storing all the files ... whole in my firewall so the files can be accessed by the web server and if so ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Get list of files remotely
    ... This is not something that you can normally do unless you have permission to ... access the folder containing the files on the server--or unless there is ... some web page that exposes the files for download. ... in a specified directory that reside on a web server, ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Suggestions on creating a File Download area
    ... filename will be able to download the file without paying you anything. ... as the web server wouldn't go out of the /var/www/html ... A php script can read a file outside the document-root, ... use fpassthru() function, of course you can use any of the other file read ...
    (alt.php)
  • Re: OT: windoze woes and full rant mode is on
    ... If I try and download it to the client, ... EVERYTHING on the web server, then simply serve up a dynamically ... constructed page that suits the particular browser being used. ... I was really hoping Java would have taken off more than it did. ...
    (comp.lang.cobol)