hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Stopping the creation of log files on one account only?
Reply

Forum Jump

Stopping the creation of log files on one account only?

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 02-20-2001, 11:40 AM
GordonH GordonH is offline
Web Hosting Master
 
Join Date: Sep 2000
Posts: 1,934
Hello
I need to stop the creation of log files on one hosting account on a server.

The only place I can see this is in httpd.conf:

<VirtualHost 2xx.171.65.2xx>
ServerAdmin webmaster@domain.com
DocumentRoot /home/domain/public_html
BytesLog domlogs/domain.com-bytes_log
ServerName http://www.domain.com
CustomLog domlogs/domain.com combined
ScriptAlias /cgi-bin/ /home/domain/public_html/cgi-bin/
</VirtualHost>


What is the effect of deleting the line CustomLog?
I had a look at:
http://httpd.apache.org/docs/mod/mod...html#customlog
but its not very clear if the log files that fill up peoples web space are created from here.

Gordon


__________________
Formerly: Managing Director, Hostroute.com Ltd & Marketing Director, Ultraspeed UK Ltd
View my Professional Profile: www.gordonhudson.com



Sponsored Links
  #2  
Old 02-20-2001, 01:14 PM
kunal kunal is offline
Web Hosting Master
 
Join Date: Aug 2000
Posts: 2,750
BytesLog domlogs/domain.com-bytes_log

I think you should just delete this line.

__________________
The Php Support Desk
http://www.phpsupportdesk.com
Custom programming - kunal @ e-phoria.com
http://www.pingzine.com - Ping!Zine. the FREE, FRESH and EXCITING Web Hosting Magazine...

  #3  
Old 03-05-2001, 01:44 PM
Tim Greer Tim Greer is offline
<insert something witty>
 
Join Date: Apr 2000
Location: California
Posts: 3,051
Quote:
Originally posted by GordonH
Hello
I need to stop the creation of log files on one hosting account on a server.

The only place I can see this is in httpd.conf:

<VirtualHost 2xx.171.65.2xx>
ServerAdmin webmaster@domain.com
DocumentRoot /home/domain/public_html
BytesLog domlogs/domain.com-bytes_log
ServerName http://www.domain.com
CustomLog domlogs/domain.com combined
ScriptAlias /cgi-bin/ /home/domain/public_html/cgi-bin/
</VirtualHost>


What is the effect of deleting the line CustomLog?
I had a look at:
http://httpd.apache.org/docs/mod/mod...html#customlog
but its not very clear if the log files that fill up peoples web space are created from here.

Gordon

If you don't want to log anything on that Virtual host, simply remove:

BytesLog domlogs/domain.com-bytes_log
and:
CustomLog domlogs/domain.com combined

Or, remove BytesLog and put the access like this:
CustomLog /dev/null combined

Sponsored Links
  #4  
Old 03-05-2001, 01:57 PM
GordonH GordonH is offline
Web Hosting Master
 
Join Date: Sep 2000
Posts: 1,934
Hello
Thanks Tim.
Thats very useful.
I had been looking through the Apache documentation but couldn't find the answer anywhere.

We have a project running that offers small web hosting accounts with domain registration (instead of web forwarding) and I did not want the accounts filling up with logs.

Gordon

__________________
Formerly: Managing Director, Hostroute.com Ltd & Marketing Director, Ultraspeed UK Ltd
View my Professional Profile: www.gordonhudson.com

  #5  
Old 03-05-2001, 11:56 PM
Wazeh Wazeh is offline
Aspiring Evangelist
 
Join Date: Sep 2000
Posts: 389
Gordon, give this a try if you want:
CustomLog /dev/null combined

I haven't tried it, but I think it should do the trick.

Reply

Related posts from TheWhir.com
Title Type Date Posted
IDrive Launches Cloud-based Facebook Backup Web Hosting News 2013-11-25 13:29:42
Successful Ingredients for Stopping Outbound Spam Blog 2013-07-30 09:54:15
Egnyte Synchronizes Google Drive with Private Cloud Storage Web Hosting News 2013-07-17 12:36:21
Yahoo Integrates Email Client with Dropbox Cloud Storage Web Hosting News 2013-04-04 14:31:40
Google Drive Adds File Hosting, Improves Third-Party App Integration Web Hosting News 2013-02-08 12:46:31


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?