Re: [users@httpd] help with rewrite rule

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2 Mar 2005 11:01:36 -0600, Ramsey, Robert L
<robert-ramsey@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux