vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Apache Log Viewer (https://vborg.vbsupport.ru/showthread.php?t=107691)

Trigunflame 02-11-2006 08:34 PM

Quote:

Originally Posted by Chris-777
This work with linux? I don't have a common.log on my server.

Yes, you just have to point the script to your Domains logs wherever that may be.

Most apache log formats are common or combined whether they are named such or not.

Snake 02-12-2006 09:18 AM

w00t w00t

* Aftermath clicks on install

Symen_4ab 02-12-2006 03:25 PM

Great idea, I hate when I have to go through ssh + vi to read my logs ;)

Tried to install it, but.. My log is located at /usr/local/apache/domlogs/mydomain.com
So, i the configuration line looks like this :

Code:

define('LOG_FILE_NAME', '/usr/local/apache/domlogs/mydomain.com');
Doesn't work.. Could not open log file.

Any advice ?

Marco van Herwaarden 02-12-2006 04:13 PM

Are you sure that is the logfilename, and not only the directory in which the file is located?

Symen_4ab 02-12-2006 04:36 PM

Yes, I'm sure about this, I can vi it.
I'll try with relative path in a few minutes


edit : Did try some things and achieved to finally understand..

I removed the @ in front of the fopen function, showing me the error returned.
When using the correct path : Warning: fopen(/usr/local/apache/domlogs/domain.com): failed to open stream: Permission denied in /admincp/apache_logs.php on line 39 :)
Got it working by chmodding the logfile (is 555 right ?)

Marco van Herwaarden 02-12-2006 04:56 PM

Quote:

Originally Posted by Symen_4ab
Got it working by chmodding the logfile (is 555 right ?)

Better use 644. If you use 555 your webserver also can not write to it anymore.

Symen_4ab 02-12-2006 05:05 PM

Thanks Marco, just changed it ;)

Trigunflame 02-12-2006 10:40 PM

Updated

Trigunflame 02-27-2006 02:17 AM

bump.. for the hell of it (GET A HACK DB MADE ALREADY).

Trigunflame 03-15-2006 07:35 PM



All times are GMT. The time now is 08:01 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01170 seconds
  • Memory Usage 1,730KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete