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

Redirect apache to new web root directory

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  IIS 6.0 Error  
Author Message
trouling

External


Since: Feb 06, 2005
Posts: 3



(Msg. 1) Posted: Sun Feb 06, 2005 11:24 pm
Post subject: Redirect apache to new web root directory
Archived from groups: alt>apache>configuration (more info?)

Hello,

I just installed Apache 2.0 on XP and can run default index.html.en
file. At this point, I wish to configure apache to point to an
alternate directory for Web Pages. The config documentation seems
strait forward enough but I'm unable to redirect apache away from the
default index.html. Below is what I modified in my config file. Any
helpful suggestions is appreciated.



<Directory "F:/My Documents/My Website/WebShow">
options indexes includes followsymlinks
allowoverride none
allow from from all
order allow,deny
</directory>

 >> Stay informed about: Redirect apache to new web root directory 
Back to top
Login to vote
user387

External


Since: Feb 13, 2004
Posts: 1055



(Msg. 2) Posted: Mon Feb 07, 2005 4:35 am
Post subject: Re: Redirect apache to new web root directory [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

trouling wrote:

 > Hello,
 >
 > I just installed Apache 2.0 on XP and can run default
 > index.html.en
 > file. At this point, I wish to configure apache to point to
 > an alternate directory for Web Pages. The config
 > documentation seems strait forward enough but I'm unable to
 > redirect apache away from the default index.html. Below is
 > what I modified in my config file. Any helpful suggestions
 > is appreciated.
 >
 > <Directory "F:/My Documents/My Website/WebShow">
 > options indexes includes followsymlinks
 > allowoverride none
 > allow from from all
 > order allow,deny
 > </directory>

Did you restart Apache?

--
Els
<a style='text-decoration: underline;' href="http://locusmeus.com/" target="_blank">http://locusmeus.com/</a>
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Redirect apache to new web root directory 
Back to top
Login to vote
user387

External


Since: Feb 13, 2004
Posts: 1055



(Msg. 3) Posted: Mon Feb 07, 2005 4:35 am
Post subject: Re: Redirect apache to new web root directory [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Els wrote:

 > trouling wrote:
 >
  >> Hello,
  >>
  >> I just installed Apache 2.0 on XP and can run default
  >> index.html.en
  >> file. At this point, I wish to configure apache to point to
  >> an alternate directory for Web Pages. The config
  >> documentation seems strait forward enough but I'm unable to
  >> redirect apache away from the default index.html. Below is
  >> what I modified in my config file. Any helpful suggestions
  >> is appreciated.
  >>
  >> <Directory "F:/My Documents/My Website/WebShow">
  >> options indexes includes followsymlinks
  >> allowoverride none
  >> allow from from all
  >> order allow,deny
  >> </directory>
 >
 > Did you restart Apache?

Oh, and: you have to change DocumentRoot too, like this:
DocumentRoot "F:/My Documents/My Website/WebShow"
(higher up in the configuration file)

--
Els
<a style='text-decoration: underline;' href="http://locusmeus.com/" target="_blank">http://locusmeus.com/</a>
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Redirect apache to new web root directory 
Back to top
Login to vote
trouling

External


Since: Feb 06, 2005
Posts: 3



(Msg. 4) Posted: Mon Feb 07, 2005 7:40 am
Post subject: Re: Redirect apache to new web root directory [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

trouling wrote:
 > Hello,
 >
 > I just installed Apache 2.0 on XP and can run default index.html.en
 > file. At this point, I wish to configure apache to point to an
 > alternate directory for Web Pages. The config documentation seems
 > strait forward enough but I'm unable to redirect apache away from the
 > default index.html. Below is what I modified in my config file. Any
 > helpful suggestions is appreciated.
 >
 >
 >
 > <Directory "F:/My Documents/My Website/WebShow">
 > options indexes includes followsymlinks
 > allowoverride none
 > allow from from all
 > order allow,deny
 > </directory>

Did I restart apache. Yes, I restart apache and open a new browser
window. I've tried about 20 times so far.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Redirect apache to new web root directory 
Back to top
Login to vote
trouling

External


Since: Feb 06, 2005
Posts: 3



(Msg. 5) Posted: Mon Feb 07, 2005 7:41 am
Post subject: Re: Redirect apache to new web root directory [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ill add the DocumentRoot directive and give it a try. Thanks for the
suggestion.
 >> Stay informed about: Redirect apache to new web root directory 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Apache server root directory - Anyone know how I can find my root Apache server directory? Thanks in advance. Chris

Web server root directory - Hello, I just installed apache and wanted to change my root directory to the directory where my homepage files are, but it sais an error that some modules are missing. Can't I just change the root directory for the server, and that apache just takes his...

virtual hosts and root directory for php - Hi, I'm using Apache 1.3.29 on Mac OS X for testing purposes. I achieved to create some virtual hosts. But when a file tries to php include() some file that is referred to like /include/file.txt (include("/include/file.txt");)I get errors: ...

mod_rewrite - alternate root directory for absolute URIs - I'm wanting to show my work to someone by previewing it on my website at www.mydomain.org/preview however, all of the URIs in the project are absolute (because of an existing mod_rewrite that turns a static URL into a dynamic request format). this..

Redirect of a user's public_html directory - Hello, I have a question regarding redirection using apache 1.3. The homepage of user foo, which is stored in foo's public_html directory, used to be reachable under http://myservername/~foo. Now the user foo left, and I would like to redirect all..
   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 ]