LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-01-2004, 01:00 AM   #1
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Rep: Reputation: 30
Restarted apache, httpd not updated?


After I run apache for the 1st time, it works. Then I tried changing the DocumentRoot and <Directory>, restarted apache using apachectl restart. Refresh the web page, the document is still the previous apache page.

Any idea?
 
Old 07-01-2004, 04:50 AM   #2
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
My crystal ball is a little quirky:

I can't look into your past to see what you changed.

But when I look into your future, I see you posting more info and possibly getting some help.

Enjoy!
--- Cerbere
 
Old 07-01-2004, 04:54 AM   #3
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 33
hi,

i think this might be more to do with your browser caching the web page - try clearing the browser cache and try again.

i had this issue when i was doing some web development and making changes to pages.
 
Old 07-05-2004, 03:50 AM   #4
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by kevinatkins
hi,

i think this might be more to do with your browser caching the web page - try clearing the browser cache and try again.

i had this issue when i was doing some web development and making changes to pages.
Tried.

I edit the path, the DocumentRoot and <Directory>, in /etc/httpd/conf/httpd.conf. Changed it to /opt but when I restart apache (service httpd reload), cleared the cache, fire up a new firefox and typed in http://localhost, it returned me the default apache web page.

 
Old 07-09-2004, 03:02 AM   #5
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by subaruwrx
Tried.

I edit the path, the DocumentRoot and <Directory>, in /etc/httpd/conf/httpd.conf. Changed it to /opt but when I restart apache (service httpd reload), cleared the cache, fire up a new firefox and typed in http://localhost, it returned me the default apache web page.


Last edited by subaruwrx; 07-11-2004 at 03:50 AM.
 
Old 07-11-2004, 03:51 AM   #6
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
bump
 
Old 08-09-2004, 08:25 PM   #7
Lamex
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Rep: Reputation: 0
just do this:

/etc/rc.d/init.d/httpd restart

or

/etc/init.d/httpd restart

usualy apache == httpd
 
Old 08-09-2004, 08:43 PM   #8
afrodocter
Member
 
Registered: Sep 2003
Distribution: slackware 9.1
Posts: 110

Rep: Reputation: 15
shouldent apachectl restart do the same as /etc/rc.d/httpd restart????
or no ??? if not what is the use of apachectl restart??
 
  


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
is httpd the same apache?!!!!! arsham Linux - Software 4 05-11-2005 03:34 AM
Help with Apache (httpd)! apoc013 Linux - Newbie 6 01-22-2004 05:30 PM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 10:32 PM
Apache httpd c0c0deuz Linux - General 6 11-18-2002 10:23 AM
'Updated Apache packages fix chunked encoding issue' problems Buttercups Linux - Software 4 07-03-2002 08:29 AM

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

All times are GMT -5. The time now is 02:18 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration