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
How can i run files without putting extension
Moderator: General Moderators
- AKA Panama Jack
- Forum Regular
- Posts: 878
- Joined: Mon Nov 14, 2005 4:21 pm
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>