howard chen wrote:
> In the document: http://httpd.apache.org/docs/2.0/mod/core.html#documentroot
> 
> It said
>  >> The DocumentRoot should be specified without a trailing slash.
> 
> However, even I end with a trailing slash, it is ok.
> Any other  impact? (as the document only told you not to, without reason)
> 
> Thanks.
> 

Yup, the server puts the trailing slash on the url when it responds to
the browser request.
If you put the trailing slash on the document root, then the server
REQUIRES it.
this makes http://example.com fail to resolve, the typed url would need
to be http://example.com/

Jaqui


---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to