Page 1 of 1

shtml configurable?

Posted: Thu Feb 24, 2005 11:18 am
by Ted
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.

shtml configurable?

Posted: Thu Feb 24, 2005 11:59 am
by 100rk
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?

Posted: Thu Feb 24, 2005 6:19 pm
by sjg
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'd also cast my vote for having this configurable.

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).

Why .shtml?

Posted: Fri Feb 25, 2005 5:12 am
by Ian
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. :wink:

Out of interest, why was .shtml chosen as the extension, given that this is usually used for pages containing SSIs?

Just curious. :)

Re: shtml configurable?

Posted: Sun Mar 20, 2005 5:34 am
by pielmorena
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