Page 2 of 2
Posted: Sat 27. Aug 2005, 01:08
by djulien
[quote="pSouper"]sorry dude : I never got it working either - i eventualy used an application to rip my entire site as flat files then burned it to cd and used an auto-boot script to run the site on disk entry
[/quote]
Thanks for the reply. I my case, I have dynamic content (of read-only data), so I really need something like UniServer to run. Oh well, I'm keep searching...
Posted: Mon 29. Aug 2005, 20:14
by djulien
[quote="djulien"]I already changed the log and error files in httpd.conf to point to a Windows temp directory. That got rid of "access denied" messages, but Apache is still not staying up. I don't see any error logs in the temp directory, so I'm not sure where to look for the problem.
[/quote]
Got it working. I was assuming that Apache would create the Logs directory, but it requires it to pre-exist.
I added a MD to the startup.bat and it comes up okay now (except that sometimes redirect.html loads before Apache is fully up, but a little wait should solve that). Now I'll figure out MySQL...
To summarize what I did for anyone else who wants to know, I changed all references to /log in httpd.conf to be on another drive letter, and in startup.bat I added a subst for that other drive letter to my Windows temp directory, and then did an "MD logs" in there so Apache can write log files.
Apache, UniServer and other components are great! No messy installs!
HTtrack
Posted: Tue 30. Aug 2005, 17:35
by Ben
If you only need to take a phpwcms website and run it on a laptop where Internet access is not available,
http://www.httrack.com is a great open source app for making static copies of websites. Obviously, it doesn't allow for any back-end functionality - just a static copy of the front-end site.
Maybe this will help one of you.
Posted: Thu 8. Sep 2005, 23:08
by AlleyKat
The main problem is that these are dynamic programs - the logs alone won't cut it, there are also temporary files and the databases. A counter on a page wouldn't be able to count, using database OR file - the site files would still be 'locked' on the disc.
Use a USB-pen instead for sites you can't or won't spider onto a CD - otherwise, I find the spidering the best approach, as it is supposed to be a static picture of a website. Or. Copy uniserver to a folder on the harddisk before starting it up - that should solve the problem too.