Re: Authentifizierung gelingt mir nicht

2005-10-11 Thread Frank Thommen

Hallo Philipp,


ich moechte meine CGI-Routine (pyhton) zum Setzen eines Passwortes
schuetzen, sodass nur User die bereits einen Account haben ihr Passwort
aendern koennen.

Das habe ich nun wie folgt versucht:
1. Versuch
--

Die entsprechenden Direktiven in meiner httpd.conf:

DocumentRoot /var/www/trac
ScriptAlias /trac-cgi/ /var/www/trac-cgi/
Files /var/www/trac-cgi/setPassword.py
[...]
/Files

 [...]
 Mit obigen Einstellungen wird ueberhaupt keine User-Ueberpruefung 
gemacht.



Files sollte offenbar nur den nackten Filenamen und keine Pfade 
enthalten.  Mit


DocumentRoot /var/www/trac
ScriptAlias /trac-cgi/ /var/www/trac-cgi/
Directory /var/www/trac-cgi/
Files setPassword.py
AuthType   Basic
AuthName   TRAC User Authentication
AuthUserFile   /var/trac/lorno/trac.htpasswd

Require valid-user
/Files
/Directory

klappts.  Mit Apache 2.0.54 konnte ich das Verhalten jedenfalls 
reproduzieren.





  DocumentRoot /var/www/trac
  ScriptAlias /trac-cgi/ /var/www/trac-cgi/
  Location /trac-cgi
[...]
  /Location


