Re: [users@httpd] Apache web server 2.2 installation problem on Windows 7

2014-01-09 Thread Satyajit Patnaik
Hi Mike,

I actually could not get you. I have a MSI file which I installed and in
the end, the apache monitor displayed that "no services installed". But
still then using command prompt, I went to the bin location and used the
command "httpd.exe -k install", but I got failed results (please find the
attachment).

Am I wrong here somehwere?

thanks for the reply,
Satyajit


On Wed, Jan 8, 2014 at 7:43 PM, Mike Rumph  wrote:

> Hello Satyajit,
>
> Did you try following the instructions for running Apache httpd as a
> service on Windows at the following link?
>
> - http://httpd.apache.org/docs/2.2/platform/windows.html#winsvc
>
> Thanks,
>
> Mike Rumph
>
>
>
> On 1/8/2014 12:31 AM, Satyajit Patnaik wrote:
>
>> Hi team,
>>
>> I have a requirement where I need to install apache web server 2.2 in
>> particular, I have the setup and my machine runs on Windows 7 OS. After
>> following the installation process, I found that there is no apache service
>> in services.msc.
>>
>> And also the apache monitor in the task bar shows "No services installed"
>> message displayed. I need the service. I am not able to find what the
>> problem is.
>>
>> Kindly help me to avoid this and have the apache service started.
>>
>>
>> Regards,
>> Satyajit
>>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>
<>
-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Apache web server 2.2 installation problem on Windows 7

2014-01-09 Thread Lester Caine

Satyajit Patnaik wrote:

I actually could not get you. I have a MSI file which I installed and in the
end, the apache monitor displayed that "no services installed". But still then
using command prompt, I went to the bin location and used the command "httpd.exe
-k install", but I got failed results (please find the attachment).

Am I wrong here somehwere?


Well you have the right question to ask ...
http://www.apachelounge.com/viewtopic.php?p=19971 is just one of many answers 
that will hopefully explain how to fix it ;)


--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Apache web server 2.2 installation problem on Windows 7

2014-01-09 Thread Eric Covener
>From the message it seems like you need to install, or create your
services, as an administrator.

On Thu, Jan 9, 2014 at 3:54 AM, Satyajit Patnaik
 wrote:
> Hi Mike,
>
> I actually could not get you. I have a MSI file which I installed and in the
> end, the apache monitor displayed that "no services installed". But still
> then using command prompt, I went to the bin location and used the command
> "httpd.exe -k install", but I got failed results (please find the
> attachment).
>
> Am I wrong here somehwere?
>
> thanks for the reply,
> Satyajit
>
>
> On Wed, Jan 8, 2014 at 7:43 PM, Mike Rumph  wrote:
>>
>> Hello Satyajit,
>>
>> Did you try following the instructions for running Apache httpd as a
>> service on Windows at the following link?
>>
>> - http://httpd.apache.org/docs/2.2/platform/windows.html#winsvc
>>
>> Thanks,
>>
>> Mike Rumph
>>
>>
>>
>> On 1/8/2014 12:31 AM, Satyajit Patnaik wrote:
>>>
>>> Hi team,
>>>
>>> I have a requirement where I need to install apache web server 2.2 in
>>> particular, I have the setup and my machine runs on Windows 7 OS. After
>>> following the installation process, I found that there is no apache service
>>> in services.msc.
>>>
>>> And also the apache monitor in the task bar shows "No services installed"
>>> message displayed. I need the service. I am not able to find what the
>>> problem is.
>>>
>>> Kindly help me to avoid this and have the apache service started.
>>>
>>>
>>> Regards,
>>> Satyajit
>>
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>> For additional commands, e-mail: users-h...@httpd.apache.org
>>
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org



-- 
Eric Covener
cove...@gmail.com

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Apache web server 2.2 installation problem on Windows 7

