|
Search tenon.com
Thanks to:
|
|
iTools
Dan,
The lines that you mention below are typically added when you set up
access controls in the Admin Server. Access controls are added to both
the Apache and Squid configurations to make sure that they take effect
both for cached and uncached content.
If you no longer need the access controls that you listed below, it might
be the best course of action to uncomment them and delete the access
controls with the admin server. Otherwise, the access controls that
correspond to the ones below that you've commented out will still be in
the Apache config and may cause confusion.
I hope this makes sense,
Erik.
On Sun, 28 Jul 2002, Dan Tappin wrote:
> After many head bangs on the wall I found the following lines that were
> somehow added to my squid.conf file.
>
> mrtg is a VH I created as for the other hosts... I have no idea.
>
> Can someone explain to me what this means?
>
> After commenting out this my access situation went away.
>
> #acl mrtg.orourke-eng.com/ urlpath_regex ^/
> #acl dstmrtg.orourke-eng.com/ dst 207.228.121.48
> #acl aipmrtg.orourke-eng.com/ src 207.228.121.48
> 192.168.0.0/24
> #http_access allow mrtg.orourke-eng.com/ dstmrtg.orourke-
> eng.com/ aipmrtg.orourke-eng$
> #http_access deny mrtg.orourke-eng.com/ dstmrtg.orourke-
> eng.com/ all
> On Sunday, July 28, 2002, at 06:48 , Sam Smith wrote:
>
> >> I have a VH configured. I have seen this before and I needed to
> >> re-install
> >> iTools to fix it. The problem is that I am not at the system (I am at
> >> my
> >> mother-in-law's infact) and I am trying to fix the system via ssh.
> >>
> >> If I turn off the cache in the itools.conf file I can get the VH to
> >> respond
> >> on the :81 port but a plain http://mydomain.com/ results in a plain
> >> 'can't
> >> connect' error. If I use http://mydomain.com:81 works.
> >>
> >
> > It's 5 am Sunday so there may not be many people around to help so I'll
> > take
> > a shot.
> >
> > I think iTools attempts to rewrite the port numbers from :81 to :80 in
> > the
> > /etc/httpd/httpd.conf file when the cache is turned off. So your deal is
> > acting as if iTools is unable to write to the /etc/httpd/httpd.conf
> > file to
> > make that change.
> >
> > What happens if you turn the cache back on.
> >
> > OR maybe it's not restarting Apache. As root do:
> > # apachectl configtest
> > # apachectl restart
> >
> > Look in /var/log/httpd/access_log and /var/log/httpd/error_log for
> > clues.
> >
> >
> > Can you use some text editor to look at the /etc/httpd/httpd.conf file
> > and
> > see if the VHs are in fact :80 and not :81?
> >
> > CHECK this line in the httpd.conf file:
> > #
> > # Port: The port to which the standalone server listens. For
> > # ports < 1023, you will need httpd to be run as root initially.
> > #
> > Port 80
> >
> > the VH block should look like this:
> >
> > <VirtualHost 10.0.0.103:80>
> > ServerName g3p.peta.home
> > <Directory /Library/WebServer/WebSites/g3p.peta.home>
> > Options Indexes FollowSymLinks MultiViews IncludesNOEXEC
> > </Directory>
> > DocumentRoot /Library/WebServer/WebSites/g3p.peta.home
> > NameVirtualHost 10.0.0.103
> > </VirtualHost>
> >
> > Or do this:
> >
> > % cd /etc/httpd
> > % grep VirtualHost httpd.conf
> > % grep Port httpd.conf
> >
> > #<VirtualHost *>
> > #</VirtualHost>
> > <VirtualHost 127.0.0.1:80>
> > NameVirtualHost 127.0.0.1
> > </VirtualHost>
> > <VirtualHost 10.0.0.103:80>
> > NameVirtualHost 10.0.0.103
> > </VirtualHost>
> > <VirtualHost 10.0.0.103:80>
> > NameVirtualHost 10.0.0.103
> > </VirtualHost>
> >
> >
> >
> >
> > ---------
> > ---------
> > Tenon Intersystems' iTools Mailing List
> > To unsubscribe: send
> > mailto://itools-request@xxxxxxxxxxxxxxx
> > with the subject: unsubscribe
> > Find searchable mailin list archives at:
> > http://itools.blackpepper.co.
> >
>
> ---------
> ---------
> Tenon Intersystems' iTools Mailing List
> To unsubscribe: send
> mailto://itools-request@xxxxxxxxxxxxxxx
> with the subject: unsubscribe
> Find searchable mailin list archives at:
> http://itools.blackpepper.co.
>
--
Erik Lotspeich Lead Engineer
Tenon Intersystems erik@xxxxxxxxx
1123 Chapala Street Ste 200 805-963-6983
Santa Barbara, CA 93101-3142 http://www.tenon.com/
---------
---------
Tenon Intersystems' iTools Mailing List
To unsubscribe: send
mailto://itools-request@xxxxxxxxxxxxxxx
with the subject: unsubscribe
Find searchable mailin list archives at:
http://itools.blackpepper.co.
|
| Tenon Home |
Products |
Order |
Contact Us |
About Tenon |
Register |
Tech Support |
Resources |
Press Room |
Mailing Lists |
|
Copyright©2003 Tenon Intersystems, 232 Anacapa Street, Suite 2A, Santa Barbara,
CA 93101. All rights reserved.
Questions about our website - Contact:
webmaster@tenon.com.
|
|