LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-29-2011, 11:53 PM   #1
alex4108
LQ Newbie
 
Registered: Jun 2011
Posts: 2

Rep: Reputation: Disabled
Apache22 displays my IP, not domain - Apache 2.2 on CentOS 5.5


Hey LQ guys,

So first thing's first, is I'm a bit rusty when it comes back to CentOS. I've been running FreeBSD for a while, but a friend running CentOS just asked me to help him with apache. Apache is something I run and configure in my sleep, but this has really stumped me.

His server (www.authoritygamer.com) will point you to the IP address, instead of the domain name?? When you first go to the page, it will say "Please wait while we redirect you.... blah blah." I changed that over to a <?php header("Location: ..."); ?> redirect, to better suit his server and make it look nicer.

The problem is the html file with the Please wait message is still there, after I've deleted it out of /var/www/html/, and replaced it with index.php

So I dug through his configuration, and made the virtualhost for his domain, again with no avail.

I really don't want to post my full config file, but if it's necessary, let me know. All help is greatly appreciated!
 
Old 06-30-2011, 12:17 AM   #2
alex4108
LQ Newbie
 
Registered: Jun 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
Wow... it's amazing what clearing your cache in firefox can do.
 
  


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
Vqadmin displays white page when viewing a domain! celeron Linux - Server 1 07-23-2010 03:59 PM
Apache displays PHP scripts cov Linux - Server 9 06-01-2009 10:52 AM
Apache displays directories but not files gungarlin Linux - Server 3 10-29-2007 11:37 PM
Apache22 and php5 problems blood_omen *BSD 6 10-23-2006 10:49 AM
Apache displays html code tlmii Linux - Software 3 06-09-2004 11:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:12 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
Open Source Consulting | Domain Registration