Page 1 of 1

How can i run files without putting extension

Posted: Sat Apr 22, 2006 1:42 am
by hitesh
Hello guys

I have one question. I want to run any files from server without putting any type of extension.

ex: http://www.test.com/index.php

so when i write only http://www.test.com/index then same page will be open.


If u have any idea about this plz reply as soon as possible.

Regards
Hits

Posted: Sat Apr 22, 2006 3:12 am
by AKA Panama Jack
You need to add MultiViews to your directory options in the http.conf for apache for each directory you have designated for web access.

Code: Select all

<Directory />
    Options Indexes FollowSymLinks Includes ExecCGI MultiViews
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>