httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <rob...@profundis.nu>
Subject Re: [users@httpd] Regular expressions in URL rewriting
Date Thu, 16 Oct 2003 05:12:40 GMT
Joao Andrade wrote:
>     Now to the more specific questions:
>
>     1. Will mod rewrite to the above, or after rewriting an URL from
> http://200.155.209.19/basics/hello to
> http://200.155.209.19/basics/hello.php will it show the client this last
one?

You don't need mod_rewrite. What does exactly this is mod_negotiation, which
takes care of Content-negotiation, see:
http://httpd.apache.org/docs-2.0/content-negotiation.html

What you do is to load the module, and have this in a directory:

    Options +MultiViews

This makes it possible to make URIs without the extension, and Apache will
find the appropriate file, by rules which you don't need to worry about if
you only have one anyway.

Regards,
Robert Andersson


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message