Location soll nur fuer Objekte ausserhalb des Filesystems (URLs) 
verwendet werden (http://httpd.apache.org/docs/2.0/mod/core.html#location).



Gruesse

   frank

--
Frank Thommen
System Management  Support +41-44-63 27208
Inst. of Computational Science ETH [EMAIL PROTECTED]
ETH Zentrum / CAB, CH-8092 Zuerichwww.inf.ethz.ch/~fthommen

--
   Apache HTTP Server Mailing List users-de 
 unsubscribe-Anfragen an [EMAIL PROTECTED]

  sonstige Anfragen an [EMAIL PROTECTED]
--



RE: Authentifizierung gelingt mir nicht

2005-10-11 Thread Philipp Meier
Hallo

Danke (an Frank Thommen) für den Tipp.

Nun stehe ich aber vor dem nächsten Problem!

Folgende Direktiven ermöglichen mir, das Skript 'setPassword.py' ablaufen zu
lassen:

Directory /var/www/trac-cgi
  AddHandler cgi-script .py
  AllowOverride None
  Options +FollowSymLinks
  Order allow,deny
  Allow from all
/Directory

Sobald ich allerdings die Authentifizierung dazufuege funktionierts nicht
mehr:
... 403 Forbidden ...

Directory /var/www/trac-cgi
  AuthType   Basic
  AuthName   New TRAC User Authentication
  AuthUserFile   /var/trac/lorno/trac.htpasswd
  Require valid-user
  AddHandler cgi-script .py
  AllowOverride None
  Options +FollowSymLinks
  Order allow,deny
  Allow from all
/Directory

Wie kann das sein? Was mache ich falsch?

DankeGruss
Philipp



--
Apache HTTP Server Mailing List users-de
  unsubscribe-Anfragen an [EMAIL PROTECTED]
   sonstige Anfragen an [EMAIL PROTECTED]
--



Re: Authentifizierung gelingt mir nicht

2005-10-11 Thread Frank Thommen

Was sagen denn error_log und access_log dazu?


Leider gar nichts, keine Eintraege. Ich habe auch den LogLevel schonmal auf
DEBUG eingestellt, aber dazu dennoch keine Eintraege gefunden.
Gibt es eine Moeglichkeit ein Logging fuer mod_auth einzuschalten?


Hmm.  Aus dem Handgelenk habe ich gerade keine Idee ausser den ueblichen 
(Browser-Cache, kollidierende/ueberschreibende Direktiven resp. 
.htaccess, Zugriffsrechte des Skriptes etc.).  Vielleicht hilft 
http://httpd.apache.org/docs/2.0/mod/mod_log_config.html beim Debuggen. 
 Habe ich allerdings selber noch nie verwendet.


frank

--
Inst. of Computational Science ETH, System Management  Support

--
   Apache HTTP Server Mailing List users-de 
 unsubscribe-Anfragen an [EMAIL PROTECTED]

  sonstige Anfragen an [EMAIL PROTECTED]
--



RE: [EMAIL PROTECTED] localhost htdocs access vs external restriction

2005-10-11 Thread Boyle Owen
 -Original Message-
 From: Chris Pat [mailto:[EMAIL PROTECTED]
 Sent: Dienstag, 11. Oktober 2005 02:33
 To: apache
 Subject: [EMAIL PROTECTED] localhost htdocs access vs external restriction
 
 
 Hello
 Is it possible to restrict contents of the htdocs
 directory depending on where the uses is from?  I want
 to give localhost access and either block WAN side
 access either totaly or directory by directory. 

Of course. Read http://httpd.apache.org/docs/2.0/mod/mod_access.html for 
details. Post back if there's anything not clear.

 I
 believe it can be done by directory restriction if you
 are using a domain name.  I am not sure on access to
 htdocs.  

Not sure I understand the question... By htdocs, I presume you mean the 
default document root in the config file? Bear in mind that you can change this 
and that DocumentRoot can be anywhere on your filesystem.

 
 Also this is my first time setting up Apache2.05x.  Is
 there a faq or some must enable to protect the
 htdocs, from ddos, script attacks, remote access.  Any
 recommended faq on securing apache other than the
 plethora adduced from a web search.  tia.

http://httpd.apache.org/docs/2.0/misc/security_tips.html

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

 
 
   
   
 __ 
 Yahoo! Mail - PC Magazine Editors' Choice 2005 
 http://mail.yahoo.com
 
 -
 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: [EMAIL PROTECTED]
   from the digest: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen 
Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a 
private and personal nature. It is not related to the exchange or business 
activities of the SWX Group. Le présent e-mail est un message privé et 
personnel, sans rapport avec l'activité boursière du Groupe SWX.
 
 
This message is for the named person's use only. It may contain confidential, 
proprietary or legally privileged information. No confidentiality or privilege 
is waived or lost by any mistransmission. If you receive this message in error, 
please notify the sender urgently and then immediately delete the message and 
any copies of it from your system. Please also immediately destroy any 
hardcopies of the message. You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient. The sender's company reserves the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are 
those of the individual sender, except where the message states otherwise and 
the sender is authorised to state them to be the views of the sender's company.

-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] Inbound, Non-HTTP Proxy

2005-10-11 Thread Axel-Stéphane SMORGRAV
I would tend to think that Apache is not suited for your purpose. Once upon a 
time, there was a little firewall utility called TIS Firewall Toolkit (FWTK) 
http://www.fwtk.org/fwtk/docs/admin_guide.pdf that probably does what you want. 
You may be particularly interested in PLUG-GW.

-ascs 

-Original Message-
From: Nick Gianakas [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 11, 2005 6:57 AM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] Inbound, Non-HTTP Proxy

First off, thanks for an excellent server!

I wonder if anyone can point me in a direction.
I read through the modules on httpd.apache.org and did some cursory Googling to 
no avail.

I'm running a software server which is publicly available on the web 
(application service provider model).  It's a more-or-less typical server that 
listens for and communicates (bidirectionally and
asynchronously) with clients.

I use Apache for the web server and this custom server for the application 
(currently Java, may be C/C++ in the future).
Everything works great.

I noticed that users who are behind a corporate firewall which only allows HTTP 
outbound connections cannot connect to the software server (which listens on 
its own ports).

So I'd like to be able to use Apache to act as a proxy for connections to this 
backend server so clients can (hopefully) get past their firewall.
Basically, when a connection arrives, Apache somehow determines if the 
connection is for the backend server (perhaps via a GET for a particular URL or 
perhaps a custom request like WOY (instead of GET/POST/etc) ) and then somehow 
relays the connection and/or the data to the backend server.  The backend 
server maintains a persistent connection with the clients.  That is, it's not a 
strict one-time request-respond-close connection.  I suppose it's more like 
HTTP 1.1 persistent connections, but the client and server communicate 
asynchronously--very much like a chat server.

I saw the proxy module but it's designed for web protocols (HTTP and possibly 
FTP).

