Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: Paperguides on November 21, 2009, 10:43:40 AM
-
I have been trying to build a SiteX based system for a service club I belong to for some time now. Having got my spare server back from a customer, changed ISP and finally finished all the DIY, I rebuild the system SME server from the CD and applied all the outstanding patches. I then loaded SiteX as per the contrib and I have hit problems with access.
The domain name is registered at 123-reg and I initially had a problem because I used the 123-reg web site redirection. i.e. www.westforest41club.org.uk was redirected to http://217.xxx.xxx.173/sitex. This does not work! When the DNS was set to the IP address using www.westforest41club.org.uk displays the SME site "under construction" page and www.westforest41club.org.uk/sitex gives the SiteX front page. I can now login. However when I try access the site I get a 404 error "The requested URL /page.php was not found on this server."
Where do I go from here?
Thanks
Tony
-
However when I try access the site I get a 404 error "The requested URL /page.php was not found on this server."
Where do I go from here?
Try to find out what is happening behind the scenes in your webserver by analysing the error_log and access_log files in /var/log/httpd/ or view then through the server-manager View Logfiles panel. A clue to what must be going wrong at the time of access should be in there. If you do not understand it you can post the relevant fragment here (not the whole logfile please, you can select by using the time entry) and perhaps we can help you.
-
Hi Having looked at the the error_log and access_log files I'm not much wiser. It would appear to me that SiteX is expecting the pages to be off the root directory. Hence the 404 error.
The logs are:
[Sat Nov 21 12:36:37 2009] [warn] RSA server certificate CommonName (CN) `westforest.westforest41club.org.uk' does NOT match server name!?
[Sat Nov 21 12:36:37 2009] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 21 12:36:37 2009] [notice] Digest: done
[Sat Nov 21 12:36:38 2009] [warn] RSA server certificate CommonName (CN) `westforest.westforest41club.org.uk' does NOT match server name!?
[Sat Nov 21 12:36:38 2009] [notice] Apache configured -- resuming normal operations
[Sat Nov 21 14:17:44 2009] [error] [client 192.168.200.14] File does not exist: /home/e-smith/files/ibays/Primary/html/favicon.ico
[Sat Nov 21 14:18:55 2009] [error] [client 192.168.200.14] File does not exist: /home/e-smith/files/ibays/Primary/html/favicon.ico
[Sat Nov 21 14:19:47 2009] [error] [client 192.168.200.14] File does not exist: /home/e-smith/files/ibays/Primary/html/favicon.ico
[Sat Nov 21 14:22:14 2009] [error] [client 192.168.200.14] File does not exist: /home/e-smith/files/ibays/Primary/html/favicon.ico
[Sat Nov 21 14:22:22 2009] [error] [client 192.168.200.14] File does not exist: /home/e-smith/files/ibays/Primary/html/includes, referer: http://www.westforest41club.org.uk/sitex/
[client 192.168.200.14] script '/home/e-smith/files/ibays/Primary/html/page.php' not found or unable to stat, referer: http://www.westforest41club.org.uk/sitex/
[Sat Nov 21 14:22:40 2009] [error] [client 192.168.200.14] File does not exist: /home/e-smith/files/ibays/Primary/html/favicon.ico
And:
westforest41club.org.uk 192.168.200.14 - - [21/Nov/2009:20:37:13 +0000] "GET /sitex/ HTTP/1.1" 200 17432 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5"
westforest41club.org.uk 192.168.200.14 - - [21/Nov/2009:20:37:17 +0000] "GET /page.php?pageid=1 HTTP/1.1" 404 206 "http://www.westforest41club.org.uk/sitex/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5"
westforest41club.org.uk 192.168.200.14 - - [21/Nov/2009:20:37:20 +0000] "GET /sitex/ HTTP/1.1" 200 17432 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5"
westforest41club.org.uk 192.168.200.14 - - [21/Nov/2009:20:37:24 +0000] "GET /guestbook.php HTTP/1.1" 404 211 "http://www.westforest41club.org.uk/sitex/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5"
westforest41club.org.uk 192.168.200.14 - - [21/Nov/2009:20:37:27 +0000] "GET /sitex/ HTTP/1.1" 200 17432 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5"
westforest41club.org.uk 192.168.200.14 - - [21/Nov/2009:20:37:36 +0000] "GET /favicon.ico HTTP/1.1" 404 209 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5"
I am access this locally but get the same results accessing remotely.
Tony
-
Paperguides
When the DNS was set to the IP address using www.westforest41club.org.uk displays the SME site "under construction" page
You should remove the default index.html file from the ibay html folder. This gets used in preference to other "index" files when the ibays is accessed from web.
However when I try access the site I get a 404 error "The requested URL /page.php was not found on this server."
Perhaps you have isues with apache PHPBaseDir setting
See
http://wiki.contribs.org/DB_Variables_Configuration#Apache_server_ibay_specific_.28httpd-e-smith.29
Did you do these steps in the Wiki article (and for that matter all the other setup steps) ?
Finally, you must go to the Site Preferences administration panel and set the FQDN from which your site will be accessed, e.g. http://www.mysmedomain.com/sitex. By default, SiteX enters your unqualified servername as the URL, e.g. http://server/sitex, making external resolution by visitors impossible.
Once SiteX is fully configured, run the following command from the SME Server shell to delete the setup files:
signal-event sitex-post-upgrade
-
Paperguides
I see from the wiki the site installs to /opt so forget my comments about ibays.
My guess is you have not configured sitex correctly ie to know where to find it's files eg /opt/.... ??
Re-run the setup
http://www.westforest41club.org.uk/sitex/login.php