teddymills.myknet.org
This document describes the flow of web data from source to
teddymills.myknet.org
May 2002
--------------------------------------------------------------------
May 14 2002
Well I went hog wild on the Apache 2.0.36. I still have the older Apache 1.326
in my Linux since many DNS records, PHP, MySQL, 50 Virtual Hosted websites and god
knows what else is tied to that installed version of Apache.
So I says to myself today, self, what about installing Apache 2.0-Windows in Windows
XP onto the VFAT and run and edit my live website off of there? Sos I does that. And it
works?
Nox WinXP, is definitely no replacement for Linux, but for editing a website, why should
I have to boot into a specific OS just to edit a website?
I should be able to load my website and make changes on the fly on any
operating system I load up at boot up time. And now I can.
Now officially we are cooking with gas.
In WinXP, I have Apache 2.036, ActiveState Perl, MySQL. Only PHP is not yet working.
In Linux, I have Apache 1.325, Perl, MySQL, and once again PHP does not work.
May 13 2002
I must be getting smarter, or better at Linux. I'll take either as a plus.
Having my website "live" within Linuxs EXT3 partition means I'll have to
boot into Linux to have any access or change it.
I had dozens of files in the website. This was creating duplicates of lots
of files. This was creating a huge problem. What what was the correct and latest
version??
Moreover, whenever I had to update the website, I had to remember the dozens
of files and text files to copy in and hope everything linked together.
Then Eureka! Like Archimedes!, I knew that my VFAT partition was where
if I could keep my website and still be accessible from Apache?
The VFAT partition is accessible from within Linux, but running a live website off
an entirely different filesystem, VFAT at that (no unix permissions allowed)
Would it work??
I copied www.teddymills.com to VFATs /teddy
then deleted /www/teddymills.com
then I symbolic linked /teddys/teddymills.com to /www/teddymills.com
I restarted Apache and voila!
So what does all this geekspeak mean? Means now I can run, edit,
copy,whatever my website from either Windows or Linux!
Plus all my filecopying and duplicate files and folders problem
is solved...
Archimedes might not been impressed, but I am.
/
teddy
The live website is in Linux Redhat 7.2 since I have an Apache
web server and DNS to editg and immediatly view all my changes.
However it is in an EXT3 Linux partition that is not mountable
within any Windows Operating system, be it Windows 2000AS or WinXP.
I could hack a way to mount an EXT3 partition from within a Windows
OS, but I have too much respect for Linux to treat it so bad. Plus
the tool would probably ditch my magic number or kill the superblock,
then I'd have to find the author of that tool and kill him.
Procedures
----------
From Linux
cd /www //from the /www level...
/bin/cp -R teddymills.com /teddys //hard copy teddymills.com to /teddys
//teddys is a VFAT that both Win+Linux
//can write to..
boot into WinXP...
The reason I must now boot into WinXP, instead of staying in Linux and just ftping
it, is because I have 50 websites configured to 192.168.0.1 on eth0 and to get
eth0 on the Internet, I'd have to change my eth0 ip permanently. For now it
is easier just to reboot into WinXP..
From WinXp...login to the Internet...
use IEs login feature and basically just copy over teddymills.com into public_html..
SecureCRT is not needed, but it is available....
Always remember this....The "live" website is in Linux!!!!
There are no editors on myknet.org, only VI. And im not good enough in vi to do
all my editing in vi. Vi is weird.
I think it is best to keep the live website on Linux EXT3, since if I go live
on myknet.org, I'll always have to be on the Internet to test things out
and make changes..A real downer....On the upside I could copy it back to VFAT...
*********************************************************************************
Perhaps the most important thing to remember is when fixing links and filenames
fix the original on the VFAT e:\teddys.
This way when you copy the data again
all the links and filenames do not need to get corrected over and over again!!
*********************************************************************************