LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Restarted apache, httpd not updated? (https://www.linuxquestions.org/questions/linux-software-2/restarted-apache-httpd-not-updated-199744/)

subaruwrx 07-01-2004 01:00 AM

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?

Cerbere 07-01-2004 04:50 AM

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

kevinatkins 07-01-2004 04:54 AM

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.

subaruwrx 07-05-2004 03:50 AM

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.

:confused:

subaruwrx 07-09-2004 03:02 AM

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.

:confused:

:scratch:

subaruwrx 07-11-2004 03:51 AM

bump

Lamex 08-09-2004 08:25 PM

just do this:

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

or

/etc/init.d/httpd restart

usualy apache == httpd

afrodocter 08-09-2004 08:43 PM

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


All times are GMT -5. The time now is 09:33 AM.