> RewriteCond %{QUERY_STRING} ^b=(.*)$
> RewriteRule a\.php /b.php?%1
Thank you Sir, that works perfectly.
-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> f
On 1/22/06, ifz 77i <[EMAIL PROTECTED]> wrote:
> URL:
> http://www3/a.php?b=moo
>
> Error:
> 404 Not Found
> The requested URL /a.php was not found on this server.
>
> .htaccess contents:
> RewriteEngine On
> RewriteRule ^/*a\.php\?b=(.*)$ /b.php?a=$1
> (3) [per-dir
> /home/mick/sites/www3/htdocs
This is probably all you need to master regular expression
syntax. Very brief and concise. Then you need to get your
head around mod_rewrite:
Title: Regular Expression Pocket Reference
Author: Tony Stubblebine
Publisher: O'reilly
ISBN: 0-596-00415-X
86 pages plus index
US$ 12.95
GBP 7.00
HTH
I've asked on a few IRC channels with no fix :(
Server version:
Apache/2.0.55
URL:
http://www3/a.php?b=moo
Error:
404 Not Found
The requested URL /a.php was not found on this server.
.htaccess contents:
RewriteEngine On
RewriteRule ^/*a\.php\?b=(.*)$ /b.php?a=$1
log_rewrite contents:
192.168.1