LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-13-2013, 12:06 AM   #1
vignesh4sh
Member
 
Registered: Oct 2012
Posts: 69

Rep: Reputation: Disabled
IP is visible in View page source


Hi,
IP is visible in View page source (code) in browser.Ip is visible instead of hostname.
I have checked my apache configuration. Everything is okay.

I have two vhosts
1. example.com
2. examplephp.com

when i hit the example.com and view page source..
Quote:
<html><head></head><frameset border="0" rows="100%,*" cols="100%"
frameborder="no"><frame name="TopFrame"
scrolling="yes" noresize src="http://50.29.135.98/Example/view.jsp"><frame name="BottomFrame" scrolling="no"
noresize><noframes></noframes></frameset></html>
When i hit the examplephp.com and view page source.I dont get ip.Its working good.
But I have issue in example.com only.
How to avoid ip in view source?
I have configured JK_module in example.com
I stucked in this. please give me suggestion.
Thanks
 
Old 02-13-2013, 05:24 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well that source its YOUR file right? you created it? If you don't want it in there, use a hostname, or don't use an iframe at all.
 
Old 02-13-2013, 05:34 AM   #3
vignesh4sh
Member
 
Registered: Oct 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
Thanks for reply
ya file is created by mine.I have not used iframe, but still getting the IP only. I was stucked for long time.

Even,if I enabled default vhost,ie "It Works" html file. when i hit and view the source code. IP is coming.

If i hit the IP,View page source is coming. But when i use url, Its shows first IPaddress and then i hit the ip. it shows source code.

Can u please give me any suggestion

Thnks

Last edited by vignesh4sh; 02-13-2013 at 05:54 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ls command to view page one by one. gardenair Linux - Newbie 4 12-22-2010 02:13 AM
View output per page laurens Linux - Newbie 3 07-30-2009 02:04 PM
cant view a web page master General 5 08-19-2004 10:46 AM
I NEED to be able to view this page help!! snatale1 Linux - Software 4 03-06-2004 08:45 PM
View more than 25 threads on the "view new posts" page lfslinux LQ Suggestions & Feedback 2 02-02-2002 12:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration