LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-15-2015, 02:50 PM   #1
adumith
Member
 
Registered: Feb 2013
Posts: 46

Rep: Reputation: Disabled
Question How to setting mod_cache for VirtualHost


Hello everyone;

I have the configuration:

#<IfModule mod_disk_cache.c>
# CacheEnable disk http://mydomain/uploads/
# CacheRoot /home/www/mydomain/cache
# CacheDefaultExpire 1200
# CacheDirLevels 5
# CacheDirLength 3
#</IfModule>

This work smoothly, but at this time I have to set this module for two virtualHost.

Any body know how can I do it?

Thanks in advance.

Best regards;

P.D: I´m using CentOs 6.6
 
Old 04-15-2015, 08:20 PM   #2
bishopolis
LQ Newbie
 
Registered: Feb 2015
Posts: 8

Rep: Reputation: Disabled
Quote:
Originally Posted by adumith View Post
Any body know how can I do it?
Yes. The documentation says you can put that into a VirtualHost stanza.

/manual/mod/mod_cache.html#cacheenable

Good luck.
 
Old 04-16-2015, 02:31 PM   #3
adumith
Member
 
Registered: Feb 2013
Posts: 46

Original Poster
Rep: Reputation: Disabled
Thumbs up

Quote:
Originally Posted by bishopolis View Post
Yes. The documentation says you can put that into a VirtualHost stanza.

/manual/mod/mod_cache.html#cacheenable

Good luck.
Thanks for your reply, but could you provide me the complete URL or some example..

Thanks again.....
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting VirtualHost on Centos 5.5 Dilbert_halflife Linux - Server 2 05-12-2011 11:10 AM
setting up domain thru virtualhost on apache fiona333 Linux - Newbie 2 06-20-2007 05:27 PM
Apache - VirtualHost setting not working? Splenden Linux - Server 9 01-14-2007 12:15 PM
Setting Apache Virtualhost Default Document? Seventh Linux - Software 1 03-21-2005 10:47 AM
setting virtualhost without IP acid_kewpie Linux - Networking 3 12-10-2002 07:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration