Web Server Configuration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Server Configuration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old September 11th, 2004, 04:13 PM
Peter_sgc Peter_sgc is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 1 Peter_sgc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Angry Displaying The apache access log (help)

Hey, I have an apache server running on a windows box, and I would like to know how I could get it so the access. Log file to be
Displayed so that I can access it frm the internet. I have tried using a php include but that just gives me one large file with all the entries mashed together.

I have looked at web log analyzers but they seem to give me graphical things. When all I want is just the main text file formatted correctly.
Any help is greatly appreciated.

Peter

Reply With Quote
  #2  
Old September 15th, 2004, 05:18 PM
oyejorge oyejorge is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 25 oyejorge User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 13 sec
Reputation Power: 0
I would say you have a couple of options depending on your level of access.
The simplest solution would be to use html "<pre>" tags with your php include statement.

PHP Code:
<pre
<?
PHP
include '../logs/access.log';
?>
</pre> 

Or, if you have access to the httpd.conf you could change the path of the customLog directive to put the access.log file in the same folder as your web pages. You could also change the logFormat directive to customize the format of your access.log.
http://httpd.apache.org/docs-2.0/logs.html#accesslog

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Server Configuration > Displaying The apache access log (help)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Iron Speed




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway