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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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? |
|
|||
|
"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? |
|
|||
|
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 |
|
|||
|
"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 |