----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Dear Hiren,

Your problem lies in your <Locaiton> directive.  For starters, you were
right, it should go in httpd.conf and not in a .htaccess file in the
servlet directory.  The issue is that with a <Location> directive, the
directory that it refers to should be relative to the document root (as
a web user would see it):

> <Location  /usr/apache-g/htdocs/WebPages/Servlets/Admin >

<Location /WebPages/Servlets/Admin>

assuming your users would type
http://my.server.com/WebPages/Servlets/Admin/ into their browser to get
this URL.  Apache's <Directory> tag refers directly to paths on the host
filesystem (as you did above) but that won't work for JServ.

Good luck!
Brad Andrews


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to