Re: basic question ---

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

 



You should use multviews, so that if you request /a, it will expand to a.php.

Converting a.php to b.php makes no sense; why would you request another script in that case?

You should also look at the FallbackResource directive, and use pathinfo to handle URI parameters, instead of the query string.

On Mon, Oct 16, 2023 at 12:19 PM bruce <badouglas@xxxxxxxxx> wrote:
running apache2
old copy of centos

trying to understand how to test a few things.

I can have
 http://www.abc.com/a.php

a.php can fire off a page to "b.php"

I'm trying to figure out what to do in the httpd.conf file to
 "ignore/hide" the .php

so the displayed url would be
 http://www.abc.com/b
or
 http://www.abc.com/b?qq=1&w=2.....

any pointers would be helpful!

oh, the test is a subdir off the main /var/www/html/testapp <<

thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: users-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