Hi, i have installed matrix a couple of times before and had a few issues but all were resolved in the end. I created a step by step guide for myself which works well.
However this time i was installing matrix over SSH on a remote Linux box, the remote box is running the same flavour and version of linux i used on my local machines (Ubuntu, Hardy), the instalation went swimmingly, no errors at all but when i put in the remote IP i get page cannot be displayed? My first guess was a problem with Apache but that doesn't seam to be the case and as i only have access over SSH i am kinda running out of ideas?!
Help me please :huh:
What happens when you try to add /_admin as well? Any matrix errors, or clues that Matrix is working?
Did you make sure that your Virtual Host entries are correct?
Hi, i get the same with or without /_admin. There is no clue as to whether Matrix is working or not and i am not sure how i would check if matrix is running over SSH.
Strangely enough i had just started looking into Virtual hosts, this is my current default file in apache
DocumentRoot /var/www/mysource_matrix/core/web
ServerName 127.0.0.1
Options -Indexes FollowSymLinks
Order deny,allow
Deny from all
Options -Indexes FollowSymLinks
Order allow,deny
Allow from all
Options -Indexes FollowSymLinks
Order allow,deny
Allow from all
Options -Indexes FollowSymLinks
Order allow,deny
Allow from all
Options -Indexes FollowSymLinks
Order allow,deny
Allow from all
Alias “/__data” “/var/www/mysource_matrix/data/public”
Alias “/__lib” “/var/www/mysource_matrix/core/lib”
Alias “/__fudge” “/var/www/mysource_matrix/fudge”
Alias “/” “/var/www/mysource_matrix/core/web/index.php/”
You need your ServerName or a ServerAlias to match what you are connecting to the server as from your web browser. 127.0.0.1 is the local loopback address!
Thanks for that, but still not working, i changed it to the external IP for this computer and still nothing.
I then changed the ServerName in apache2.conf from 127.0.0.1 to the external IP but still nothing.
http://forums.matrix.squiz.net/index.php?showtopic=5288
I found the above thread really helpful when I was installing matrix.
Read thorugh that, tried all that it suggests, still the same problem.
Can you add the IP as a root URL maybe? What if you add that apache config to /etc/apache2/sites-available/default?
I would also use the new apache conf from the matrix installation page
I would bug check this like so:
- Are your DNS records pointing to the correct IP address
- Can you access the installation directly with your IP address and /_admin
- Have you correctly added your vhosts? (Your above installation is wrong)
ServerName www.YOURDOMAINGOESHERE.com
DocumentRoot /home/websites/mysource_matrix/core/web- Have you restarted apache?
Hi, thanks for all your replies.
ndrw…
I am now using the new Virtual Hosts file as per the Matrix site, still no help, i have also tried it on the apache default file and still nowt!
Duncan…
I do not need DNS, i am just using an external IP/_admin and it isn't working.
I am now using the correct Virtual hosts file (disregard above)
I have restarted Apache a number of times 
Okay, managed to view the http://localhos page over SSH (at least i think thats what i have done :))
I used
telnet localhost 80
and recieved back some HTML code that displays the following Errors when i run that HTML code in a browser…
PHP Notice
Undefined index: HTTP_HOST
PHP Warning
Cannot modify header information - headers already sent by (output started at [SYSTEM_ROOT]/core/include/general.inc:181)
MySource Notice
URL “http://157.203.242.68” not found [SYS0218]
Getting there, slowly!
This has now been resolved, apparently it was something to do with the external IP my host had provided (i don't have any details on the problem). They had not set it up correctly, it was not an issue with Matrix after all.
Sorry to take up so many peoples time.
Paul