PHP no extension

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

What happens if you do http://www.mysite.com/pagename/h?hh. Just wondering how it handles erroneous or incorrectly entered UIR's.
User avatar
AKA Panama Jack
Forum Regular
Posts: 878
Joined: Mon Nov 14, 2005 4:21 pm

Post by AKA Panama Jack »

Multiviews is the BEST way to do this.

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>
Under the Options you add Multiviews. This works in Apache installed on windows and linux.
ityd
Forum Newbie
Posts: 17
Joined: Tue Aug 08, 2006 8:16 am

Post by ityd »

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.
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.

This server does not allow access to httpd.conf.

Thanks for your help.[/quote]
User avatar
Ollie Saunders
DevNet Master
Posts: 3179
Joined: Tue May 24, 2005 6:01 pm
Location: UK

Post by Ollie Saunders »

Why is this in PHP - Code?
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Point taken...

:arrow: Apache, IIS, Web Servers
Post Reply