2014-01-09 Thread Satyajit Patnaik
I figured it out so. I did it too. I installed the httpd.exe from cmd.exe.
 The service did get installed successfully. But still some problems have
been coming up and the apache engine would not start. Please see the log
from my command prompt as follows:

C:\Program Files\Apache Software Foundation\Apache2.2\bin>httpd.exe -k
install -
n "Apache2" -f "C:\Users\sa269817\httpd-win7.conf"
Installing the Apache2 service
The Apache2 service is successfully installed.
Testing httpd.conf
Errors reported here must be corrected before the service can be started.
httpd.exe: Syntax error on line 67 of C:/Users/sa269817/httpd-win7.conf:
Cannot
load C:/Program Files/Apache Software
Foundation/Apache2.2/conf/default/modules/
mod_actions.so into server: The specified module could not be found.


On Thu, Jan 9, 2014 at 5:16 PM, Eric Covener  wrote:

> From the message it seems like you need to install, or create your
> services, as an administrator.
>
> On Thu, Jan 9, 2014 at 3:54 AM, Satyajit Patnaik
>  wrote:
> > Hi Mike,
> >
> > I actually could not get you. I have a MSI file which I installed and in
> the
> > end, the apache monitor displayed that "no services installed". But still
> > then using command prompt, I went to the bin location and used the
> command
> > "httpd.exe -k install", but I got failed results (please find the
> > attachment).
> >
> > Am I wrong here somehwere?
> >
> > thanks for the reply,
> > Satyajit
> >
> >
> > On Wed, Jan 8, 2014 at 7:43 PM, Mike Rumph 
> wrote:
> >>
> >> Hello Satyajit,
> >>
> >> Did you try following the instructions for running Apache httpd as a
> >> service on Windows at the following link?
> >>
> >> - http://httpd.apache.org/docs/2.2/platform/windows.html#winsvc
> >>
> >> Thanks,
> >>
> >> Mike Rumph
> >>
> >>
> >>
> >> On 1/8/2014 12:31 AM, Satyajit Patnaik wrote:
> >>>
> >>> Hi team,
> >>>
> >>> I have a requirement where I need to install apache web server 2.2 in
> >>> particular, I have the setup and my machine runs on Windows 7 OS. After
> >>> following the installation process, I found that there is no apache
> service
> >>> in services.msc.
> >>>
> >>> And also the apache monitor in the task bar shows "No services
> installed"
> >>> message displayed. I need the service. I am not able to find what the
> >>> problem is.
> >>>
> >>> Kindly help me to avoid this and have the apache service started.
> >>>
> >>>
> >>> Regards,
> >>> Satyajit
> >>
> >>
> >>
> >> -
> >> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> >> For additional commands, e-mail: users-h...@httpd.apache.org
> >>
> >
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> > For additional commands, e-mail: users-h...@httpd.apache.org
>
>
>
> --
> Eric Covener
> cove...@gmail.com
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


[users@httpd] Cannot authentication locally when LDAP is unavailable

2014-01-09 Thread Rob Yamry
Hello-
  Im having a problem where local authentication will not work when when
the configured LDAP server is unavailble.  When the ldap server is online I
can authenticate fine against ldap and local file.  However, when the ldap
server is offline, I cannot authenticate with the user1 account.

Id appreciate any help you could provide.  Ive searched a lot on this and
found many examples, all very similar to my config below, but I still
cannot failback authentication to local file when ldap is unavailable.  Im
running Apache/2.2.10

AuthName "Server Access"
AuthType Basic
# Check ldap auth first, then file auth
AuthBasicProvider file ldap
AuthUserFile /etc/apache2/htpasswd
AuthzLDAPAuthoritative off
AuthLDAPURL ldap://
ldap.domain.com:389/OU=Users,DC=domain,DC=com?sAMAccountName
AuthLDAPBindDN "domain\ldap_user"
AuthLDAPBindPassword password
AuthLDAPGroupAttributeIsDN off

