Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Why doesnt changing the document root location work?

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Apache proxy sessions  
Author Message
nospam178

External


Since: Aug 15, 2003
Posts: 2



(Msg. 1) Posted: Sat Aug 16, 2003 1:34 am
Post subject: Why doesnt changing the document root location work?
Archived from groups: alt>apache>configuration (more info?)

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?

 >> Stay informed about: Why doesnt changing the document root location work? 
Back to top
Login to vote
ian4

External


Since: Jul 30, 2003
Posts: 35



(Msg. 2) Posted: Sat Aug 16, 2003 1:34 am
Post subject: Re: Why doesnt changing the document root location work? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Fri, 15 Aug 2003 22:34:25 +0100 in
<message-id:1060983268.39770.0@lotis.uk.clara.net>
"Phil" <nospam.RemoveThis@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

--
Ian.H [Design & Development]
digiServ Network - Web solutions
<a style='text-decoration: underline;' href="http://www.digiserv.net" target="_blank">www.digiserv.net</a> | irc.digiserv.net | forum.digiserv.net
Programming, Web design, development & hosting.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Why doesnt changing the document root location work? 
Back to top
Login to vote
ian4

External


Since: Jul 30, 2003
Posts: 35



(Msg. 3) Posted: Sat Aug 16, 2003 6:40 pm
Post subject: Re: Why doesnt changing the document root location work? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sat, 16 Aug 2003 16:30:36 +0100 in
<message-id:1061047847.97730.0@echo.uk.clara.net>
"Phil" <nospam DeleteThis @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

--
Ian.H [Design & Development]
digiServ Network - Web solutions
<a style='text-decoration: underline;' href="http://www.digiserv.net" target="_blank">www.digiserv.net</a> | irc.digiserv.net | forum.digiserv.net
Programming, Web design, development & hosting.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Why doesnt changing the document root location work? 
Back to top
Login to vote
nospam178

External


Since: Aug 15, 2003
Posts: 2



(Msg. 4) Posted: Sat Aug 16, 2003 7:30 pm
Post subject: Re: Why doesnt changing the document root location work? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Ian.H [dS]" <ian DeleteThis @WINDOZEdigiserv.net> wrote in message
news:20030815225143.04b560c4.ian@WINDOZEdigiserv.net...
 > On Fri, 15 Aug 2003 22:34:25 +0100 in
 > <message-id:1060983268.39770.0@lotis.uk.clara.net>
 > "Phil" <nospam DeleteThis @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?<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Why doesnt changing the document root location work? 
Back to top
Login to vote
claudio

External


Since: Aug 14, 2003
Posts: 47



(Msg. 5) Posted: Sat Aug 16, 2003 9:23 pm
Post subject: Re: Why doesnt changing the document root location work? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ian.H [dS] wrote:
 > "Phil" <nospam.RemoveThis@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<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Why doesnt changing the document root location work? 
Back to top
Login to vote
ian4

External


Since: Jul 30, 2003
Posts: 35



(Msg. 6) Posted: Sat Aug 16, 2003 11:08 pm
Post subject: Re: Why doesnt changing the document root location work? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sat, 16 Aug 2003 20:48:46 +0100 in
<message-id:1061063383.3859.1@echo.uk.clara.net>
"Phil" <me.DeleteThis@privacy.net> wrote:

  > > 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 =)

 >
 > Thanks Ian


No probs Phil.

You _CAN_ run:


/usr/local/apache/bin/apachectl graceful


etc, but this says (according to Apache):


"Restart Apache gracefully"


Either way, says to me "restart in some fashion".

There's more info on <a style='text-decoration: underline;' href="http://httpd.apache.org/" target="_blank">http://httpd.apache.org/</a> regarding the various
options for apachectl if you're interested in learning some more (I'm
not sure of them all off the top of my head.. so can't list them here).

The 'net start|stop" should work on win2k / XP etc.. but looked like you
were running on a *nix box with the path structure / dir names =)

Good luck with Apache.. can guarentee you won't regret switching from
IIS =)



Regards,

Ian

--
Ian.H [Design & Development]
digiServ Network - Web solutions
<a style='text-decoration: underline;' href="http://www.digiserv.net" target="_blank">www.digiserv.net</a> | irc.digiserv.net | forum.digiserv.net
Programming, Web design, development & hosting.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Why doesnt changing the document root location work? 
Back to top
Login to vote
user47

External


Since: Jan 25, 2004
Posts: 4



(Msg. 7) Posted: Sat Aug 16, 2003 11:48 pm
Post subject: Re: Why doesnt changing the document root location work? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Claudio Carobolante" <claudio.DeleteThis@carobolante.net> wrote in message
news:4d2211-gt2.ln1@carobolante.net...
 > Ian.H [dS] wrote:
  > > "Phil" <nospam.DeleteThis@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?

im running in unix. ill try the stop and restart and see if that works.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Why doesnt changing the document root location work? 
Back to top
Login to vote
user47

External


Since: Jan 25, 2004
Posts: 4



(Msg. 8) Posted: Sat Aug 16, 2003 11:48 pm
Post subject: Re: Why doesnt changing the document root location work? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Ian.H [dS]" <ian DeleteThis @WINDOZEdigiserv.net> wrote in message
news:20030816164052.456a944d.ian@WINDOZEdigiserv.net...
 > On Sat, 16 Aug 2003 16:30:36 +0100 in
 > <message-id:1061047847.97730.0@echo.uk.clara.net>
 > "Phil" <nospam DeleteThis @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<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Why doesnt changing the document root location work? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Document root on another PC - Hi! Using a windows 2000 Network I have got one PC containing all the documents for the internet. The Apache is installed on another PC and I wanted to set the DocumentRoot to the location at the Doecument Server...it doesn't work this way: DocumentRoot....

ssl document download - Hi ,i have a page witch downloads any document (ms word,zip ,excel ...) ,my application runs over ssl connecton with apache & mod_ssl . My problem is when i download documents from my page over ssl session the navigator warns me about insecure eleme...

Upload of big files failed with "Document contains no data" - We are using Redhat 8.0 Apache 2.0.47 Uploading big files ( >1MB ) failed with error : Document contains no data I set LimitRequestBody = 10000000 but no reaction. Thanks Holger

Upload of big files failed with "Document contains no data" - We are using Redhat 8.0 Apache 2.0.47 Uploading big files ( >1MB ) failed with error : Document contains no data I set LimitRequestBody = 10000000 but no reaction. Thanks Holger

Apache as root - I have what seems like a newbie question. But why does the httpd parent (Apache/1.3.28) run as root? Yes, Apache needs to bind to a lower port. But after that, why could the parent not change its uid to, say, that of the nobody user, and accept..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]