I appreciate any help/suggestions/pointers.

Best regards,
Nick


-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Graceful restart requested, doing restart

2005-10-11 Thread thomas Armstrong
Hi.

Using Apache/2.0.52 (Fedora), it crashes suddenly and I must restart
it.

I've found this error message on '/var/log/httpd/error_log':

[Sat Oct 08 02:01:57 2005] [notice] Graceful restart requested, doing
restart
[Sat Oct 08 02:02:00 2005] [notice] Digest: generating secret for
digest authentication ...
[Sat Oct 08 02:02:00 2005] [notice] Digest: done
[Sat Oct 08 02:02:00 2005] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Sat Oct 08 02:02:00 2005] [notice] LDAP: SSL support unavailable
[Sat Oct 08 02:02:01 2005] [notice] mod_python: Creating 4 session
mutexes based on 180 max processes and 0 max threads.
[Sat Oct 08 02:02:01 2005] [notice] Apache/2.0.52 (Fedora) configured
-- resuming normal operations
--

What's the meaning of this messages? I DID NOT restart my Apache server
at 02:00h in the night. :?

Thank you very much.

-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] Graceful restart requested, doing restart

2005-10-11 Thread Herb Stein

 -Original Message-
 From: thomas Armstrong [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, October 11, 2005 4:19 AM
 To: users@httpd.apache.org
 Subject: [EMAIL PROTECTED] Graceful restart requested, doing restart


 Hi.

 Using Apache/2.0.52 (Fedora), it crashes suddenly and I must restart
 it.

 I've found this error message on '/var/log/httpd/error_log':
 
 [Sat Oct 08 02:01:57 2005] [notice] Graceful restart requested, doing
 restart
 [Sat Oct 08 02:02:00 2005] [notice] Digest: generating secret for
 digest authentication ...
 [Sat Oct 08 02:02:00 2005] [notice] Digest: done
 [Sat Oct 08 02:02:00 2005] [notice] LDAP: Built with OpenLDAP LDAP SDK
 [Sat Oct 08 02:02:00 2005] [notice] LDAP: SSL support unavailable
 [Sat Oct 08 02:02:01 2005] [notice] mod_python: Creating 4 session
 mutexes based on 180 max processes and 0 max threads.
 [Sat Oct 08 02:02:01 2005] [notice] Apache/2.0.52 (Fedora) configured
 -- resuming normal operations
 --

 What's the meaning of this messages? I DID NOT restart my Apache server
 at 02:00h in the night. :?

You might try looking in root's crontab (crontab -l) and see if you are
forcing a graceful reboot without knowing it.

 Thank you very much.

 -
 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: [EMAIL PROTECTED]
   from the digest: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 --
 No virus found in this incoming message.
 Checked by AVG Anti-Virus.
 Version: 7.0.344 / Virus Database: 267.11.14/127 - Release Date:
 10/10/2005

--
Herb Stein
[EMAIL PROTECTED]
314 952-4601
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.14/127 - Release Date: 10/10/2005


-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] No installed service named Apache2

2005-10-11 Thread Camilla Langmoen








Hello!
I am very
new at this, and hope my question is not very stupid. 

My OS is Win XP. 

I have downloaded and installed Apache server 2.0.54. 
When I try to monitor the Apache servers, I get the message that Apache monitor
is already started. 
When I try to start the Apache http server I get the message that the system cant
find the file. No installed service named Apache2. 

I opened the error log and found a lot about child / parent, ex: : Received
shutdown signal -- Shutting down the server.

When I
try to open http://localhost, the page cant be
found. 

I have tried to install several times, in every possible way, but I cant make
it work. 



Thanks!
Camilla








Re: [EMAIL PROTECTED] No installed service named Apache2

2005-10-11 Thread Uzo Madujibeya
Camilla,do yourself a big favor and stay well clear of 2.0.54. Instead install 2.1.8UzoOn 11 Oct 2005, at 12:53, Camilla Langmoen wrote:Hello!I am very new at this, and hope my question is not very stupid. My OS is Win XP. I have downloaded and installed Apache server 2.0.54. When I try to monitor the Apache servers, I get the message that Apache monitor is already started. When I try to start the Apache http server I get the message that the system cant find the file. No installed service named Apache2. I opened the error log and found a lot about child / parent, ex: : Received shutdown signal -- Shutting down the server.When I try to open http://localhost, the page cant be found. I have tried to install several times, in every possible way, but I cant make it work. Thanks!Camilla

[EMAIL PROTECTED] Problem with mod_proxy + chunked encoding

2005-10-11 Thread david micheneau








Hi,



We are currently using
the mod_proxy (proxy + reverse proxy) Apache module to forward some
HTTP requests to an external HTTP

standalone server
application. The HTTP clients contacting our front Apache server are using
chunked encoding + HTTP POST.



Our problem is that when
Apache forwards the HTTP requests to the external HTTP application, they are no
more chunked,

and they don't have any
content-length header either.



The HTTP application
contacted handle correctly chunked requests, or normal requests with
content-lenght, but the

case of normal requests
without content-length is not handled properly :(



So, the question
is:is there any way to:



 a) make Apache
forwarding HTTP requests without any modification (keep the body chunked).

or

 b) make Apache
adding the body content-length, as it knows the total length of the body he as
unchunked.



Or, maybe if you have any
idea of another solution ?





Thanks for your help,



David.








[EMAIL PROTECTED] Configure silent windows [MSI] installation

2005-10-11 Thread Robert Desbois
Hi,

I wish to bundle Apache 2 into an installer. I would prefer to have the Apache 
installation proceed silently (msiexec /qn apache-blah.msi) but cannot find how 
to configure what options are chosen during the installation (e.g. network 
domain, server name, admin email, service vs. program, etc.)
I found some sites mentioning creating a setup.iss file, but this seems to be 
useful only if the msi is compiled into an exe.
Does anybody know how to achieve this, or any alternative method?

Thanks,
Rob


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] apache suexec - cannot get docroot information

2005-10-11 Thread Sterpu Victor

I use apache 1.3 with suexec and php-cgi.
When I execute a php with suexec activated I receive the following 
message in the suexec log.


emerg: cannot get docroot information (/var/www)

Apache server is compiled with --suexec-docroot=/var/www

Thank you.

-
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: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] apache suexec - cannot get docroot information

2005-10-11 Thread Sterpu Victor

The rights were too restrictive.


Sterpu Victor wrote:


I use apache 1.3 with suexec and php-cgi.
When I execute a php with suexec activated I receive the following 
message in the suexec log.


emerg: cannot get docroot information (/var/www)

Apache server is compiled with --suexec-docroot=/var/www

Thank you.

-
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: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
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: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Changing Document Root

2005-10-11 Thread Dotan Cohen
On 10/10/05, Boyle Owen [EMAIL PROTECTED] wrote:
  -Original Message-
  From: Dotan Cohen [mailto:[EMAIL PROTECTED]
 
  The server
  had no problems when the DocRoot was /home/dotancohen/www/public_html.
  Why should it have any problems when I switch it back to the default,
  /var/www/html?

 There must be something different between the two dirs. Experiment, play 
 around, try some things...

 Apache has to be able to read all the files in the docroot. BTW, when 
 posting, always quote verbatim (cut'n'paste) the error message in the 
 error_log and describe what happens without usnig the phrase doesn't work 
 (which could mean anything...)

 Rgds,
 Owen Boyle
 Disclaimer: Any disclaimer attached to this message may be ignored.

 
  Dotan Cohen
  http://technology-sleuth.com/
 
  -
  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: [EMAIL PROTECTED]
from the digest: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 This message is for the named person's use only. It may contain confidential, 
 proprietary or legally privileged information. No confidentiality or 
 privilege is waived or lost by any mistransmission. If you receive this 
 message in error, please notify the sender urgently and then immediately 
 delete the message and any copies of it from your system. Please also 
 immediately destroy any hardcopies of the message. You must not, directly or 
 indirectly, use, disclose, distribute, print, or copy any part of this 
 message if you are not the intended recipient. The sender's company reserves 
 the right to monitor all e-mail communications through their networks. Any 
 views expressed in this message are those of the individual sender, except 
 where the message states otherwise and the sender is authorised to state them 
 to be the views of the sender's company.



Thanks Owen and everybody else. The error I get in the browser is:
Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to
use an ErrorDocument to handle the request.

The error I get in the log is:
[Tue Oct 11 16:47:32 2005] [error] [client 127.0.0.1] (13)Permission
denied: access to / denied
[Tue Oct 11 16:47:32 2005] [error] [client 127.0.0.1] (13)Permission
denied: access to /favicon.ico denied
[Tue Oct 11 16:47:32 2005] [error] [client 127.0.0.1] (13)Permission
denied: access to /favicon.ico denied

The facts are:
When I change the DocRoot back to /home/dotancohen/www/public_html all
works as expected. When I change to /var/www/html I get the errors
described. /var/www and /var/www/html are permissions 744. I restart
apache whenever I change the httpd.conf file.

Might I be changing httpd.cong in a not correct manner? I do it by
commenting/uncommenting these lines:
--
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
DocumentRoot /var/www/html
# DocumentRoot /home/dotancohen/www/public_html

# This should be changed to whatever you set DocumentRoot to.
Directory /var/www/html
# Directory /home/dotancohen/www/public_html
--

Dotan
http://technology-sleuth.com

-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



re[2]: [EMAIL PROTECTED] Configure silent windows [MSI] installation

2005-10-11 Thread Robert Desbois
I don't believe it is - I've foudn out all of the syntax from the MSDN site, as 
far as I can tell, because it is an MSI file, any configuration must be passed 
as PARAMETER=VALUE pairs on the command line, e.g. something like
msiexec /i /qn apache-blah.msi domain=mydomain.com ...

If I am right in thinking this, then the parameters are part of the installer, 
hence it is an httpd question. If not, apologies :)

Rob


 Subject : RE: [EMAIL PROTECTED] Configure silent windows [MSI] installation 
Date : Tue, 11 Oct 2005 15:34:00 +0100 
From : Guenther, Christian [EMAIL PROTECTED] 
To : users@httpd.apache.org 

 
 
this is a question for a microsoft msi installer mailinglist - if there is such 
thing and you don't need to bye professional support

From: Robert Desbois [mailto:[EMAIL PROTECTED]
Sent: Tue 11.10.2005 15:44
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] Configure silent windows [MSI] installation

Hi,
I wish to bundle Apache 2 into an installer. I would prefer to have the Apache 
installation proceed silently (msiexec /qn apache-blah.msi) but cannot find how 
to configure what options are chosen during the installation (e.g. network 
domain, server name, admin email, service vs. program, etc.)
I found some sites mentioning creating a setup.iss file, but this seems to be 
useful only if the msi is compiled into an exe.
Does anybody know how to achieve this, or any alternative method?
Thanks,
Rob

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__
-
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: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__
-
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: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] No installed service named Apache2

2005-10-11 Thread William A. Rowe, Jr.

Uzo Madujibeya wrote:

Camilla,
do yourself a big favor and stay well clear of 2.0.54. Instead install 2.1.8


I presume Uzo is teasing you, 2.1.9 beta will be the first to build and
run on most flavors of Windows (2.1.8 would only run on XP/2003).  There
is no binary distribution yet of the beta.


