LinuxQuestions.org
Review your favorite Linux distribution.
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, 03:50 PM   #1
adumith
Member
 
Registered: Feb 2013
Posts: 44

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: Im using CentOs 6.6
 
Old 04-15-2015, 09:20 PM   #2
bishopolis
LQ Newbie
 
Registered: Feb 2015
Posts: 5

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, 03:31 PM   #3
adumith
Member
 
Registered: Feb 2013
Posts: 44

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:10 PM
setting up domain thru virtualhost on apache fiona333 Linux - Newbie 2 06-20-2007 06:27 PM
Apache - VirtualHost setting not working? Splenden Linux - Server 9 01-14-2007 01:15 PM
Setting Apache Virtualhost Default Document? Seventh Linux - Software 1 03-21-2005 11:47 AM
setting virtualhost without IP acid_kewpie Linux - Networking 3 12-10-2002 08:45 AM


All times are GMT -5. The time now is 02:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration