It seems that Apache needs configuration?  specifically the 
documentroot?  Is that required?


localhost ~ # 
localhost ~ # 
localhost ~ # 
localhost ~ # cat /etc/apache2/vhosts.d/00_default_vhost.conf 
### Section 3: Virtual Hosts
#
# VirtualHost: If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most 
configurations
# use only name-based virtual hosts so the server doesn't need to worry 
about
# IP addresses. This is indicated by the asterisks in the directives 
below.
#
# Please see the documentation at 
# <URL:http://httpd.apache.org/docs-2.0/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.

#
# Use name-based virtual hosting.
#
NameVirtualHost *:80

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *:80>
#    ServerAdmin [EMAIL PROTECTED]
#    DocumentRoot /www/docs/dummy-host.example.com
#    ServerName dummy-host.example.com
#    ErrorLog @rel_logfiledir@/dummy-host.example.com-error_log
#    CustomLog @rel_logfiledir@/dummy-host.example.com-access_log common
#</VirtualHost>

#
# The First Virtual Host is also your DEFAULT Virtual Host.
# This means any requests that do not match any other vhosts will 
# goto this virtual host.
#

<IfDefine DEFAULT_VHOST>
<VirtualHost *:80>
    #
    # 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/localhost/htdocs"

    #
    # This should be changed to whatever you set DocumentRoot to.
    #
    <Directory "/var/www/localhost/htdocs">

        #
        # Possible values for the Options directive are "None", "All",
        # or any combination of:
        #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI 
MultiViews
        #
        # Note that "MultiViews" must be named *explicitly* --- "Options 
All"
        # doesn't give it to you.
        #
        # The Options directive is both complicated and important.  
Please see
        # http://httpd.apache.org/docs-2.0/mod/core.html#options
        # for more information.
        #
        Options Indexes FollowSymLinks

        #
        # AllowOverride controls what directives may be placed 
in .htaccess files.
        # It can be "All", "None", or any combination of the keywords:
        #   Options FileInfo AuthConfig Limit
        #
        AllowOverride None

        #
        # Controls who can get stuff from this server.
        #
        Order allow,deny
        Allow from all
    </Directory>

    <IfModule peruser.c>
        # this must match a Processor
        ServerEnvironment apache apache

        # these are optional - defaults to the values specified in 
httpd.conf
        MinSpareProcessors 4
        MaxProcessors 20
    </IfModule>

    <IfModule itk.c>
        # The userid and groupid this VirtualHost will run as
        AssignUserID apache apache

        # Optional: A separate MaxClients for the VirtualHost,
        # to limit the maximum number of processes
        MaxClientsVHost 50

        # Note that if you do not assign a user ID for your
        # VirtualHosts, none will be assigned by default,
        # ie. you'll run as root. Don't forget this!
    </IfModule>
</VirtualHost>
</IfDefine>
localhost ~ # 
localhost ~ # cat /var/log/apache2/error_log 
[Wed Aug 01 13:40:55 2007] [notice] suEXEC mechanism enabled (wrapper: /
usr/sbin/suexec2)
[Wed Aug 01 13:40:55 2007] [notice] Digest: generating secret for digest 
authentication ...
[Wed Aug 01 13:40:55 2007] [notice] Digest: done
[Wed Aug 01 13:40:55 2007] [notice] Apache configured -- resuming normal 
operations
[Wed Aug 01 13:41:48 2007] [error] [client 127.0.0.1] File does not 
exist: /var/www/localhost/htdocs/phpMyAdmin
[Wed Aug 01 13:46:46 2007] [error] [client 127.0.0.1] File does not 
exist: /var/www/localhost/htdocs/phpMyAdmin
[Wed Aug 01 14:20:06 2007] [notice] caught SIGTERM, shutting down
[Wed Aug 15 01:49:03 2007] [notice] suEXEC mechanism enabled (wrapper: /
usr/sbin/suexec2)
[Wed Aug 15 01:49:03 2007] [notice] Digest: generating secret for digest 
authentication ...
[Wed Aug 15 01:49:03 2007] [notice] Digest: done
[Wed Aug 15 01:49:03 2007] [notice] Apache configured -- resuming normal 
operations
[Wed Aug 15 01:50:06 2007] [error] [client 127.0.0.1] File does not 
exist: /var/www/localhost/htdocs/phpMyAdmin
[Wed Aug 15 01:52:49 2007] [error] [client 127.0.0.1] File does not 
exist: /var/www/localhost/htdocs/phpMyAdmin
[Wed Aug 15 01:52:58 2007] [error] [client 127.0.0.1] File does not 
exist: /var/www/localhost/htdocs/PHPMyAdmin
[Wed Aug 15 01:57:55 2007] [error] [client 127.0.0.1] File does not 
exist: /var/www/localhost/htdocs/phpMyAdmin, referer: http://
www.linuxforums.org/forum/servers/52785-mysql-phpmyadmin.html
[Wed Aug 15 10:11:21 2007] [notice] caught SIGTERM, shutting down
[Wed Aug 15 10:11:21 2007] [notice] suEXEC mechanism enabled (wrapper: /
usr/sbin/suexec2)
[Wed Aug 15 10:11:21 2007] [notice] Digest: generating secret for digest 
authentication ...
[Wed Aug 15 10:11:21 2007] [notice] Digest: done
[Wed Aug 15 10:11:21 2007] [notice] Apache configured -- resuming normal 
operations
[Wed Aug 15 10:15:51 2007] [notice] caught SIGTERM, shutting down
[Wed Aug 15 23:58:22 2007] [notice] suEXEC mechanism enabled (wrapper: /
usr/sbin/suexec2)
[Wed Aug 15 23:58:22 2007] [notice] Digest: generating secret for digest 
authentication ...
[Wed Aug 15 23:58:22 2007] [notice] Digest: done
[Wed Aug 15 23:58:22 2007] [notice] Apache configured -- resuming normal 
operations
[Thu Aug 16 01:02:00 2007] [notice] caught SIGTERM, shutting down
[Thu Aug 16 01:02:00 2007] [notice] suEXEC mechanism enabled (wrapper: /
usr/sbin/suexec2)
[Thu Aug 16 01:02:00 2007] [notice] Digest: generating secret for digest 
authentication ...
[Thu Aug 16 01:02:00 2007] [notice] Digest: done
[Thu Aug 16 01:02:00 2007] [notice] Apache configured -- resuming normal 
operations
[Thu Aug 16 01:02:16 2007] [error] [client 127.0.0.1] File does not 
exist: /usr/htdocs
[Thu Aug 16 01:02:23 2007] [error] [client 127.0.0.1] File does not 
exist: /usr/htdocs
localhost ~ # 
localhost ~ # 
localhost ~ # ll /usr/
total 180
lrwxrwxrwx   1 root root     6 Jul 26 03:17 X11R6 -> ../usr
drwxr-xr-x   2 root root 40960 Aug 14 14:08 bin
drwxr-xr-x   3 root root  4096 Aug  8 00:33 doc
drwxr-xr-x   6 root root  4096 Jul 26 02:49 i686-pc-linux-gnu
drwxr-xr-x 191 root root 20480 Aug 15 02:34 include
drwxr-xr-x   3 root root  4096 Jul 26 04:18 kde
drwxr-xr-x  87 root root 69632 Aug 15 01:39 lib
drwxr-xr-x   7 root root  4096 Aug  8 01:23 libexec
drwxr-xr-x   8 root root  4096 Jul 26 02:45 local
drwxr-xr-x 158 root root  4096 Jul 26 21:08 portage
drwxr-xr-x   3 root root  4096 Jul 26 08:33 qt
drwxr-xr-x   2 root root 12288 Aug 15 02:34 sbin
drwxr-xr-x 185 root root  4096 Aug 15 01:39 share
drwxr-xr-x   2 root root  4096 Jul 26 02:45 src
localhost ~ # 
localhost ~ # date
Thu Aug 16 01:21:32 PDT 2007
localhost ~ # 
localhost ~ # 
localhost ~ # 





thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list

Reply via email to