On Wednesday 02 March 2005 00:18, James A. Feister wrote:
Developing a web page that uses http and cgi.
have a full install of fc3.
Am trying to set up my box so that I may localy
develop the website in my /home/james/www/ folder with
all modifications done directly in that folder. I can
only test the cgi scripts if they are run on a server.
But to do that I would have to copy the files to my
/var/www/html dir everytime I updated something. How
can I set up a hostname like ´seaport´ that I would
type into my browser and bring up the site I am
working on in my /home/james/www/ dir.
Any insite would be helpfull.
Hello,
Please read up the manual on apache configuration at the Apache website. If
this is only a local server, you can change the the "DocumentRoot" (that's
the keyword you're looking for) to point to /home/james/www/ .
Make sure that you don't accidentally expose the stuff you don't want to
expose to the outside world (ie. net)
RDB
--
Reuben D. Budiardja
Dept. Physics and Astronomy
University of Tennesse, Knoxville, TN
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT/M/MU/P/S d-(++) s: a-- C++(+++) UL++++ P-- L+++>++++ E- W+++
N+ o? K- w--- !O M- V? !PS !PE Y PGP- t+ 5 X R- tv+
b++>+++ DI D(+) G e++>++++ h+(*) r++ y->++++
------END GEEK CODE BLOCK------