Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Another root directory?

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
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.

Apache server root directory - Anyone know how I can find my root Apache server Thanks in advance. Chris

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 get errors:

Redirect apache to new web root directory - Hello, I just installed Apache 2.0 on XP and can run default file. At this point, I wish to configure apache to point to an alternate directory for Web Pages. The config seems strait forward enough but I'm unable to

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

External


Since: Oct 06, 2005
Posts: 3



(Msg. 1) Posted: Thu Oct 06, 2005 8:55 am
Post subject: Another root directory?
Archived from groups: alt>apache>configuration (more info?)

Hi.

I'm using a dyndns.org account to allow global, permanent access to my
local apache webserver... now i'd like to create a second dyndns.org
account and let it point to another directory (let it have another
htdocs root dir) on my webserver. Is that possible?

 >> Stay informed about: Another root directory? 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Thu Oct 06, 2005 8:55 am
Post subject: Re: Another root directory? [Login to view extended thread Info.]
Imported from groups: per prev. post (more info?)

This message is not archived

 >> Stay informed about: Another root directory? 
Back to top
Login to vote
Jan Krumsiek

External


Since: Oct 06, 2005
Posts: 3



(Msg. 3) Posted: Thu Oct 06, 2005 10:55 am
Post subject: Re: Another root directory? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Davide Bianchi schrieb:
> See the documentation about VirtualHosts and the examples in the
> stock configuration file.

I tried to create two virtual hosts, one "susi" (which is the LAN name
of the computer) to give access to the "real" root directory and my
dyndns.org host for the subdirectory:

<VirtualHost *:80>
DocumentRoot d:/httproot
ServerName susi
</VirtualHost>

<VirtualHost *:80>
DocumentRoot d:/httproot/newroot
ServerName xxxxxx.dyndns.org
</VirtualHost>


Where xxxxxx.dyndns.org is my dyndns.org host...

This doesn't work, xxxxxx.dyndns.org is not redirecting to the sub
directory... what's wrong?

Regards,
Jan
 >> Stay informed about: Another root directory? 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 4) Posted: Thu Oct 06, 2005 10:55 am
Post subject: Re: Another root directory? [Login to view extended thread Info.]
Imported from groups: per prev. post (more info?)

Back to top
Login to vote
Jan Krumsiek

External


Since: Oct 06, 2005
Posts: 3



(Msg. 5) Posted: Thu Oct 06, 2005 10:55 am
Post subject: Re: Another root directory? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Davide Bianchi schrieb:
> On 2005-10-06, Jan Krumsiek <krumsiek DeleteThis @gmx.net> wrote:
>
>>I tried to create two virtual hosts, one "susi" (which is the LAN name
>
>
>>This doesn't work, xxxxxx.dyndns.org is not redirecting to the sub
>>directory... what's wrong?
>
>
> Do you have a NameVirtualHost *:80 directive?
>
> When the first VHost always respond usually it means "I can't
> understand which Vhost you want, so I'm going to use the first one".

It now works perfectly, thank you.

Regards,
Jan
 >> Stay informed about: Another root directory? 
Back to top
Login to vote
Display posts from previous:   
   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 ]