I have downloaded and installed Apache server 2.0.54.
When I try to monitor the Apache servers, I get the message that 
Apache monitor is already started.


Apache Monitor is a taskbar application (the small feather).  Just right
click and close it first.

When I try to start the Apache http server I get the message that the 
system cant find the file. No installed service named Apache2.


cd c:\program files\apache group\apache2
bin\apache -k install -n Apache2

will install the service in the current directory.  You can also use the
-f c:\path-to\httpd.conf  or  -d c:\path-to-server-root  options, if you
are installing more than one service (running from the same binaries).

-
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: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Configure silent windows [MSI] installation

2005-10-11 Thread William A. Rowe, Jr.

You need to review the source, take a look at

http://svn.apache.org/viewcvs.cgi/*checkout*/httpd/httpd/win32-msi/trunk/apache_2.0-win32.ism

You should be able to find everything you were looking for :)

If you would like to contribute documentation/summary, send it on to
the docs@httpd.apache.org list which considers documentation contribs.

Bill

Robert Desbois wrote:

Hi,

I wish to bundle Apache 2 into an installer. I would prefer to have the Apache 
installation proceed silently (msiexec /qn apache-blah.msi) but cannot find how 
to configure what options are chosen during the installation (e.g. network 
domain, server name, admin email, service vs. program, etc.)
I found some sites mentioning creating a setup.iss file, but this seems to be 
useful only if the msi is compiled into an exe.
Does anybody know how to achieve this, or any alternative method?

Thanks,
Rob


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


.



-
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: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] 502 Bad Gateway

2005-10-11 Thread Sean McKendall
Would anyone be able to tell me why this works?  I understand how my hosts 
file functions, but I don't understand why I needed to make this change for 
Apache to work.

- Sean

