You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Philippe Dhont (Sea-ro)" <Ph...@searo.be> on 2002/09/06 15:55:04 UTC

[users@httpd] Documentroot

Hi, stupid question but i can't find the right parameter.
I have in my httpd.conf file
DocumentRoot "/usr/local/apache2/htdocs"

Now i installed a program "tutos" and i have htdocs on another place for
that program.
But how do i make a correct alias for this ?
Is it like:  alias DocumentRoot ....
Or what ?

greetz

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Documentroot

Posted by Joshua Slive <jo...@slive.ca>.
Jaqui wrote:
> set up a redirect rule for "tutos" pointing to it's document root.
> 
> Philippe Dhont (Sea-ro) wrote:
> 
>> Hi, stupid question but i can't find the right parameter.
>> I have in my httpd.conf file
>> DocumentRoot "/usr/local/apache2/htdocs"
>>
>> Now i installed a program "tutos" and i have htdocs on another place for
>> that program.
>> But how do i make a correct alias for this ?
>> Is it like:  alias DocumentRoot ....
>> Or what ?

Hmmm... I think Philippe would appreciate a little more detail.  You 
probably are looking for something like
Alias /tutos /full/path/to/tutos

But you have not given quite enough info to tell exactly what you want. 
  Lots more info is available at
http://httpd.apache.org/docs-2.0/urlmapping.html

Joshua.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Documentroot

Posted by Jaqui <ja...@shaw.ca>.
set up a redirect rule for "tutos" pointing to it's document root.

Philippe Dhont (Sea-ro) wrote:

>Hi, stupid question but i can't find the right parameter.
>I have in my httpd.conf file
>DocumentRoot "/usr/local/apache2/htdocs"
>
>Now i installed a program "tutos" and i have htdocs on another place for
>that program.
>But how do i make a correct alias for this ?
>Is it like:  alias DocumentRoot ....
>Or what ?
>
>greetz
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org