httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thiago Madeira de Lima" <>
Subject [users@httpd] Apache NamedVirtualHost + Squid in Accellerator mode problems
Date Fri, 06 Dec 2002 13:32:08 GMT

    I'm having some trouble configuring apache as a content server,
using squid as frontend to cache the requests.
    My configuration points all my DNS As for squid external IP, squid
then uses a rewrite script to redirect it to apache. Apache is in a
private network. 

	But the problem is that apache namevirtuahost directive is not
working as it should.

    From apache core documentation :

   "In cases where a firewall or other proxy receives the requests and
forwards them on a different IP address to the server, you must specify
the IP address of the physical interface on the machine which will be
servicing the requests"

	My apache.conf looks just like this :

(this is the squid external ip address) 

        DocumentRoot /home/httpd/html/foo
        ErrorLog logs/
        CustomLog logs/ combined

        DocumentRoot /home/httpd/html/bar
        ErrorLog logs/
        CustomLog logs/ combined

	When I request it works, but if i request it returns me content. Looks like the
Namevirtualhost directive is not working. 

	Anyone had this problem, or have a setup like that ? Any tips?
Will I be able to make this work? 

Thanks alot.
Thiago Lima

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message