Why doesnt changing the document root location work?

This is a discussion on Why doesnt changing the document root location work? within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi I am using webmin/apache We have a website setup and working. I want to change where the website ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-15-2003
Phil
 
Posts: n/a
Default Why doesnt changing the document root location work?

Hi

I am using webmin/apache

We have a website setup and working.

I want to change where the website is, so i went into webmin>apache>edit
directives and changed the document root
for my website from

/usr/home/philssite to /usr/home/new

saved etc, but when i pull my website up in a browser apache is still
taking the site from the old directory /usr/home/philssite

Why would this be?




  #2 (permalink)  
Old 08-16-2003
Phil
 
Posts: n/a
Default Re: Why doesnt changing the document root location work?


"Ian.H [dS]" <ian@WINDOZEdigiserv.net> wrote in message
news:20030815225143.04b560c4.ian@WINDOZEdigiserv.n et...
> On Fri, 15 Aug 2003 22:34:25 +0100 in
> <message-id:1060983268.39770.0@lotis.uk.clara.net>
> "Phil" <nospam@nospam.com> wrote:
>
> > Hi
> >
> > I am using webmin/apache
> >
> > We have a website setup and working.
> >
> > I want to change where the website is, so i went into
> > webmin>apache>edit directives and changed the document root
> > for my website from
> >
> > /usr/home/philssite to /usr/home/new
> >
> > saved etc, but when i pull my website up in a browser apache is
> > still taking the site from the old directory /usr/home/philssite
> >
> > Why would this be?

>
>
> Did you restart Apache?
>
>
>
> Regards,
>
> Ian
>



Hmm, No i didnt.
In just moving over from IIS to apache.
Does apache typically always require a stop and restart after such changes?


  #3 (permalink)  
Old 08-16-2003
Claudio Carobolante
 
Posts: n/a
Default Re: Why doesnt changing the document root location work?

Ian.H [dS] wrote:
> "Phil" <nospam@nospam.com> wrote:


Is this a valid email-address? It's yours?

[...]
>> Does apache typically always require a stop and restart after such
>> changes?

>
> Yup.. anything that involves a change within httpd.conf (Apache's config
> file, which this will have done) requires Apache to be restarted so that
> it can rehash / reload the config =)


False. There is no reason to stop apache. Tell him to reread his
configuration files will be enough. Is there no "apachectl reload" or
"apachectl graceful" possible on your Windows-system?

cc
  #4 (permalink)  
Old 08-16-2003
Phil
 
Posts: n/a
Default Re: Why doesnt changing the document root location work?


"Ian.H [dS]" <ian@WINDOZEdigiserv.net> wrote in message
news:20030816164052.456a944d.ian@WINDOZEdigiserv.n et...
> On Sat, 16 Aug 2003 16:30:36 +0100 in
> <message-id:1061047847.97730.0@echo.uk.clara.net>
> "Phil" <nospam@nospam.com> wrote:
>
> > Hmm, No i didnt.

>
>
> Do now =)
>
>
> > In just moving over from IIS to apache.

>
>
> Great!!! move.
>
>
> > Does apache typically always require a stop and restart after such
> > changes?

>
>
> Yup.. anything that involves a change within httpd.conf (Apache's config
> file, which this will have done) requires Apache to be restarted so that
> it can rehash / reload the config =)
>
>
>
> Regards,
>
> Ian
>



Thanks Ian


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:56 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0