Page 2 of 2
Re: SERVER variables in .htaccess file
Posted: Tue Jan 29, 2008 12:12 pm
by Ollie Saunders
No - since the project will be available to download I don't want people to need to alter anything to do with config files. The whole point in my project is that it is simple for people new to programming to quickly install and use.
Hmmm OK. Can you give me a bit more background on the project. For example, what are the motivations?
Re: SERVER variables in .htaccess file
Posted: Tue Jan 29, 2008 1:12 pm
by someberry
ole wrote:No - since the project will be available to download I don't want people to need to alter anything to do with config files. The whole point in my project is that it is simple for people new to programming to quickly install and use.
Hmmm OK. Can you give me a bit more background on the project. For example, what are the motivations?
Sure. It is a CMS which is aimed towards people new to programming. The point of the project is that it is extremly lightweight, so very quick to install and get running.
Since people will be downloading it via the Internet, getting new users to hunt in the configuration files will cause them to pull their hair out (if they even have access to them on their host). Also, people might want to install it on
http://www.example.org/cms,
http://www.example.org/path/to/cms, or somewhere else. Therefore it needs to be as flexible solution as posible.
Thanks

Re: SERVER variables in .htaccess file
Posted: Tue Jan 29, 2008 1:23 pm
by Ollie Saunders
Well than I would suggest you serve everything out of a single page and use a front controller. So
http://domain.com/cms/?action=show&page=pie type thing that way you can write your own routing logic and you can declare stuff in the main page and have it accessible to every point of the application.