Hi Friends,
I am using apache server to run servlets. My problem is, how to set multiple
paths for documents (HTML files)?
I am setting my own user path for documents (html & images) in httpd.conf.
like follows,
DocumentRoot "d:/mydocuments/myhtmls"
<Directory " d:/mydocuments/myhtmls ">
The default one is
DocumentRoot "C:/apache1.3.12/htdocs"
<Directory "C:/apache1.3.12/htdocs">
It 's working fine when I use any one of them. How to set my own document
root as well as use the default document root.
It's not finding the Html files from Unset one.
I tried like the follows too,
DocumentRoot "d:/mydocuments/myhtmls, C:/apache1.3.12/htdocs "
<Directory " d:/mydocuments/myhtmls,C:/apache1.3.12/htdocs">
or
DocumentRoot "d:/mydocuments/myhtmls;C:/apache1.3.12/htdocs "
<Directory " d:/mydocuments/myhtmls;C:/apache1.3.12/htdocs">
or
DocumentRoot "d:/mydocuments/myhtmls","C:/apache1.3.12/htdocs "
<Directory " d:/mydocuments/myhtmls","C:/apache1.3.12/htdocs">
but no use.
Any one please helps me.
Thanks!
Dhans
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html