From: Muktheshwar Sharma <Muktheshwar.Sharma@xxxxxxxxxxx> To: "'users@xxxxxxxxxxxxxxxx'" <users@xxxxxxxxxxxxxxxx> Date: Wednesday, March 30, 2005, 8:35:10 AM Subject: [users@httpd] migration from Apache 1.3.x to Apache 2 Wednesday, March 30, 2005, 8:35:10 AM, you wrote: > Hi, > > I am migrating from Apache 1.3.27 to Apache 2.0.x. I have one > module that is compiled for Apache 1.3.x now I want to use the same > module for Apache 2. > > In my earlier version of apache code I have one statement > “MM_permission (0600, ap_uname2id(DEFAULT_USER), > ap_gname2id(DEFAULT_GROUP));” > Now when I am compiling this with apxs utility I am getting the following error > > /home/mukthi//apache2/mod_xx.c:315: `DEFAULT_USER' undeclared (first use in this function) > /home/mukthi//apache2/mod_xx.c:315: (Each undeclared identifier is reported only once > /home/mukthi//apache2/mod_xx.c:315: for each function it appears in.) > /home/mukthi//apache2/mod_xx.c:315: `DEFAULT_GROUP' undeclared (first use in this function) > > As I could not able to find how to use DEFAULT_USER and > DEFAULT_GROUP in Apache 2. Could anybody help me in this regard? > > Thanks and Regards, > Muktheshwar > 4th Line Support - Product Integration, 3 > Tel: +91 - 80 - 28520408 Extn: 84158 > Mobile: +91-98 45 98 10 44 > http://www.three.co.uk/ > > > > ________________________________________________________________________ > This e-mail message (including any attachment) is intended only for the personal > use of the recipient(s) named above. This message is confidential and may be > legally privileged. If you are not an intended recipient, you may not review, copy or > distribute this message. If you have received this communication in error, please notify > us immediately by e-mail and delete the original message. > Any views or opinions expressed in this message are those of the author only. > Furthermore, this message (including any attachment) does not create any legally > binding rights or obligations whatsoever, which may only be created by the exchange > of hard copy documents signed by a duly authorised representative of Hutchison > 3G UK Limited. > > ________________________________________________________________________ hello probably there is an issue with the user, group in the apache configuration. Did you check the /etc/group and /etc/passwd and /etc/shadow files that contain wwwrun and www respectiviely? --------------------------------------------------------------------- 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-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx