Apache2/Worpress rewriting url to avahi's .local
Hi,
I've got a home network that uses avahi's magic '.local' name service.
One computer is a server running Debian Testing/Apache2/Wordpress 3.0.x.
All the computers in the house have avahi-compatible service, so reaching the server is easy for computers.
I'd like to use my phone via the wireless lan to use the wordpress installation. The gotcha is, I can enter the ip address and get to the login page. The next page, the ip address is re-written to the avahi host name.
As an example,
1. I enter 192.168.11.110:100 and I land on the default page.
2. Click on a page of content.
3. URL is rewritten from the numeric address to the avahi, text address.
4. This is a 404 error on the phone. The laptops handle it just fine.
How do I stop apache2 from rewriting?
Last edited by mpapet; 12-18-2010 at 01:10 AM.
|