Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 22nd April 2012, 14:35
wbullockiii wbullockiii is offline
Junior Member
Join Date: Apr 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Varnish 3.0.2 and ISPConfig 3.0.4


I followed the tutorial The Perfect Server - Ubuntu 11.10 [ISPConfig 3] here. I'm running an Ubuntu 11.04 (Natty Narwhal) server with 1024 RAM on Rackspace. I've gone through and updated to ISPConfig 3.0.4. Everything has been working great up to now when I decided to try and install Varnish. Initially I did an install of Varnish by issuing:
  • apt-get update
  • apt-get upgrade
  • apt-get install varnish
Apparently the version that was installed was Varnish 2.x so I went back and added the repositories for packages provided by varnish-cache.orgThis updated my version of Varnish to 3.0.2

I then proceeded to make the following changes:
  • vim /etc/default/varnish
  • change DAEMON_OPTS to port 80:
  • vim /etc/apache2/ports.conf
  • NameVirtualHost *:8000
  • Listen 8000
  • vim /etc/apache2/sites-available/default
  • <VirtualHost *:8000>
  • vim /etc/apache2/sites-available/ispconfig.vhost
  • Listen 8080
  • NameVirtualHost *:8080
  • <VirtualHost _default_:8080>

I then proceeded to set my other vhosts to use 8000 (the apache2 port)

so with all this set I reset both Apache2 and Varnish to test. I used Firebug in Firefox 11.0

The output from what I see doesn't seem to indicate that Varnish is working completely correct:

First of all I see: X-Varnish 1644834493
but I've heard that unless you have two timestamps side by side than it's probably not working correctly so for example I was thinking I might see something like:

X-Varnish 1644834493 1644837493

Also if I noticed this in the output which seems to be inconstant:

X-Drupal-Cache MISS

There are times when it will say HIT as well....

So the question here that I have is I think Varnish is partially working, however, why don't I see two timestamps on X-Varnish like I'm thinking I should and does the output of the screenshot I have look correct? If Varnish isn't working can someone tell me what I might being doing wrong?

Thanks in advance.
Reply With Quote
Sponsored Links



Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Relay access denied when using SMTP to external recipients Kamran Shah Installation/Configuration 111 14th May 2014 19:10
No dns zone files created? sjau Installation/Configuration 7 13th March 2012 14:15
Version 1.3 of the ISPConfig 3 Manual is finally available! falko General 44 2nd December 2011 13:04
ISPConfig 3.0.4 Beta 1 available for download till Developers' Forum 26 4th November 2011 18:47
PHP warnings after upgrade to ISP config 3.03 stevegjacobs Installation/Configuration 5 30th October 2010 15:31

All times are GMT +2. The time now is 01:46.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.