----------------------------------------------------------------
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!!!
----------------------------------------------------------------
Sumit wrote:
>
> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
>
> Hi everybody,
> I'm using Apache JServ 1.1b3 with Apache 1.3.9 for serving Java Servlet
> requests on my Linux server. The main problem is I'm doing some important
> file modification through one of the servlet, which(file) cannot be given
> public access of writing, while my JServ runs as "nobody" user process. I
> need to run either this Server or the Servlet with some special
> previleges.
> Can anybody suggest configuration stuffs or ACL modification for this?
Run the Apache httpd process as "nobody", turn on manual starting
by "ApJServManual on" directive and start the JServ daemon by hand
under the special user privileges.
We do servlet hosting by using one instance of Apache running
as "nobody" and many instances of JServ running with different
user privileges. You can do it with following directives in mod_jserv.conf:
ApJServMount /user1 ajpv11://localhost:8001/user1
ApJServMount /user2 ajpv11://localhost:8002/user2
ApJServMount /user3 ajpv11://localhost:8003/user3
...
ApJServMount /userN ajpv11://localhost:800N/user4
Be aware that when starting JServ manually, the CLASSPATH variable
is used, not the wrapper.classpath property in jserv.properties file.
Martin
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
INET, a.s. Mgr. Martin Kuba
Kralovopolska 139 e-mail: [EMAIL PROTECTED]
601 12 Brno WWW: http://www.inet.cz/~makub/
Czech Republic tel: +420-5-41242414/32
--------------------------------------------------------------------
PGP fingerprint = D8 57 47 E5 36 D2 C1 A1 C3 48 B2 59 00 58 42 27
http://wwwkeys.cz.pgp.net:11371/pks/lookup?op=index&search=makub
--------------------------------------------------------------------
--
--------------------------------------------------------------
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]