On Saturday 26 January 2002 10:27, you wrote:
> On Saturday 26 January 2002 09:53 am, Andre Dubuc wrote:
> > I've installed (in LM 8.0) all the appropriate Apache programs and
> > modules, and all the PHP related stuff. In the LinuxConf - Service
> > Control, I notice that apache is not listed, and both httpd and webmin
> > are running.
> >
> > What do I have to do to get a working "server" so that I can test any
> > code that I write in html/php? (Can I use my only computer as a
> > stand-alone server, and access it as a client? I assume that I should be
> > able to do something like that especially since freeciv sets up
> > server/client on my machine.)
> >
> > If someone could point me in the right direction, it would save me wading
> > through tons of documentation that assumes I have Apache up-and-running!
> > Help?
>
> Andre, I'm a newbie too, but I think this is one question I can answer! If
> you have httpd running, then Apache is running. By default it installs the
> web documents in the directory /var/www/html. There is also
> /var/www/cgi-bin where all the scripts can go.
>
> You can access your web stuff by typing http://localhost in your browser.
> If you know your IP address, you can type that in as well. You should get a
> page telling about the version of Apache that you are running. That's just
> to let you know that the server is running.
>
> To avoid having to be root to add/change to your web directory, you have to
> add yourself to the group Apache. This can be done using UserDrake. Then,
> you should give the group write access to /var/www. Do this by typing
> "chmod g+w /var/www". That gives the group write permissions to the
> directory. You may have to log out and back in for that to take effect, I'm
> not sure. Then you should be able to edit and write new stuff in your
> /var/www/html directory.
>
> If your users want to have web pages, they have to create a directory in
> their home directory called "public_html". That's where they put all their
> web stuff. Then the user has to issue the command "chmod 755 ~USERNAME".
> Then the user's directory can be reached by "http://yourip/~username";.
>
> HTH,
> Todd


Thanks Todd,

That ot me up-and-running! I also understand what httpd is now (I never 
noticed the comments on the bottom of LinuxConf screen when I checked httpd!)

I still can't load any php test scripts, even though the modules are loaded 
in httpd.conf. I wonder whether the test script needs to be written in php.4 
(it's php.3) -- even though I "loaded" the older modules as well in 
httpd.conf. Obviously, I think you can tell I don't know what I'm doing here!

I think I'll have to do some reading as Michael suggested  . . . sigh!

One last thing, what effect will "chmod g+w /var/www have on Bastille? It 
doesn't seem to like that command too much. I'm a littel leary about changing 
pemissions to programs and files that I don't know too much about. 

Regard,
Andre 
Please pray the Holy Rosary to end the holocaust of abortion.
Remember in your prayers the suffering souls in Purgatory.

May God bless you abundantly in His love!

For a free Cenacle Scriptural Rosary Booklet -- http://www.webhart.net/csrb/

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to