Re: Re: Remove index.php from url
| From: | Ashley Sheridan | Date: | Sun, 12 Oct 2008 09:23:41 +0000 |
| Subject: | Re: Re: Remove index.php from url | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-281741@lists.php.net to get a copy of this message | ||
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