Reply to Re: [PHP] Quick q, most prolly 0T

Your name:

Reply:


Posted by "Richard Lynch" on 06/03/05 22:43

On Wed, June 1, 2005 8:42 pm, Ryan A said:
> On 6/2/2005 5:17:47 AM, Richard Lynch (ceo@l-i-e.com) wrote:
>> URL re-writing can do that -- It ends up using his 'index' file (or
>> whatever) but you don't see it in the URL.
>
> Thanks for replying.
>
> But if I want to copy his exact way of doing things...instead of index
> file
> I would like to
> use main.php....how would i do that?

Change your httpd.conf to use main.php as an index file.

Open up httpd.conf, search for index.htm, and tack on main.php at the end
of that list of filenames.

Now your main.php is an index file, and if there is no OTHER filename from
that list in the directory, main.php will get used.

The list is in order, so you could put main.php first to be 100% certain
yourmain.php "wins the race" but then if somebody else has index.htm and
main.php, you just screwed up their site...

> The reason I dont think its url rewriting is the rest of the files have
> all
> their values
> eg:
> somesite.com/?blah=blah
> somesite.com/?something=something&do=1
> somesite.com/?page=intro&flash=no



--
Like Music?
http://l-i-e.com/artists.htm

[Back to original 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

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