Re: [Hampshire] gallery2.

Top Page

Reply to this message
Author: Mike Burrows
Date:  
To: David Webster
CC: Hants LUG
Subject: Re: [Hampshire] gallery2.

>
> Can you access any web files hosted on your machine?


Yes. In fact it should also work for you at

http://testcenter.homedns.org/webcam.htm

>
> You should double check that /var/www is your DocumentRoot, the first line in:
>
> cat /etc/httpd/conf/httpd.conf |grep DocumentRoot


marvin:/usr/share/gallery2# cat /etc/httpd/conf/httpd.conf |grep
DocumentRoot
cat: /etc/httpd/conf/httpd.conf: No such file or directory
marvin:/usr/share/gallery2#

>

marvin:/usr/share/gallery2# locate httpd.conf
/etc/apache/#httpd.conf#
/etc/apache/httpd.conf
/etc/apache/httpd.conf~
/etc/apache2/httpd.conf
/usr/share/apache/default-configs/apache-perl/httpd.conf
/usr/share/apache/default-configs/apache-ssl/httpd.conf
/usr/share/apache/default-configs/apache/httpd.conf
/usr/share/doc/apache-common/examples/httpd.conf-dist
/usr/share/doc/apache/examples/httpd.conf
/usr/share/doc/apache2.2-common/examples/apache2/original/httpd.conf.gz
marvin:/usr/share/gallery2#



> should show you it. The path to httpd.conf might be different for you.
> If your DocumentRoot differs then you'll need to place the photos
> symlink elsewhere.


excerpt from httpd.conf:

# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot /var/www

what is photos in the script

http://localhost/photos.

a file or webpage?


> That command assumes a blank root password - which is often the case,
> but isn't ideal.
>

Roger!

Many thanks
so far.

Mike