I've found a problem within config.php.
If you're running a server on you're own computer and having a localhost and an ip address where you can enter you're site.
The awesome URL rewriting is doing the ip address or you're localhost in the links in you're cms installation where you installed it from.
My Examples from my server:
http://localhost/nieuwe_school/how-cmsms-works/
OR
http://94.210.63.245/nieuwe_school/how-cmsms-works/
So this can be fixed in config by replacing the following line 77:
$config['root_url'] = 'http://localhost/nieuwe_school';
With
$config['root_url'] = 'http://'.$_SERVER['HTTP_HOST'].'/nieuwe_school';
Or may be it's better to render the url whole dynamicly
May be this can be a little tweak for the developers on CMSMS
And if this is fixed than you're root_url is build dynamicly and you're url rewrite engine is working wherever you install it.
I gave it a try and it is my first post. So be nice to me(A)
Greetings from a new guy
config.php fix
Re: config.php fix
Frankiemans,
IIRC was this point addressed earlier, and found not working on all platforms. This does work on some platforms, but IIS, or another (dont remember which one), doesnt support this. So a global change cant be done, as som have an issue then...
You could try to add the ip-address to the hosts-file as well, to have it say
127.0.0.1 localhost 94.210.63.245
and then install using the 94.210.63.245 as the address.... Because of the added ip, it will work both internally and externally. If that is the ussue you are addressing..
Ronny
IIRC was this point addressed earlier, and found not working on all platforms. This does work on some platforms, but IIS, or another (dont remember which one), doesnt support this. So a global change cant be done, as som have an issue then...
You could try to add the ip-address to the hosts-file as well, to have it say
127.0.0.1 localhost 94.210.63.245
and then install using the 94.210.63.245 as the address.... Because of the added ip, it will work both internally and externally. If that is the ussue you are addressing..
Ronny
Last edited by RonnyK on Mon Mar 16, 2009 5:56 am, edited 1 time in total.
-
- New Member
- Posts: 2
- Joined: Fri Mar 13, 2009 9:55 am
Re: config.php fix
Well i've fixed it this way for using xampp on my local pc with apache and it works very smooth so i use it this way. But may be there could be done some check to see if it's apache then use my way and if its IIS or some other server then you can use the other way.