Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Where does apache put log files?

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  apache with subdirectories. Users unable to go to..  
Author Message
user2428

External


Since: Aug 19, 2003
Posts: 5



(Msg. 1) Posted: Wed Aug 20, 2003 1:56 am
Post subject: Where does apache put log files?
Archived from groups: alt>apache>configuration (more info?)

Im trying to locate my websites log files so i can set up some free website
stats software
I have ftp access to the server and found a folder called:

/httpd-2.0.46

Im guessing this is the folder for the apache2 installation?.
My website virtual info looks like:

<VirtualHost *>
ServerAdmin webmaster.TakeThisOut@xxx.com
DocumentRoot /usr/home/xxx
ServerName www.xxx.com
ErrorLog logs/xxx.com-error_log
CustomLog logs/xxx.com-access_log common
scriptalias /cgi-bin/ /usr/home/xxx/cgi-bin/
DirectoryIndex index.htm index.html index.php
</VirtualHost>

The website stats software said my logs might be found at:
/var/log/apache/access.log
but i cant find a folder called var, log or logs in directory
/httpd-2.0.46

Anyone have any ideas?

 >> Stay informed about: Where does apache put log files? 
Back to top
Login to vote
claudio

External


Since: Aug 14, 2003
Posts: 47



(Msg. 2) Posted: Wed Aug 20, 2003 4:01 am
Post subject: Re: Where does apache put log files? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Graham schrieb:

 > Im trying to locate my websites log files so i can set up some free
 > website stats software
 > I have ftp access to the server and found a folder called:
 >
 > /httpd-2.0.46
 >
 > Im guessing this is the folder for the apache2 installation?.

Sorry, but we can't know where your FTP-rootfolder in the system is (the
FTP-root must not be equal to the system-root; most times they aren't
equal). What contents this folder? Perhaps the sources of apache?

 > My website virtual info looks like:
 >
 > <VirtualHost *>
 > ServerAdmin webmaster.TakeThisOut@xxx.com
 > DocumentRoot /usr/home/xxx
<font color=purple> > ServerName <a style='text-decoration: underline;' href="http://www.xxx.com</font" target="_blank">www.xxx.com</font</a>>
 > ErrorLog logs/xxx.com-error_log
 > CustomLog logs/xxx.com-access_log common
 > scriptalias /cgi-bin/ /usr/home/xxx/cgi-bin/
 > DirectoryIndex index.htm index.html index.php
 > </VirtualHost>
 >
 > The website stats software said my logs might be found at:
 > /var/log/apache/access.log
 > but i cant find a folder called var, log or logs in directory
 > /httpd-2.0.46

Sure. /var/log/apache/access.log is an absolute path to a file, not a
relative. So you will find the folder var in the root-folder of your
system. Additional to the documentation about CustomLog read the
documentation about ServerRoot.

As additional information, the compile settings:
httpd -V | grep HTTPD_ROOT
httpd -V | grep XFERLOG

cc<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Where does apache put log files? 
Back to top
Login to vote
user2428

External


Since: Aug 19, 2003
Posts: 5



(Msg. 3) Posted: Wed Aug 20, 2003 3:23 pm
Post subject: Re: Where does apache put log files? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Claudio Carobolante" <claudio RemoveThis @carobolante.net> wrote in message
news:8rma11-557.ln1@carobolante.net...


Hi Claudio

My virtual host file says:

<VirtualHost *>
ServerAdmin webmaster RemoveThis @xxx.co.uk
DocumentRoot /usr/home/xxx
ServerName www.xxx.co.uk
ErrorLog logs/xxx.co.uk-error_log
CustomLog logs/xxx.co.uk-access_log combined
scriptalias /cgi-bin/ /usr/home/xxx/cgi-bin/
DirectoryIndex index.htm index.html index.php
</VirtualHost>


For my awstats software would my target to my log file therefore be?

LogFile="/var/log/apache/xxx.co.uk-access_log ????
 >> Stay informed about: Where does apache put log files? 
Back to top
Login to vote
claudio

External


Since: Aug 14, 2003
Posts: 47



(Msg. 4) Posted: Wed Aug 20, 2003 5:51 pm
Post subject: Re: Where does apache put log files? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Graham wrote:
 > "Claudio Carobolante" <claudio RemoveThis @carobolante.net> wrote [...]

 > My virtual host file says:
 >
 > <VirtualHost *>
 > ServerAdmin webmaster RemoveThis @xxx.co.uk
 > DocumentRoot /usr/home/xxx
<font color=purple> > ServerName <a style='text-decoration: underline;' href="http://www.xxx.co.uk</font" target="_blank">www.xxx.co.uk</font</a>>
 > ErrorLog logs/xxx.co.uk-error_log
 > CustomLog logs/xxx.co.uk-access_log combined
 > scriptalias /cgi-bin/ /usr/home/xxx/cgi-bin/
 > DirectoryIndex index.htm index.html index.php
 > </VirtualHost>
 >
 > For my awstats software would my target to my log file therefore be?
 > LogFile="/var/log/apache/xxx.co.uk-access_log ????

You posted in <1061330199.11489.0 RemoveThis @echo.uk.clara.net>
| The website stats software said my logs might be found at:
| /var/log/apache/access.log

O.K., this paths are a little bit strangely. I see two possibilities:

