Regular Expressions *gargl*
| From: | Thomas Angst | Date: | Wed, 26 Jul 2000 01:41:01 +0000 |
| Subject: | Regular Expressions *gargl* | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-8184@lists.php.net to get a copy of this message | ||
Hi,
I tried to use the apache's mod_rewrite to send all files with the ending
.my to the specified php script parse.php. I used the following arguments in
the httpd.conf:
RewriteEngine on
RewriteRule ^(\*.my) /parse.php
but it won't work
mod_rewrite is working, cause this:
RewriteRule ^(.*) /parse.php
is working, but for all files. As a non regex-pert, can someone help me to
get the correct pattern?
thanks
Thomas