Require user user1
Require ldap-attribute memberOf=CN=groupName,DC=domain,DC=com


Re: [users@httpd] Cannot authentication locally when LDAP is unavailable

2014-01-09 Thread Eric Covener
On Thu, Jan 9, 2014 at 12:28 PM, Rob Yamry  wrote:
> Hello-
>   Im having a problem where local authentication will not work when when the
> configured LDAP server is unavailble.  When the ldap server is online I can
> authenticate fine against ldap and local file.  However, when the ldap
> server is offline, I cannot authenticate with the user1 account.
>
> Id appreciate any help you could provide.  Ive searched a lot on this and
> found many examples, all very similar to my config below, but I still cannot
> failback authentication to local file when ldap is unavailable.  Im running
> Apache/2.2.10
>
> AuthName "Server Access"
> AuthType Basic
> # Check ldap auth first, then file auth
> AuthBasicProvider file ldap
> AuthUserFile /etc/apache2/htpasswd
> AuthzLDAPAuthoritative off
> AuthLDAPURL
> ldap://ldap.domain.com:389/OU=Users,DC=domain,DC=com?sAMAccountName
> AuthLDAPBindDN "domain\ldap_user"
> AuthLDAPBindPassword password
> AuthLDAPGroupAttributeIsDN off
>

logs?

really 2.2.10 or w/ patches?

> Require user user1
> Require ldap-attribute memberOf=CN=groupName,DC=domain,DC=com
>

is it authentication or authorization that fails?

-- 
Eric Covener
cove...@gmail.com

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Cannot authentication locally when LDAP is unavailable

2014-01-09 Thread Rob Yamry
error.log states:

[Thu Jan 09 10:22:36 2014] [warn] [client 10.9.2.49] [18090] auth_ldap
authenticate: user user1 authentication failed; URI /index.php [User not
found][No such object]

At this point the ldap server was offline.  Of course, that user only
resides locally in the AuthUserFile.


---
Rob Yamry  |  Network Engineer  |  Kimberly Area School District  |  Phone:
920.788.7900  x 4158  |  Direct: 920.423.4158  |  rya...@kimberly.k12.wi.us


On Thu, Jan 9, 2014 at 11:33 AM, Eric Covener  wrote:

> On Thu, Jan 9, 2014 at 12:28 PM, Rob Yamry 
> wrote:
> > Hello-
> >   Im having a problem where local authentication will not work when when
> the
> > configured LDAP server is unavailble.  When the ldap server is online I
> can
> > authenticate fine against ldap and local file.  However, when the ldap
> > server is offline, I cannot authenticate with the user1 account.
> >
> > Id appreciate any help you could provide.  Ive searched a lot on this and
> > found many examples, all very similar to my config below, but I still
> cannot
> > failback authentication to local file when ldap is unavailable.  Im
> running
> > Apache/2.2.10
> >
> > AuthName "Server Access"
> > AuthType Basic
> > # Check ldap auth first, then file auth
> > AuthBasicProvider file ldap
> > AuthUserFile /etc/apache2/htpasswd
> > AuthzLDAPAuthoritative off
> > AuthLDAPURL
> > ldap://ldap.domain.com:389/OU=Users,DC=domain,DC=com?sAMAccountName
> > AuthLDAPBindDN "domain\ldap_user"
> > AuthLDAPBindPassword password
> > AuthLDAPGroupAttributeIsDN off
> >
>
> logs?
>
> really 2.2.10 or w/ patches?
>
> > Require user user1
> > Require ldap-attribute memberOf=CN=groupName,DC=domain,DC=com
> >
>
> is it authentication or authorization that fails?
>
> --
> Eric Covener
> cove...@gmail.com
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


Re: [users@httpd] Cannot authentication locally when LDAP is unavailable

2014-01-09 Thread Rob Yamry
I retract that log entry.  The time stamp seemed off after I sent it and I
retested it.  Nothing gets logged in the access_log or error_log.  Yes its
2.2.10.  Authentication is the problem.


