Re: Apache2 shows path of docroot in the address bar

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Conte Szandor wrote:

no ducktale.org is a fake domain because httpd works on a lan ;-) and respond on a internal ip

What it sounds like to me is that you need to have a DNS record on the inside (or at least an entry in your HOSTS file) that says that x.x.x.x is Ducktale.org -- the only way a browser knows where something lives is via DNS (and the hosts file)

on *nix its /etc/hosts on windows its c:\windows\system32\drivers\net\etc\hosts (or some such nonsense)

For Example, i have 2 sites, both via DynDNS that i associate via my IP. I can go to one and get one site. I go to another and get a different site. This is because Apache sees that i'm doing a request for "foo" not "bar" dot whatever dot dyndns.org

I'd try the netcat trick -- see what comes up.

also, define "Shows Path Of DocRoot in Address Bar" so i know i'm barking up the right tree


--
Morgan Gangwere

Unknown Software
http://sonof.bandit.name/
Member, INCOSE [ incose.org ] PACA [ paca.org ] and NMUG [ nmug.net ]

[indrora@boxly ~]#_

Find me on FreeNode! irc.freenode.net ~indrora on ##linux
begin:vcard
fn:Morgan Gangwere
n:Gangwere;Morgan
org:Unknown Software;Programming
email;internet:0.fractalus@xxxxxxxxx
title:Developer
tel;work:+1 505 514 2863
note;quoted-printable:Identities:=0D=0A=
	Indrora on irc:=0D=0A=
	irc.freenode.net=0D=0A=
	=0D=0A=
	Various IM clients:=0D=0A=
	Yahoo: trogdor_t_b=0D=0A=
	GTalk(jabber): 0.fractalus@xxxxxxxxx=0D=0A=
	MSN: fractalscapes@xxxxxxxxxxxx=0D=0A=
	=0D=0A=
	H4x my modem!=0D=0A=
	uks-is.boldlygoingnowhere.org=0D=0A=
	There ARE open ports.
x-mozilla-html:FALSE
url:http://sonof.bandit.name
version:2.1
end:vcard

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux