PHP no extension
Moderator: General Moderators
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
- AKA Panama Jack
- Forum Regular
- Posts: 878
- Joined: Mon Nov 14, 2005 4:21 pm
Multiviews is the BEST way to do this.
Find the directory entries in the httpd.conf file for apache
Under the Options you add Multiviews. This works in Apache installed on windows and linux.
Find the directory entries in the httpd.conf file for apache
Code: Select all
<Directory "F:/aatrade/aatrade">
Options Indexes FollowSymLinks Includes ExecCGI MultiViews
Order allow,deny
Allow from all
</Directory>404 error. It just sets any file that does not have an extension to run as php so the same rules apply if the file isn't there.Everah wrote:What happens if you do http://www.mysite.com/pagename/h?hh. Just wondering how it handles erroneous or incorrectly entered UIR's.
This server does not allow access to httpd.conf.
Thanks for your help.[/quote]
- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA