Re: Re: Remove index.php from url
| From: | Richard Heyes | Date: | Sat, 11 Oct 2008 17:56:15 +0000 |
| Subject: | Re: Re: Remove index.php from url | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-281721@lists.php.net to get a copy of this message | ||
> 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