access to website via local host only, not domain name
On an update from 10.4.11 to 10.5. We lost our website. It works if you access it on the server using localhost in the address bar but not if you try to access it by IP or hostname.
It was working for a while but then we tried to enable WebDAV and the whole thing went sideways.
We got a lot of errors. We couldn't start the Webserver for a while and we got:
(Could not start web service - details in error log.) 100002
Then we tried to upgrade from Apache 1.3.x to 2.2.x and got:
'CANNOT TRANSLATEERR' while processing a command of type: 'setApacheMode'
We were able to fix that by following this link
<http://lists.apple.com/archives/macos-x-server/2008/Jan/msg00655.html>
Which suggested changing /var/db/.Apacheversion from 1 to 2.
That got the web services running again but unfortunately with the localhost only problem. When we attempt to load the page by IP we get:
Safari can’t open the page “ http://192.168.1.2/”. The error was: “Operation could not be completed. (kCFErrorDomainCFNetwork error 302.)
I've tried deleting my sites and adding them back, restarting a lot, replacing the /etc/apache2/httpd.conf file with the /etc/apache2/httpd.conf.default file. No luck.
Does this ring any bells for anyone?
Thanks
-- jmca
It was working for a while but then we tried to enable WebDAV and the whole thing went sideways.
We got a lot of errors. We couldn't start the Webserver for a while and we got:
(Could not start web service - details in error log.) 100002
Then we tried to upgrade from Apache 1.3.x to 2.2.x and got:
'CANNOT TRANSLATEERR' while processing a command of type: 'setApacheMode'
We were able to fix that by following this link
<http://lists.apple.com/archives/macos-x-server/2008/Jan/msg00655.html>
Which suggested changing /var/db/.Apacheversion from 1 to 2.
That got the web services running again but unfortunately with the localhost only problem. When we attempt to load the page by IP we get:
Safari can’t open the page “ http://192.168.1.2/”. The error was: “Operation could not be completed. (kCFErrorDomainCFNetwork error 302.)
I've tried deleting my sites and adding them back, restarting a lot, replacing the /etc/apache2/httpd.conf file with the /etc/apache2/httpd.conf.default file. No luck.
Does this ring any bells for anyone?
Thanks
-- jmca
MacBook, Mac OS X (10.5.2)