Tenon Intersystems Please see text links at bottom of page for navigation
Please see text links at bottom of page for navigation

Search tenon.com

Thanks to:

iTools

Re: Access Error

To: <itools@xxxxxxxxxxxxxxx>
Subject: Re: Access Error
From: Sam Smith <samtools@xxxxxxxx>
Date: Sun, 28 Jul 2002 05:48:41 -0700
> 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.

<Prev in Thread] Current Thread [Next in Thread>

| Tenon Home | Products | Order | Contact Us | About Tenon | Register | Tech Support | Resources | Press Room | Mailing Lists |

Powered By iTools

Copyright©2003 Tenon Intersystems, 232 Anacapa Street, Suite 2A, Santa Barbara, CA 93101. All rights reserved.
Questions about our website - Contact: webmaster@tenon.com.


Tenon Home  Tenon Home  Tenon Home  Tenon Home Product Info  Tenon Ordering Contact About Register Support Resources Press Mailing Lists