Re: [users@httpd] Apache & mod_rewrite

2005-05-31 Thread Aman Raheja
Without mod_rewrite: ScriptAlias /perl/ /shop/ /perl/> DirectoryIndex shop.pl So when someone hits the http://www.test.com/shop/, they will actually access perl/shop.pl - wherever it is on the filesystem With mod_rewrite, once you rewrite the /shop/ to /perl/shop.pl, that's what the brow

[users@httpd] Apache & mod_rewrite

2005-05-31 Thread Oliver Kirchel
Hi, I have a problem with mod_rewrite. I want to type http://www.test.com/shop/ and the URL should go to http://www.test.com/perl/shop.pl , but in the browser you should only see the first URL http://www.test.com/shop/ . How can I do this ? --