LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-11-2008, 02:54 PM   #1
powerbilly
LQ Newbie
 
Registered: Apr 2008
Location: SOuthernMarylanD
Posts: 8

Rep: Reputation: 0
no localhost when offline


Greetings from SOMD,
I have a index.html file in the local www/ directory which my browser defaults to when I'm connected to a network or the internet. But, when my machine is not connected to any network or the internet then I get an "Offline Mode" page.
Why is this and what config file should I edit to see my default index.html page?
 
Old 12-11-2008, 02:58 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,817

Rep: Reputation: 609Reputation: 609Reputation: 609Reputation: 609Reputation: 609Reputation: 609
What browser?
 
Old 12-11-2008, 03:04 PM   #3
powerbilly
LQ Newbie
 
Registered: Apr 2008
Location: SOuthernMarylanD
Posts: 8

Original Poster
Rep: Reputation: 0
Firefox on Ubuntu 8
 
Old 12-11-2008, 10:19 PM   #4
hasanatizaz
Member
 
Registered: Nov 2007
Location: Pakistan
Distribution: Redhat and Debian
Posts: 302
Blog Entries: 1

Rep: Reputation: 34
maybe thats because your listening ip is down, have you set 127.0.0.1 in the configuration file of httpd ?
 
Old 12-12-2008, 02:22 AM   #5
tajamari
Member
 
Registered: Jul 2007
Distribution: Red Hat CentOS Ubuntu FreeBSD OpenSuSe
Posts: 252

Rep: Reputation: 32
Are you browsing the site from the machine itself if your not connected on the internet?
 
Old 12-12-2008, 09:05 AM   #6
powerbilly
LQ Newbie
 
Registered: Apr 2008
Location: SOuthernMarylanD
Posts: 8

Original Poster
Rep: Reputation: 0
Morning all,

I am doing both. while at home I am connected to my ISP. I take the laptop to my office but don't connect to any network because of security issues. I have a default index.html set up to access frequently used local and internet links.
I have some experience with apache1 but not apache2. I think this is the learning curve. I'm learning the config files are set up differently, correct?
 
Old 12-12-2008, 11:40 AM   #7
powerbilly
LQ Newbie
 
Registered: Apr 2008
Location: SOuthernMarylanD
Posts: 8

Original Poster
Rep: Reputation: 0
Fixed.
The httpd.conf file was wrong.
Thanks All!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
apache : localhost/ works localhost/index.html does not PhilA Linux - Server 4 05-27-2007 08:32 PM
MySQL: Why are there two roots localhost, and localhost.localdomain? paulsiu Linux - Server 6 04-18-2007 10:43 AM
Change mathieu@LOCALHOST (the localhost) frz Linux - Newbie 12 07-03-2006 09:04 PM
Change localhost name in username@localhost n175uj Linux - Newbie 4 07-01-2005 09:25 PM
Message from syslogd@localhost localhost kernel: Disabling IRQ #21 ylts Linux - Hardware 0 02-26-2005 09:01 AM


All times are GMT -5. The time now is 12:45 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration