You are here: Re: PHP include and changing page names « HTML « IT news, forums, messages
Re: PHP include and changing page names

Posted by dorayme on 11/12/07 22:06

In article <W4Odnde8a-ET8aXanZ2dnUVZ_rninZ2d@comcast.com>,
Ed Mullen <ed@edmullen.net> wrote:

> dorayme wrote:
> > In article <e7-dnTeEvLNua6ranZ2dnUVZ_v6rnZ2d@comcast.com>,
> > Ed Mullen <ed@edmullen.net> wrote:
> >
> >> Is this something that can configured/over-ridden using the .htaccess
> >> file? Or is it at the server configuration level (which I do not have
> >> access to)?
> >
> > Server admins can block all your attempts. I had a case of this
> > recently and the Uni concerned offered the back-up plan I
> > mentioned in my previous post (to direct all .html to mirror .php
> > ones)...
> >
>
> It's not so much that they're blocking anything, it's that, in order for
> the RewriteRule to work, they are requiring the files have an .shtml
> extension. And what I'm trying to accomplish is:
>

Well, I just meant that no matter what you do, some server admins
will simply not allow any attempts to have .html files read for
the php in them in the way that .php named files are read. It
puts strain on the servers and there are some security concerns I
am told.

On one big commercial ISP, on a Windows server, I asked them to
allow all the .html files on one particular website to be read
for the php on it and suitably processed. Amazingly, they agreed
and did it. I did not want to upset previous arrangements but
wanted all the php on nearly every file to be active.

A big uni server, I tried the same and it was not allowed. They
blocked all attempts. But they offered the deal I outlined
before. Perhaps you might find it attractive, you make your
website with .php endings (simply grab all your local .html files
and change the endings and load to server). Leave all the old
..html files up on the server, it does not matter what is in them,
I think you can even scrub them of most content and make them
dummies. You then ask the server admin to direct any requests for
any .html files to your good .php files.

Anyway, I am no expert on this stuff. Good luck.

--
dorayme

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация