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.