mod_rewrite & VirtualBox to Apache server
Posted: 25. Apr 2009, 14:48
Hi gang,
I'm trying to view a site on my (host) Ubuntu/Apache machine via a host-only networked XP virtualbox.
While I can get to the front page via 10.0.2.2, it doesn't seem to be resolving mod_rewrited pages correctly, just brings up a "page not found" message.
The .htaccess rewrite rules do not have any reference to server name (rewrite base = "/", rewrite cond's are all %{REQUEST_URI} & %{REQUEST_FILENAME}) and I can access the rewrite rules fine through 127.0.0.2 on my host machine. ...any suggestions why this would be happening? Has me stumped...
Cheers,
- JB
I'm trying to view a site on my (host) Ubuntu/Apache machine via a host-only networked XP virtualbox.
While I can get to the front page via 10.0.2.2, it doesn't seem to be resolving mod_rewrited pages correctly, just brings up a "page not found" message.
The .htaccess rewrite rules do not have any reference to server name (rewrite base = "/", rewrite cond's are all %{REQUEST_URI} & %{REQUEST_FILENAME}) and I can access the rewrite rules fine through 127.0.0.2 on my host machine. ...any suggestions why this would be happening? Has me stumped...
Cheers,
- JB