- Original Message - 
From: Sean McKendall [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: users@httpd.apache.org
Sent: Monday, October 10, 2005 2:22 PM
Subject: Re: [EMAIL PROTECTED] 502 Bad Gateway


I resolved this by editing my hosts file and changing the line 127.0.0.1
localhost to 127.0.0.1  www.mydomain.com.

It works, but I'm not sure why and I don't know if it's really the right
thing to do.

- Sean

- Original Message - 
From: Sean McKendall [EMAIL PROTECTED]
To: users@httpd.apache.org; [EMAIL PROTECTED]
Sent: Tuesday, September 20, 2005 11:07 AM
Subject: Re: [EMAIL PROTECTED] 502 Bad Gateway


I'm not entirely certain if it is or how to check.  I guess I can start
there.

- Original Message - 
From: Joshua Slive [EMAIL PROTECTED]
To: Sean McKendall [EMAIL PROTECTED]; Apache Users
users@httpd.apache.org
Sent: Tuesday, September 20, 2005 10:39 AM
Subject: Re: [EMAIL PROTECTED] 502 Bad Gateway


On 9/20/05, Sean McKendall [EMAIL PROTECTED] wrote:
 After setting RewriteLogDirective to 3...
 [www.mydomain.com/sid#23bbf0][rid#5867f0/initial] (1) go-ahead with proxy
 request proxy:http://www.mydomain.com:81/database.nsf [OK]

Are you sure that your server on port 81 is listening on the loopback
interface and not solely on the external interface?

Joshua.

-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] NNTP Gateway

2005-10-11 Thread Yu, Ming
Does anyone know how to build a NNTP gateway through mod_perl?

Thanks.

- Ming

-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Help building mod_auth_ldap.o against the netscape/mozilla SDK

2005-10-11 Thread Marc Boorshtein
Thanks Ricardo, I'm getting closer but am still having a problem.
I've tried compiling against netscape, sun and mozilla and every time I
run configure I get the following warning:

checking for ldap_init in -lldap... yes
 setting APRUTIL_EXPORT_LIBS to -lldap -llber
 setting APRUTIL_LIBS to -lldap -llber
checking for ldapssl_install_routines in -lldap... no
checking for ldap_start_tls_s in -lldap... yes
checking for ber_init in -llber... yes
checking lber.h usability... yes
checking lber.h presence... yes
checking for lber.h... yes
checking for ldap.h... yes
checking ldap_ssl.h usability... no
checking ldap_ssl.h presence... yes
configure: WARNING: ldap_ssl.h: present but cannot be compiled
configure: WARNING: ldap_ssl.h: check for missing prerequisite headers?
configure: WARNING: ldap_ssl.h: see the Autoconf documentation
configure: WARNING: ldap_ssl.h: section Present But Cannot Be Compiled
configure: WARNING: ldap_ssl.h: proceeding with the preprocessor's result
configure: WARNING: ldap_ssl.h: in the future, the compiler will take precedence
configure: WARNING: ## -- ##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
configure: WARNING: ## -- ##
checking for ldap_ssl.h... yes

When I then try to compile I get an error about TLS not being
present. Is there something specific I need to do? Here's
my configure:

./configure --enable-mods-shared=all --with-ldap
--with-ldap-lib=h-ldap-include=/usr/include/mozilla-1.7.12/ldap
--enable-ldap --enable-auth-ldap --with-ssl --enable-so

Thanks

MarcOn 9/30/05, Ricardo M. Stella [EMAIL PROTECTED] wrote:
 Hello all, I'm trying to build the mod_ldap and mod_auth_ldap modules on fedora core 4 and am running into some issues. These are the steps I took: 1. download and extract 
httpd-2.0.54 source 2. copy the netscape sdk to srclib/ldap 3; run ./configure --enable-ldap --enable-auth-ldap 4. run make When it gets to the mod_ldap and mod_auth_ldap modules it looks as if it
 can't find the netscape libraries. Here is the compilation command:First, afaik, you need to give configure the '--with-ldap' option or elseit won't even look into it...There's a bug in the build of mod_ldap that never looks for the netscape
SDK and only tries to build with openldap (hence it fails).I just posted a fix for this to the list 3 days ago.I also included apatch so TIMEOUT is also implemented when using the sdk.Note that I had no luck with Sun's released SDK (
5.06).I did compileMozilla's latest version (5.14 or 5.16 - can't remember) and it works fine(New version of Mozilla's sdk do include ssl functionality now).Basically, to get it to use, look for:
srclib/apr-util/includes/arp_ldap.h.inSearch for:/* FIXME: remove this when above code works.Default to build with * OpenLDAP until apu-conf.m4 support exists */#define APR_HAS_OPENLDAP_LDAPSDK 1
#define APR_HAS_LDAP_SSL 1And change it to:/* FIXME: remove this when above code works.Default to build with * OpenLDAP until apu-conf.m4 support exists */#define APR_HAS_OPENLDAP_LDAPSDK 0
#define APR_HAS_NETSCAPE_LDAPSDK 1#define APR_HAS_LDAP_SSL 1Building against the Netscape/Sun/Mozilla sdk, allows you to do failover.But you need to have the TIMEOUT patch in, or else if one of the ldap
servers is down (no response) it'll never failover...There are other patches pending for next release 2.0.55 but these Imention are not in (AFAIK).Finally, try to give it a little bit of more options, to help it find stuff:
./configure --with-ldap \--with-ldap-lib=/usr/local/ldapsdk5/lib \--with-ldap-include=/usr/local/ldapsdk5/include \--enable-auth-ldap \--enable-ldap \...


[EMAIL PROTECTED] restart and stop problem when starting apache2 from a console

2005-10-11 Thread lise
I am using Apache 2.0.54 under Windows XP and I have the
following problem:after starting apache from a console (without -k
start),the following commands:apache.exe -k
restartapache.exe -k stopdon't work and return the following
message:The Apache2 service is not started.What can I do to
be able to restart and/or stop apache when it is startedfrom a
console?Sincerely,Lise

-
The official User-To-User support forum of the Apache HTTP Server Project.
See  for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]