You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by jiqiang yao <ji...@yahoo.com> on 2006/07/13 17:41:01 UTC

configuration problem

hi,

I use apacher 2.0. I set the document root as
".../web".
Anything ending in .html can be public. However, the
folder within this directory are not public, although
I set the mode to 755.

Canbody can help me?

yao

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: configuration problem

Posted by Jay Scherrer <ja...@scherrer.com>.
jiqiang yao wrote:
> hi,
>  
>  I use apacher 2.0. I set the document root as
>  "/myhome/web".
>  Anything ending in .html can be public. However, the
>  folder within this directory are not public,
>  although
>  I set the mode to 755.
>  
>  Can anybody can help me?
>  
>  yao
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
>
>   
Are you trying to create an alias or virtual web directory?
Because the server root is where you specify the actual apache server 
application. If you wanted to serve your main pages from "/myhome/web", 
then you should create a document root "/myhome/web". Then define the 
directory.
Full description:
document root "/myhome/web"
<Directory /myhome/web>
    Options FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

Jay Scherrer

configuration problem

Posted by jiqiang yao <ji...@yahoo.com>.
hi,
 
 I use apacher 2.0. I set the document root as
 "/myhome/web".
 Anything ending in .html can be public. However, the
 folder within this directory are not public,
 although
 I set the mode to 755.
 
 Can anybody can help me?
 
 yao


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com