AliasMatch Problem

Hello,

I am trying to use AliasMatch on my server to make some of the dynamic pages more search engine friendly (ie. page.php?id=1 becomes /page/1). I know you can probably do this easier with mod_rewrite, but it's not installed on this server, and I'm loathe to recompile Apache on a live server.

So, here's what I have in the correct virtual host spot of httpd.conf:

AliasMatch /archives/(.*)/(.*) /archives.php?m=$1&y=$2

When I visit /archives/01/2003 I get a plain 404 error (and not my custom 404 error either). Not exactly what I was looking for! Can anyone lend a hand?

 

 

 

 

Top