Re: [PHP] Re: Remove index.php from url



On Sat, 2008-10-11 at 18:56 +0100, Richard Heyes wrote:

mod_rewite if you use Apache.

Or, if you don't have it (not very likely), directories. Eg For the
URL you gave, make a dir called company and put a default document in
there (usually index.html). You will end up with a trailing slash on
the URL, and it does incur a redirect, but it works. This might even
work with IIS, so it would be cross-server compatible.

--
Richard Heyes

HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org


Thanks everyone, I'll look into these in a bit more depth when I get
back into work tomorrow.


Ash
www.ashleysheridan.co.uk


Relevant Pages