---
Rob Yamry  |  Network Engineer  |  Kimberly Area School District  |  Phone:
920.788.7900  x 4158  |  Direct: 920.423.4158  |  rya...@kimberly.k12.wi.us


On Thu, Jan 9, 2014 at 11:52 AM, Rob Yamry wrote:

> error.log states:
>
> [Thu Jan 09 10:22:36 2014] [warn] [client 10.9.2.49] [18090] auth_ldap
> authenticate: user user1 authentication failed; URI /index.php [User not
> found][No such object]
>
> At this point the ldap server was offline.  Of course, that user only
> resides locally in the AuthUserFile.
>
>
> ---
> Rob Yamry  |  Network Engineer  |  Kimberly Area School District  |
>  Phone: 920.788.7900  x 4158  |  Direct: 920.423.4158  |
> rya...@kimberly.k12.wi.us
>
>
> On Thu, Jan 9, 2014 at 11:33 AM, Eric Covener  wrote:
>
>> On Thu, Jan 9, 2014 at 12:28 PM, Rob Yamry 
>> wrote:
>> > Hello-
>> >   Im having a problem where local authentication will not work when
>> when the
>> > configured LDAP server is unavailble.  When the ldap server is online I
>> can
>> > authenticate fine against ldap and local file.  However, when the ldap
>> > server is offline, I cannot authenticate with the user1 account.
>> >
>> > Id appreciate any help you could provide.  Ive searched a lot on this
>> and
>> > found many examples, all very similar to my config below, but I still
>> cannot
>> > failback authentication to local file when ldap is unavailable.  Im
>> running
>> > Apache/2.2.10
>> >
>> > AuthName "Server Access"
>> > AuthType Basic
>> > # Check ldap auth first, then file auth
>> > AuthBasicProvider file ldap
>> > AuthUserFile /etc/apache2/htpasswd
>> > AuthzLDAPAuthoritative off
>> > AuthLDAPURL
>> > ldap://ldap.domain.com:389/OU=Users,DC=domain,DC=com?sAMAccountName
>> > AuthLDAPBindDN "domain\ldap_user"
>> > AuthLDAPBindPassword password
>> > AuthLDAPGroupAttributeIsDN off
>> >
>>
>> logs?
>>
>> really 2.2.10 or w/ patches?
>>
>> > Require user user1
>> > Require ldap-attribute memberOf=CN=groupName,DC=domain,DC=com
>> >
>>
>> is it authentication or authorization that fails?
>>
>> --
>> Eric Covener
>> cove...@gmail.com
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>> For additional commands, e-mail: users-h...@httpd.apache.org
>>
>>
>


[users@httpd] off topic - searching C++ list

2014-01-09 Thread georg chambert
Hi,

Im looking for a good forum for C++ issues (cant find library std with my gcc 
dist)

Anybody has a ref to one ?

tnx
Georg

[users@httpd] Reverse Proxy Issue on Apache version 2.0.65

2014-01-09 Thread Otis Dewitt - NOAA Affiliate
Greetings,

I am constantly getting this error below in my log file:

*[error] (20014)Error string not specified yet: proxy: pass request body
failed to 172.16.11.212:7705  (www.example.com
) from 192.168.100.34 ()*

[Thu Jan 09 15:52:47 2014] [error] (20014)Error string not specified yet:
proxy:
[Thu Jan 09 15:52:59 2014] [error] (20014)Error string not specified yet:
proxy:
[Thu Jan 09 15:52:59 2014] [error] (20014)Error string not specified yet:
proxy:
[Thu Jan 09 16:03:27 2014] [error] (20014)Error string not specified yet:
proxy:
[Thu Jan 09 16:03:27 2014] [error] (20014)Error string not specified yet:
proxy:
[Thu Jan 09 16:08:59 2014] [error] (20014)Error string not specified yet:
proxy:
[Thu Jan 09 16:08:59 2014] [error] (20014)Error string not specified yet:
proxy:

