|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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
|
|
#2
|
|||
|
|||
|
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:
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 |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Server Configuration > Displaying The apache access log (help) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|