Hot answers tagged

2

They both point to my IP address "192.xxx.xxx.xx". That is your problem. 192.168.x.x are defined as private local network IP addresses. That IP address is on a local LAN and hidden from the outside world by NAT. It is not going to be accessible from the outside world. To make this work you need to use the external IP address of your server. If your ...


1

It would seem "the problem" is in your PHP code, not .htaccess as you seem to suggest. RewriteRule ^(.+)$ index.php?page=$1 [QSA,L] All requests are rewritten to index.php (your "front-controller") which then routes your URLs. It is this PHP script that determines whether /login or /login/asdasdasd, etc. resolve to a valid page on your site. This has ...


1

Just had the very same issue with my Apache 2.4 configuration on CentOS version 8. We are all mistaken on the meaning of the _default_:443 host: this section does not contain the default settings for all the virtual hosts defined additionally. It's merely a fallback virtual host when no other hostnames are defined or an undefined hostname is called. So in ...


Only top voted, non community-wiki answers of a minimum length are eligible