- The correct path is /var/log/apache/logs/xxx.co.uk-access_log and you
don't have read the documentation about CustomLog or ServerRoot.
- there are more then one Logfile and you didn't told us the complete
configuration. (I missed at least a NameVirtualHost-directive)

We are speaking about a UNIX/Linux-based server? I guess, this server is
an outdoor-server (You are using Microsoft Outlook Express V6). Do you
have any possibility to a remote login? No, I don't mean FTP, I mean
TELNET or much better SSH. Get some help for using a shell. Make a login
and search the files.

cc<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Where does apache put log files? 
Back to top
Login to vote
user2428

External


Since: Aug 19, 2003
Posts: 5



(Msg. 5) Posted: Wed Aug 20, 2003 5:51 pm
Post subject: Re: Where does apache put log files? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

 >Do you
 > have any possibility to a remote login? No, I don't mean FTP, I mean
 > TELNET or much better SSH. Get some help for using a shell. Make a login
 > and search the files.
 >
 > cc

I have access details for these.
Can you tell me what software/tool i use to telnet or SSH ?<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Where does apache put log files? 
Back to top
Login to vote
admin34

External


Since: Jul 01, 2003
Posts: 47



(Msg. 6) Posted: Wed Aug 20, 2003 6:03 pm
Post subject: Re: Where does apache put log files? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

If you use virtual hosts then if your server path is
/usr/local/httpd/htdocs
then you will find
/usr/local/httpd/logs
with your virtual host log files in.

Mike
 >> Stay informed about: Where does apache put log files? 
Back to top
Login to vote
user2428

External


Since: Aug 19, 2003
Posts: 5



(Msg. 7) Posted: Wed Aug 20, 2003 6:38 pm
Post subject: Re: Where does apache put log files? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Michael Forster" <admin RemoveThis @muckworld.com> wrote in message
news:3f43776f$1@news.userve.net...
 > If you use virtual hosts then if your server path is
 > /usr/local/httpd/htdocs
 > then you will find
 > /usr/local/httpd/logs
 > with your virtual host log files in.
 >
 > Mike
 >

that works, thanks mike<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Where does apache put log files? 
Back to top
Login to vote
claudio

External


Since: Aug 14, 2003
Posts: 47



(Msg. 8) Posted: Wed Aug 20, 2003 6:55 pm
Post subject: Re: Where does apache put log files? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Graham wrote:

  >>Do you
  >> have any possibility to a remote login? No, I don't mean FTP, I mean
  >> TELNET or much better SSH. Get some help for using a shell. Make a
  >> login and search the files.
 >
 > I have access details for these.
 > Can you tell me what software/tool i use to telnet or SSH ?

I love google.com

<a style='text-decoration: underline;' href="http://www.google.com/search?q=SSH+Client+Windows" target="_blank">http://www.google.com/search?q=SSH+Client+Windows</a>

cc<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Where does apache put log files? 
Back to top
Login to vote
user2428

External


Since: Aug 19, 2003
Posts: 5



(Msg. 9) Posted: Wed Aug 20, 2003 6:55 pm
Post subject: Re: Where does apache put log files? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Claudio Carobolante" <claudio DeleteThis @carobolante.net> wrote in message
news:i7bc11-bv8.ln1@carobolante.net...
 > Graham wrote:
 >
   > >>Do you
   > >> have any possibility to a remote login? No, I don't mean FTP, I mean
   > >> TELNET or much better SSH. Get some help for using a shell. Make a
   > >> login and search the files.
  > >
  > > I have access details for these.
  > > Can you tell me what software/tool i use to telnet or SSH ?
 >
 > I love google.com
 >
<font color=purple> > <a style='text-decoration: underline;' href="http://www.google.com/search?q=SSH+Client+Windows</font" target="_blank">http://www.google.com/search?q=SSH+Client+Windows</font</a>>
 >
 > cc

sorry i should have been more clear. Is there one particular one you
recommend?<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Where does apache put log files? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Can't download DLL files from Apache-served Web page - Our ISP upgraded our FreeBSD Web server to Apache 1.3.2.7. We have a Web page where users can download some DLL files. When they try to do that now, they receive a "Cannot find server or DNS Error" error. We replaced the DLL files with ZIP fil...

Win2k pro, apache 2.0, php - downloads php files, how do i.. - I've searched groups for this topic and found many results that didn't work in my configuration. I'm using: Windows 2000 pro Apache 2.0.43 (distributed with indigoperl 2003(latest version)) PHP 4.2.3 (distributed with above distrbution) Apache works..

Optimal Apache configuration for serving large files? - Hello, I am currently preparing a webserver - I have done that several times before, for the often found scenario where some html files, some images and some scripts shall be served under several virtual domains; the scenario that apache is best..

How to configure log files ? - Hello, Sorry for my poor english, I'm french. My Apache 1.3.19 (running on Red Hat), is configured to create one log file per virtual site (it's described in the httpd.conf). But the log I get are not complete enougth, I'd like to have the referrer, the....

Browser want to download php files ??? - Hi, i installed a lot of apache servers with php support under suse linux now i use debian and now my apache server don't work with php ?? i installed apache 1.3.27 with php4 4.2.3.4 i have changed everything at the httpd.conf : LoadModule php4_module....
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]