Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access to server not being logged

Status
Not open for further replies.

ManagerJay

IS-IT--Management
Jul 24, 2000
302
US
I have setup Apache with the following VirtualHost container.

-T Same as option -t but does not check the con­
figured document roots.

-X Run in single-process mode, for internal
debugging purposes only; the daemon does not
detach from the terminal or fork any children.
Do NOT use this mode to provide ordinary web
IW /etc/httpd/conf/httpd.conf (Mod Row 1210 Col 50 12:16 F1 for help
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *>
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot / IW intranet.access_log Row 1 Col 1 12:17 F1 for help







IW intranet.access_log Row 1 Col 1 12:17 F1 for help



IW intranet.error_log Row 1 Col 1 12:17 F1 for help



IW error_log Row 59 Col 1 12:18 F1 for help
[Tue Mar 18 11:16:59 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin
[Tue Mar 18 11:25:31 2003] [notice] caught SIGTERM, shutting down
[Tue Mar 18 11:25:34 2003] [notice] Apache/1.3.20 (Unix) (Red-Hat/Linux) mod_ss
IW httpd.conf Row 1 Col 1 12:21 F1 for help
New File


IW /etc/httpd/conf/httpd.conf (Mod Row 1210 Col 53 12:24 F1 for help
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *>
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot /# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>

<VirtualHost 10.129.10.49>
ServerAdmin jay.hall@mnea.org
DocumentRoot /hdd2/home/mnea/www/
DirectoryIndex index.htm
IW intranet.access_log Row 1 Col 1 12:27 F1 for help



IW /etc/httpd/conf/httpd.conf Row 1210 Col 26 12:28 F1 for help
# The first VirtualHost section is used for requests without a known
# server name.
#
IW /etc/httpd/log/access_log (Modi Row 2 Col 1 12:28 F1 for help











IW access_log Row 104 Col 1 12:29 F1 for help
10.129.10.139 - - [17/Mar/2003:20:14:57 -0600] &quot;GET /images/logo_owl-jpg.jpg HT
10.129.10.139 - - [17/Mar/2003:20:14:58 -0600] &quot;GET /images/greenline.jpg HTTP/
10.129.10.139 - - [17/Mar/2003:20:15:00 -0600] &quot;GET /images/MNEACard2.jpg HTTP/
10.129.10.139 - - [17/Mar/2003:20:15:03 -0600] &quot;GET /images/HomepageLeft.jpg HT
^K IW httpd.conf (Modified) Row 1211 Col 17 12:36 F1 for help
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>

<VirtualHost 10.129.10.49>
ServerAdmin jay.hall@mnea.org
DocumentRoot /hdd2/home/mnea/www/
IW httpd.conf (Modified) Row 1211 Col 45 12:36 F1 for help
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *>
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot /# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>

<VirtualHost 10.129.10.49>
ServerAdmin jay.hall@mnea.org
IW intranet.access_log Row 1 Col 1 12:37 F1 for help



IW intranet.access_log Row 1 Col 1 12:38 F1 for help





IW httpd.conf Row 1208 Col 26 12:38 F1 for help
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *>
# ServerAdmin webmaster@dummy-host.example.com
IW access_log (Modified) Row 105 Col 1 12:39 F1 for help
10.129.10.139 - - [17/Mar/2003:20:14:58 -0600] &quot;GET /images/greenline.jpg HTTP/
10.129.10.139 - - [17/Mar/2003:20:15:00 -0600] &quot;GET /images/MNEACard2.jpg HTTP/
10.129.10.139 - - [17/Mar/2003:20:15:03 -0600] &quot;GET /images/HomepageLeft.jpg HT
IW intranet.access_log (Modified) Row 2 Col 1 12:39 F1 for help
s



















IW error_log Row 69 Col 1 12:39 F1 for help
[Tue Mar 18 11:36:21 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/sbi
[Tue Mar 18 11:37:09 2003] [notice] caught SIGTERM, shutting down
[Tue Mar 18 11:37:11 2003] [notice] Apache/1.3.20 (Unix) (Red-Hat/Linux) mod_s
[Tue Mar 18 11:37:11 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/sbi
[Tue Mar 18 12:05:38 2003] [notice] caught SIGTERM, shutting down
[Tue Mar 18 12:05:41 2003] [notice] Apache/1.3.20 (Unix) (Red-Hat/Linux) mod_s
[Tue Mar 18 12:05:41 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/sbi
[Tue Mar 18 12:06:25 2003] [notice] caught SIGTERM, shutting down
[Tue Mar 18 12:06:27 2003] [notice] Apache/1.3.20 (Unix) (Red-Hat/Linux) mod_s
[Tue Mar 18 12:06:27 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/sbi
[Tue Mar 18 12:11:16 2003] [notice] caught SIGTERM, shutting down
[Tue Mar 18 12:11:19 2003] [notice] Apache/1.3.20 (Unix) (Red-Hat/Linux) mod_s
[Tue Mar 18 12:11:19 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/sbi
[Tue Mar 18 12:16:58 2003] [notice] caught SIGTERM, shutting down
[Tue Mar 18 12:17:01 2003] [notice] Apache/1.3.20 (Unix) (Red-Hat/Linux) mod_s
[Tue Mar 18 12:17:01 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/sbi
[Tue Mar 18 12:25:01 2003] [notice] caught SIGTERM, shutting down
[Tue Mar 18 12:25:04 2003] [notice] Apache/1.3.20 (Unix) (Red-Hat/Linux) mod_s
[Tue Mar 18 12:25:04 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/sbi
[Tue Mar 18 12:36:18 2003] [notice] caught SIGTERM, shutting down
[Tue Mar 18 12:36:56 2003] [notice] Apache/1.3.20 (Unix) (Red-Hat/Linux) mod_s
[Tue Mar 18 12:36:56 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/sbi

File error_log not changed so no update needed.
IW error_log Row 1 Col 1 12:43 F1 for help
[Sun Mar 16 04:02:04 2003] [notice] Apache/1.3.20 (Unix) (Red-Hat/Linux) mod_s
[Sun Mar 16 04:02:04 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/sbi
[Mon Mar 17 04:02:01 2003] [notice] SIGHUP received. Attempting to restart
IW intranet.access_log Row 1 Col 1 12:43 F1 for help




IW httpd.conf Row 1 Col 1 12:43 F1 for help
New File



IW httpd.conf Row 1222 Col 1 12:44 F1 for help
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>

<VirtualHost X.X.X.X>
ServerAdmin jay.hall@mnea.org
DocumentRoot /home/mnea/www/
DirectoryIndex index.htm
UseCanonicalName On
LogFormat &quot;%h %l %u %t \&quot;%r\&quot; %>s %b&quot; common
TransferLog logs/intranet.access_log
ScriptAlias /cgi-bin/ &quot;/hdd2/home/mnea/cgi-bin/&quot;
<Directory &quot;/hdd2/home/mnea/cgi-bin/&quot;>
Options ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
ServerName ErrorLog logs/intranet.error_log
</VirtualHost>

Nothing is being sent to intranet.access_log. After opening several pages, the file is still blank. Ownership on the file is apache.root with permissions of 775. And, Apache is being run as root. I am running Apache-1.3.20 on RedHat 7.2.

Any suggestions would be greatly appreciated.

Thanks in advance for your assistance.



Jay
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top