Hmmm OK. Can you give me a bit more background on the project. For example, what are the motivations?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.
SERVER variables in .htaccess file
Moderator: General Moderators
- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK
Re: SERVER variables in .htaccess file
Re: SERVER variables in .htaccess file
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.ole wrote:Hmmm OK. Can you give me a bit more background on the project. For example, what are the motivations?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.
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
- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK
Re: SERVER variables in .htaccess file
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.