URL Not Found


(Rhulse) #1

I have gone throough the install and pasted in the Alias commands to the Apache file.


when I go to the site (either on localhost or via my LAN) I get:



locally:



MySource Notice

URL "localhost" not found



On LAN:



MySource Notice

URL "172.16.1.75" not found



I can log into admin via the LAN but the images are all missing and the java applet fails.



I feel a clean install comming on unless you can think of something obvious.



thanks



:frowning:


(Marcus Nyeholt) #2

If you're missing images and the java app fails, you've most likely set the system root url incorrectly during the installation. If you're accessing through 'http://localhost' , then the system root url 'localhost' must appear in your matrix/data/private/conf/main.inc, eg

[quote]define('SQ_CONF_SYSTEM_ROOT_URLS', 'beta.squiz.net/path/matrix');[/quote]



Note that if you want to have more than one root url (ie the ip address also) they need to be separated by newlines, eg


[quote]define('SQ_CONF_SYSTEM_ROOT_URLS', 'beta.squiz.net/path/matrix

172.16.1.75');[/quote]



You'll keep getting a URL not found notice until you actually create a site and assign it to a URL in the admin interface.


(Rhulse) #3

Still no joy.


I deleted the whole install, reset the apache file to default and started over.



I checked the main.inc and edited it to what you suggested.



Same problem.



There were a bunch of parse errors at step 16 in the install.



So I ininstalled the offending Per package, installed the correct one and started over.



Checked the main.inc again



Same problem.



:frowning:


(Rhulse) #4

Got it sussed.


Seems that the Alias commands need the slash on the end.



I don't think the examples in the installer have a slash at the end.



Never mind, I am up and running now.





:smiley:


(Marcus Nyeholt) #5

What system are you installing on? It seems to differ between different platforms as to whether there's trailing slashes.


(Rhulse) #6

Linux Debian (Knoppix )


Apache 1.3.29