Hi everybody!
How can I make an alias for the PHP script on the Apache web-server?
I need to call the script like a directory and all behind the directory
name should be parameters to that script.
E.g., when user requesting
http://myserver.com/site/800x600/page1/
user get
/users/myserver/html/site.php4?800x600/page1
Additional condition for that problem: it is very desirable to do it
using .htaccess file...
How to use to solve it? Maybe, using mod_rewrite? Please, help...
Thank you.
/Kirill.
P.S. Why requesting php4 script as http://myserver.com/site.php4/800x600/page1
doesn't work on the Apache for Windows (it outputs a blank page), whereas
invoking cgi (perl) script in that way is ok? Or maybe it's 'cause Windows
and it'll work under *nix?
And does mod_rewrite work under Windows?
P.P.S. I use Windows 98, Apache 1.3.14, PHP 4.0.3 (on my local computer to
debug my scripts, because permanent connection to server where my site hosts
is kinda problem...)
Host is FreeBSD 3.4, Apache/1.3.12 (Unix), PHP/4.0.3