"Przemek Loesch" <nomail@nomail> wrote in message
news:web.438769d88f988d7fb0aac12c0@news.povray.org...
> Off topic.
> I've looked at your site and found that you use "friendly URLs" as the
> links
> to the contents. I've learned this trick recently and want to use it for
> an
> internet site I'm preparing. But can't get rid of calling my script file
> directly in URL, like "www.mysite.com/index.php/something". I'm wondering
> how to "hide" index.php in such an URL. Is it a matter of Apache settings
> to read always particular file?
> Sorry for off topic posting.
>
>
>
Friendly urls from friendly servers. In general php enabled sites will
autoload index.php if you point tp the containing folder (its an apache
configuration setting). So if you want to load
www.mysite.com/something/index.php (where something is a folder) then refer
to
www.mysite.com/something/
www.mysite.com/something (without the trailing /) may not work on some
servers.
httpd.conf specifics: DirectoryIndex index.html index.html.var index.php
DLM
Post a reply to this message
|