This error is causing sporadic "*Internal Server Errors*" when render pages
in Jira. I do not get any other errors.

Can someone please point out the meaning of this error as it does not make
any sense to me whatsoever. I have been trying to solve this issue for over
a year to no avail.

I decided to make 2014 the year for get rid of this error.

Any help would be highly appreciated. I have specified the directives in
use below:

# JIRA Reverse Proxy
ProxyPass /jira https://www.example.com:7705/jira
ProxyPassReverse /jira https://www.example.com:7705/jira

# JIRA (15min Timeout)
ProxyTimeout 900


Order allow,deny
Allow from all
# Avoid proxy errors
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
SetEnv proxy-initial-not-pooled 1


Thanks,
Otis


Re: [users@httpd] Proxy questions - part 2

2014-01-09 Thread Yehuda Katz
On Thu, Jan 9, 2014 at 4:47 PM, Charles W Buege wrote:

> Now when someone from the outside world goes to 'www.mycompany.com'
> (which I presume via DNS matches the IP address of Physical Server 1), I'd
> like the proxy server to pass along the request to Physical Server 2.
>

Correct. This is my basic Virtual Host template adapted to your example (I
tested it too):

 ServerAdmin ad...@example.com
 DocumentRoot "/srv/www/sites/example.com/"
ServerName example.com
 ServerAlias www.example.com
ErrorLog "logs/example.com_error.log"
 CustomLog "logs/example.com_access.log" combined

ProxyPass / http://192.168.200.20/
 ProxyPassReverse / http://192.168.200.20/

RewriteEngine On # if maintenance.html exists RewriteCond
%{DOCUMENT_ROOT}/maintenance.html -f # and the request is not for
maintenance.html RewriteCond %{REQUEST_URI} !^/maintenance\.html$ #
redirect to maintenance.html RewriteRule ^(.*)$ /maintenance.html [L]



> I'd also like it to happen where if Physical Server 4's Apache instance is
> down for maintenance (backups, year end processing, etc.), that the Proxy
> Server (Physical Server 1) can display a message saying that the site is
> down for maintenance.  I'm presuming this would be handled via the
> 'ErrorDocument 503' that you mentioned in your last e-mail, yes?
>
The 503 is best for unplanned outages since it does not show until the
attempt to connect to the backend server times out.


> I also presume that the DNS entries for www.mycompany.com,
> anothersite.mycompany.com, and thirdsite.mycompany.com would all have the
> same IP address and then the Proxy Server (Physical Server 1) would play
> 'traffic cop' and then forward the necessary traffic to the proper host
> behind the scenes.
>
Correct. And as in my example, I would put the IP addresses of the internal
servers so they don't have to do DNS lookups.


> Also if anyone wants to point me towards somewhere where I can learn more
> about this (web site, books, etc.) so I'm not cluttering up this mailing
> list with newbie questions, please feel free to point me that way.

This list is a perfectly reasonable place.

- Y


[users@httpd] incorrect rewrite

2014-01-09 Thread Dave Stevens

Hi,

I've got a problem with a url being incorrectly rewritten.

bvairpi.ca resolves as it should to a document root wordpress installation.

I used Virtualmin to install mediawiki into a subdirectory:

bvairpi.ca/wiki

This URL is being rewritten as:

http://bvairpi.ca/wiki/wiki/index.php?title=Main_Page

which quite properly doesn't resolve. If I manually take out "wiki/"  
from the incorrect url the mediawiki install behaves as it should.


I've asked on the virtualmin.com forum and it was suggested the CGI  
execution mode might make a difference, but the three options I've  
tried have not helped. I don't know where to look for other  
possibilities.


Suggestions? Will RTFM if pointed to it.

Dave


--
Advertising is the rattling of a stick inside a swill bucket - George Orwell




-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org