RE: [users@httpd] help with rewrite rule

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

 



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

Thanks for the help.

Bob 

> -----Original Message-----
> From: Joshua Slive [mailto:jslive@xxxxxxxxx] 
> 
> If myscript.php is doing all this work, then all apache needs 
> to do is make sure the request gets to myscript.php.  
> Something like this would
> work:
> AliasMatch (.*)\.php /var/www/php/myscript.php
> 
> If that is not what you meant, then please be more specific 
> about myscript.php is doing and what you want apache to do.
> 
> 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