Re: Regular Expressions *gargl*

From: Date: Wed, 26 Jul 2000 01:54:23 +0000
Subject: Re: Regular Expressions *gargl*
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-8186@lists.php.net to get a copy of this message
I think having the carat there is requiring that the file begin with '.my' Try RewriteRule (\.my)$ /parse.php instead > 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

« previous php.general (#8186) next »