Apache localhost-access.log


 
Thread Tools Search this Thread
Operating Systems Solaris Apache localhost-access.log
# 1  
Old 12-18-2008
Apache localhost-access.log

The localhost-access.log has a size 3gb. What can apache2 break log on the parts 300mb, or the other issue, make log every week and index it with prifix current date(localhost-access_date.log)?
Please help.

Last edited by sotich82; 12-18-2008 at 12:45 PM..
# 2  
Old 12-18-2008
look into logrotate.
Dont know what os you are using but on my CentOS(Redhat) its at /etc/logrotate.conf
# 3  
Old 12-18-2008
In my case Solaris10.
bash-3.00# find /|grep logrotate.conf
/usr/sfw/lib/webmin/logrotate/config
/usr/sfw/lib/webmin/logrotate/config-*-linux
/usr/sfw/lib/webmin/logrotate/config-freebsd
/usr/sfw/lib/webmin/logrotate/config-open-linux
/usr/sfw/lib/webmin/logrotate/config.info
/usr/sfw/lib/webmin/logrotate/config.info.ca
/usr/sfw/lib/webmin/logrotate/config.info.de

All conf logrotate files, which?Smilie

Can list logrotate.conf?

Last edited by sotich82; 12-18-2008 at 12:49 PM..
# 4  
Old 12-19-2008
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Web Development

Apache website uri access

Hi i would like to grant access specific to one uri and rest of them should be denied. as follows: http://websitename/example user should be able to access htttp://websitename/other user should be denied (1 Reply)
Discussion started by: raghur77
1 Replies

2. Red Hat

Apache Tomcat(403 Access Denied)

Good evening, i've got a problem. I fail to enter "Manager App" in Apache Tomcat/9.0.0.M9 on server, it says "403 Access Denied». for example, server address is 192.168.1.4, when I type 'localhost ' in the browser and press "Manager App", then everything is ok. but if I enter 192.168.1.4 and press... (0 Replies)
Discussion started by: v.k.l.chr.by
0 Replies

3. Linux

Restricting directory access in Apache server

Hi all, I have a web site that I'm serving on an Apache server, and it has a number of different folders, but I only want the user to be able to access certain ones -- the majority of them I don't want the user to access. I tried modifying my /etc/apache2/conf.d/security file to do this, but I... (1 Reply)
Discussion started by: Zel2008
1 Replies

4. Web Development

I need apache to serve images from localhost instead of appserver

I have an apache/2.2.15 server centos 6.3 The apache server will be serving jboss app via mod_proxy (got that working) But... I need to serve the images from a local directory on the apache server. Here is my configuration. When I got to the site, I get 404s for all the images. What am I... (5 Replies)
Discussion started by: kmaq7621
5 Replies

5. Programming

Access denied for user at localhost

Hi guys. We can can connect to mysql server from command line with some user. but when using mysql_connect() it says: access is denied for user 'someuser'@'localhost' (using password: YES) what should i do? (6 Replies)
Discussion started by: majid.merkava
6 Replies

6. UNIX for Advanced & Expert Users

remote web server access (apache)

Hi, I have web server (apache) installed in server-1 and i want to view the web pages from diferent servers also while the web server is running only in one server ....(all the servers are connected to office LAN) right now all the servers have apache running......and CPU utilzation is at its... (2 Replies)
Discussion started by: aditya.ece1985
2 Replies

7. UNIX for Advanced & Expert Users

Apache restrict access with certificates

Hello! Does anyone know if it's possible to restrict access to apache webserver with certificates? What I want is that if a user has a certificate in his browser then he get's access, if not show error or another page. I would be very happy if someone knew! /D (2 Replies)
Discussion started by: Esaia
2 Replies

8. UNIX for Dummies Questions & Answers

cannot access files in apache

i've never had this happen before, but i cannot access files from the shell in my apache server but i can see them on my localhost and by typing in my ip address in the url i can access and view files. not through the shell tho.... kumi@throne:/var/www % ls -l templates/decorative total 0... (3 Replies)
Discussion started by: visitorQ
3 Replies

9. UNIX for Dummies Questions & Answers

Can't access apache

I have installed RedHat 9.0 and Apache. Everything works fine... I type http://localhost and the default webpage comes up... But when I go to another computer that is on the network and type http://10.10.1.38 (the computer) it comes up "The Page Cannot Be Displayed" I am logged in as the Root... ... (0 Replies)
Discussion started by: pokermagic
0 Replies

10. Linux

apache@localhost.localdomain

Hello, I am ltrying to find the config file to modify a parameter for apache (I guess). Here, when sending mail using php web form I get a copy of all mail sent from that form, but here is a sample of what I get : From : apache@localhost.localdomain To : myemail@host.com Subject : Mail ... (2 Replies)
Discussion started by: qfwfq
2 Replies
Login or Register to Ask a Question