Page 2 of 2

Posted: Thu Aug 10, 2006 10:12 am
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.

Posted: Thu Aug 10, 2006 11:35 am
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.

Posted: Thu Aug 10, 2006 8:33 pm
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]

Posted: Thu Aug 10, 2006 9:33 pm
by Ollie Saunders
Why is this in PHP - Code?

Posted: Thu Aug 10, 2006 9:55 pm
by RobertGonzalez
Point taken...

:arrow: Apache, IIS, Web Servers