LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 08-05-2011, 12:14 AM   #1
ananthkadalur
Member
 
Registered: Mar 2011
Posts: 38

Rep: Reputation: 0
web server


Hi...I copied whole content of /var/www from ubuntu 9.04 server to centOS 5.5(/var/www/), Now if I type ip address, our internal web server is not working,
But if I do the same to anohter ubuntu machine(/var/www) it is working, So can anyone please give the solution how can I resolve the issue in Cent OS.
 
Old 08-05-2011, 12:24 AM   #2
rahulkya
Member
 
Registered: Feb 2009
Location: New Delhi
Distribution: Linux mint,Ubuntu,Debian,RHEL 5,slackware 13.1, free BSD,solaris.
Posts: 186
Blog Entries: 3

Rep: Reputation: 33
check if have installed apache on centOS...
 
Old 08-05-2011, 12:29 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,258

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
/var/www is just the web content; check the apache config file....
 
Old 08-05-2011, 12:50 AM   #4
devnull10
Member
 
Registered: Jan 2010
Location: Lancashire
Distribution: Slackware Stable
Posts: 548

Rep: Reputation: 116Reputation: 116
And check apache is started -
Code:
$ apachectl start
 
1 members found this post helpful.
Old 08-05-2011, 01:47 AM   #5
ananthkadalur
Member
 
Registered: Mar 2011
Posts: 38

Original Poster
Rep: Reputation: 0
Bugzilla

Hi...The apache is already running. I am migrating bugzilla from ubuntu9.04 to CentOS 5.5. So I copied everything as it is from ubuntu /var/www/ to Cent OS /var/www/http/ using rsync. After that I copied ubuntu httpd.conf file ubuntu to httpd.conf file of cent os using
"cat httpd.conf >> /etc/httpd/conf/httpd.conf" & restarted the apache and opened http://ip_address/bugzilla, but only home page is working fine. & sub links are not opening. After that I found after going in to sub directoried in bugzilla folder & found some soft link files were broken. So again I copied as it in server using rsync & found sym links are working fine now. But through web browser sub links are not opening


Quote:
Originally Posted by devnull10 View Post
And check apache is started -
Code:
$ apachectl start
 
Old 08-05-2011, 06:39 AM   #6
salemeni
Member
 
Registered: Aug 2011
Posts: 64

Rep: Reputation: Disabled
Post

Quote:
Originally Posted by ananthkadalur View Post
Hi...The apache is already running. I am migrating bugzilla from ubuntu9.04 to CentOS 5.5. So I copied everything as it is from ubuntu /var/www/ to Cent OS /var/www/http/ using rsync. After that I copied ubuntu httpd.conf file ubuntu to httpd.conf file of cent os using
"cat httpd.conf >> /etc/httpd/conf/httpd.conf" & restarted the apache and opened http://ip_address/bugzilla, but only home page is working fine. & sub links are not opening. After that I found after going in to sub directoried in bugzilla folder & found some soft link files were broken. So again I copied as it in server using rsync & found sym links are working fine now. But through web browser sub links are not opening
Hi

check links in the sources of web pages = check path of this pages
Your site must work with relative link and not absolute link.

generics array

Last edited by salemeni; 12-06-2011 at 03:54 AM.
 
  


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
[SOLVED] win7 web client problem with apache2 web server on linux lapinux Linux - Networking 2 03-15-2011 01:21 PM
how to add additional web domain for existing web server in rhel5 124vikas.dange@gmail.com Linux - Server 2 11-25-2009 04:45 PM
How to monitor web server, FTP server, Mail server and database server vodka33us Programming 1 06-16-2008 05:20 AM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 07:21 AM
setting up password protected web forms on an apache web server AZDAVE Linux - Security 3 07-07-2004 01:03 PM


All times are GMT -5. The time now is 08:58 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