On Apache, I would like something like this:
https://myserver.com/Intro evaluates to /myserver.com/januaryintro.php
as an example.
I use htaccess and cannot make this work. I get Multiple Pages error or Page Not found.
On Apache, I would like something like this:
https://myserver.com/Intro evaluates to /myserver.com/januaryintro.php
as an example.
I use htaccess and cannot make this work. I get Multiple Pages error or Page Not found.
Proxy is the solution. But the proxy modules need to be loaded.
And since you are using htaccess, you cannot use ProxyPass. You are forced using RewriteRule with [P]
flag.
ex:
RewriteEngine On
RewriteRule ^/intro$ https://example.com/januaryintro.php [L,P]
ProxyPassReverse / https://example.com/januaryintro.php
References: