shtml configurable?
shtml configurable?
It's possible, but not quite that easy. You would have to modify htacess as well. Plus, some extensions have ramifications. For instance, if you used html, then EVERY request for an html page would go to index.php, which obviously would be bad if you have other stuff on that server.
-
100rk
shtml configurable?
And another thing: my webhosting allow my own .htaccess file, but I can not change rewrite settings in it - those changes provide server administrator, after someone like me sends concrete conf. request to him.
shtml configurable?
I'd also cast my vote for having this configurable.wishy wrote:It's possible, but not quite that easy. You would have to modify htacess as well. Plus, some extensions have ramifications. For instance, if you used html, then EVERY request for an html page would go to index.php, which obviously would be bad if you have other stuff on that server.
I use mod_rewrite and add a special path to static html pages, so that I can control which pages get run through PHP.
If there's to much concern about people getting confused by this option, there could be a big red alert if you change the value. Or, it could be modifiable only in the config.php file and not through the admin web interface. That would mean only people who knew what they were getting into would be able to make the change (in theory. We all know that end-users are ingenious).
Many modules available from the http://dev.cmsmadesimple.org
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
-
Ian
Why .shtml?
At the moment it makes no difference to me either way - but in the future, who knows? We all like flexibility - it allows us to dig even bigger holes to fall into.
Out of interest, why was .shtml chosen as the extension, given that this is usually used for pages containing SSIs?
Just curious.
Out of interest, why was .shtml chosen as the extension, given that this is usually used for pages containing SSIs?
Just curious.
-
pielmorena
Re: shtml configurable?
Hi,
I have two questions.
#1: I have an existing site using the following naming scheme: http://domain.com/arizona/arizona.shtml - then i do same for all 50 states. Is it possible to have this program output the path in the same manner? in other words give it a url to use? I do not wish to point those pages to index.php file
#2: .shtml
All the files listed above are .shtml. Can someone please post instructions on how to output .shtml files. I am already using mod_rewrite and can modify the .htaccess in my directories. I'm already using it in other directories.
Thanks
I have two questions.
#1: I have an existing site using the following naming scheme: http://domain.com/arizona/arizona.shtml - then i do same for all 50 states. Is it possible to have this program output the path in the same manner? in other words give it a url to use? I do not wish to point those pages to index.php file
#2: .shtml
All the files listed above are .shtml. Can someone please post instructions on how to output .shtml files. I am already using mod_rewrite and can modify the .htaccess in my directories. I'm already using it in other directories.
Thanks

