httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] help with rewrite rule
Date Wed, 02 Mar 2005 17:59:05 GMT
On Wed, 2 Mar 2005 11:01:36 -0600, Ramsey, Robert L
<robert-ramsey@uiowa.edu> wrote:
> Thank you very much, I think that will work.  I wasn't sure how Apache
> and php would work together on this.  I'll test it out and see.
> 
> If I also wanted to match for http://myserver.com/dir/ for when people
> don't type in http://myserver/com/dir/index.php would it just be:
> 
> AliasMatch (.*) /var/www/php/myscript.php

I think you mean
AliasMatch /dir.* /var/www/php/myscript.php
Unless you really want it to match everything on your site.

(The brackets aren't necessary; I put them in before I fully read your
problem.)

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message