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
mod_rewrite & VirtualBox to Apache server
-
unclaimedbaggage
- Posts: 6
- Joined: 24. Apr 2009, 10:27
- Primary OS: Ubuntu 8.10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: XP
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: mod_rewrite & VirtualBox to Apache server
Use something else than NAT, then try again.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
Re: mod_rewrite & VirtualBox to Apache server
Make sure apache/mod_rewrite knows who's who, Host only relies on everything being done inside this local lan, dns, routing, gateway, so don't try to do any name resolving, ip only.
[This space is intentionally left blank]
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-