[EMAIL PROTECTED] 回复: Re: [EMAIL PROTECTED] ���澶� 锛� Re: [EMAIL PROTECTED] why response so slowl y if adding IP restriction

2007-10-29 Thread decker xu
thanks for your good advice.  

but there are lots of IPs within 192.168.5 which do not belong to my group, so 
I would not like to permit them to visit the web forum.




On 30/10/2007, decker xu  wrote:
> It turns to be very well when I modify the comments as following
>
> #david @ wireless
> Allow from  172.17.100.231

You might also want to consider replacing all those IP addresses with
a prefix, like:

Allow from 192.168.5

-- 
noodl

-
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]



   
-
雅虎邮箱,终生伙伴! 

Re: [EMAIL PROTECTED] 回复: Re: [EMAIL PROTECTED] why response so slowly if adding IP restriction

2007-10-29 Thread Vincent Bray
On 30/10/2007, decker xu <[EMAIL PROTECTED]> wrote:
> It turns to be very well when I modify the comments as following
>
> #david @ wireless
> Allow from  172.17.100.231

You might also want to consider replacing all those IP addresses with
a prefix, like:

Allow from 192.168.5

-- 
noodl

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] 回复: Re: [EMAIL PROTECTED] why response so slowly if adding IP restriction

2007-10-29 Thread decker xu
Thank you very much!
   
  It turns to be very well when I modify the comments as following
   
  #david @ wireless
  Allow from  172.17.100.231
   
   
   
   
  
Vincent Bray <[EMAIL PROTECTED]> 写道:
  On 30/10/2007, decker xu wrote:
> I built a forum for my group memebers in intranet, and I want to add some IP
> restriction in apache configuration files such as following :

> Allow from 172.17.100.231# david @ wireless

This line might be the problem. Apache's config file format doesn't
support comments at the end of a line.

-- 
noodl

-
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]



   
-
雅虎邮箱,终生伙伴! 

Re: [EMAIL PROTECTED] why response so slowly if adding IP restriction

2007-10-29 Thread Vincent Bray
On 30/10/2007, decker xu <[EMAIL PROTECTED]> wrote:
> I built a forum for my group memebers in intranet, and I want to add some IP
> restriction in apache configuration files such as following :

> Allow from 172.17.100.231# david @ wireless

This line might be the problem. Apache's config file format doesn't
support comments at the end of a line.

-- 
noodl

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] why response so slowly if adding IP restriction

2007-10-29 Thread decker xu
I built a forum for my group memebers in intranet, and I want to add some IP 
restriction in apache configuration files such as following :


Options FollowSymLinks
AllowOverride none
Order Deny,Allow
Deny from all
Allow from 192.168.5.175
Allow from 172.17.100.231# david @ wireless
Allow from 192.168.5.102
Allow from 192.168.5.122
Allow from 192.168.5.245
Allow from 192.168.5.103
Allow from 192.168.5.73 
Allow from 192.168.5.192
Allow from 192.168.5.172
Allow from 192.168.5.118
Allow from 192.168.5.59 
Allow from 192.168.5.77 
Allow from 192.168.5.104
Allow from 192.168.5.109
Allow from 192.168.5.125
allow from 192.168.5.101
allow from 192.168.5.103
allow from 192.168.5.88 
allow from 192.168.5.72 
allow from 192.168.5.248
allow from 192.168.5.89 
allow from 192.168.5.225
allow from 192.168.5.247
allow from 192.168.5.221
allow from 192.168.5.105
allow from 192.168.5.160
allow from 192.168.5.75 
allow from 192.168.5.96 
allow from 192.168.5.101 
allow from 192.168.5.104 
allow from 192.168.5.106 
allow from 192.168.5.154 
allow from 192.168.5.235 
Allow from 192.168.5.119 
allow from 192.168.5.171 
allow from 192.168.5.154 
allow from 192.168.5.231 



but when I update the configuration and restart apache server, it responses 
very slowly!
if I delete the restriction above, use "allow from all" instead, it turns to be 
normal

could anybody tell me how to solve this problem? is there something I did wrong?

   
-
雅虎邮箱,终生伙伴! 

Re: [EMAIL PROTECTED] ProxyPassReverse Incorrectly Handling Redirects

2007-10-29 Thread Vincent Bray
On 29/10/2007, Selvig, Andy <[EMAIL PROTECTED]> wrote:
> I agree, though, it would help to see the headers. What's the easiest
> way to examine the headers as they're being processed by Apache?

http://wiki.apache.org/httpd/WatchingHttpHeaders

-- 
noodl

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] User Registration and Identity Management in Apache

2007-10-29 Thread Kyle Parrish
Hi,

I have a website that runs a Perl application running on an old
Windows box that I want to move to a new environment.  I want to move
it to Linux/Apache and I want to add user registration and access
control.

I am looking for guidance on how to enable the following features:  1)
User self-registration with some type of authentication of the user
(email back to the registrant to which they reply), 2) Support for
thousands of users, and 3) support for multiple user names per
registered user.

Is there, for lack of a better word, an open source identity
management software out there that I can bolt on to Apache and Linux
which might provide these features?  If not, can you please help me
better understand how to accomplish the above goals?

Thank you,
Kyle

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] problem with NAT, Public IP's and SSL cert

2007-10-29 Thread Krist van Besien
On 10/27/07, Hans <[EMAIL PROTECTED]> wrote:
> Hi!
> I 've checked many websites and forums as well as books but I cannot
> find solution for my problem.
> I have one server behind NAT(pfsense firewall), until last week I was
> using one IP for all virtual hosts.
> My conf was:
> Namevirtualhost *:80
> 
> Namevirutalhost *:443
> 
>
> In last week our customer requested to put new ssl cert for him with his
> own IP. I created VIP and forwarded to ports:80 and 443.
> But I have problem with configuration.
>
> Before few words about my future conf, during next few weeks I will
> install Load Balancing enviroment with 2 identical active/active
> webservers which conf created is automatically from mysql database. Both
> machine will be behind NAT and need to use only public IP's is
> configuration for virtual hosts. I cannot use for virtualhost eg.
> 192.168.2.10,192.168.2.11(because for vhost generated will be only
> public IP 65.65.65.65).
>
> So back to my question. I wanted change confiuguration from *:80 (*:443)
> to public 65.65.65.65:80 (65.65.65.65:443). But when I tried access
> websites it always directed me to default website. I tried <127.0.0.1:80
> 65.65.65.65:80> the same effect.
> On the end I tried <192.168.2.10:80 65.65.65.65.80> (the same for 443)
> and it works correctly (I mean I can access to each vhost) except that
> my customer doesn't get his own ssl cert but shared between rest from
> default domain (I guess it takes cert from first virtual domain).
> How can I force Apache to use only public IP's (without LAN IP) behind
> NAT and it correctly find virtual hosts ?

- You can't do name virtual hosts with SSL.
- You can't configure a virtual host with an IP that the machine doesn't own.

So if your public IP is 65.65.65.65, and this is ip is allocatied to a
loadbalancer (or any other device that does NAT) than this is of no
concern to your webserver.

So if 65.65.65.65 gets loadbalanced between 192.168.2.10 and
192.168.2.11 than on both hosts you will need something like:

NameVirtualHost *:80

ServerName Myfirstcustomer.com
#rest of config here



ServerName Mysecondcustomer.com
# rest of config here



But you can't do this with SSL servers. There you will need a separate
public IP for each SSL site.

Krist

-- 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] mod_auth_mysql for apache 2.2.6 - error on restart: DBD: No driver for mysql

2007-10-29 Thread Danie Qian


- Original Message - 
From: "Norman Khine" <[EMAIL PROTECTED]>

To: 
Sent: Monday, October 29, 2007 4:42 PM
Subject: [EMAIL PROTECTED] mod_auth_mysql for apache 2.2.6 - error on restart: 
DBD: No driver for mysql




Hello,
Following an upgrade to 2.2.6 from 2.0 I find myself that I can no
longer authenticate against MySQL database.

Following some docs and forums, I have done this so far in my conf file:

#



#Database Management

#Use the MySQL driver
DBDriver mysql
#
##Connection string: database name and login credentials
DBDParams "dbname=authdbm [EMAIL PROTECTED] password=xxx"
#
##Parameters for Connection Pool Management
DBDMin  1
DBDKeep 2
DBDMax  10
DBDExptime 60
#
#Authentication Section

#
 #mod_auth configuration for authn_dbd
 AuthType Basic
 AuthName "My Server"
 AuthBasicProvider dbd

 #authz configuration
 Require valid-user

 #SQL query to verify a user
 #(note: DBD drivers recognise both stdio-like %s and native syntax)
 AuthDBDUserPWQuery "select password from users where username = %s"


#

Then when I load the protected page I get an error when I try to restart
the server.

DBD: No driver for mysql

I have emerged mod_auth_mysql-3.0.0-r2 on gentoo


What am I doing wrong?



You need to compile the driver at the bottom of this page into the apr-util 
library to use mod_dbd and various authentication modules:

http://apache.webthing.com/database/

mod_auth_mysql-3.0.0-r2 is something totally differently from what is 
described in apache documentation.



-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] server status --- reading ....

2007-10-29 Thread Marc Perkel
Running server-status and getting a lot of these. The server seems to be 
under some sort of attack. What does this mean?


*40-0* 	13851 	0/8/118 	*R* 	0.14 	11 	31 	0.0 	0.05 	2.11 	? 	? 
..reading..
*41-0* 	13967 	0/9/167 	*R* 	0.00 	11 	31 	0.0 	0.11 	119.75 	? 	? 
..reading..





[EMAIL PROTECTED] mod_auth_mysql for apache 2.2.6 - error on restart: DBD: No driver for mysql

2007-10-29 Thread Norman Khine

Hello,
Following an upgrade to 2.2.6 from 2.0 I find myself that I can no
longer authenticate against MySQL database.

Following some docs and forums, I have done this so far in my conf file:

#



#Database Management

#Use the MySQL driver
DBDriver mysql
#
##Connection string: database name and login credentials
DBDParams "dbname=authdbm [EMAIL PROTECTED] password=xxx"
#
##Parameters for Connection Pool Management
DBDMin  1
DBDKeep 2
DBDMax  10
DBDExptime 60
#
#Authentication Section

#
 #mod_auth configuration for authn_dbd
 AuthType Basic
 AuthName "My Server"
 AuthBasicProvider dbd

 #authz configuration
 Require valid-user

 #SQL query to verify a user
 #(note: DBD drivers recognise both stdio-like %s and native syntax)
 AuthDBDUserPWQuery "select password from users where username = %s"


#

Then when I load the protected page I get an error when I try to restart
the server.

DBD: No driver for mysql

I have emerged mod_auth_mysql-3.0.0-r2 on gentoo


What am I doing wrong?

Cheers

Norman

--
Norman Khine


%>>> "".join( [ {'*':'@','^':'.'}.get(c,None) or chr(97+(ord(c)-83)%26) 
for c in ",adym,*)&uzq^zqf" ] )



-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] Can we filter out messages going to error log

2007-10-29 Thread JAIN, ABHAY K, ATTSI
Sorry for re-posting it under wrong subject header previously.
 
Is there anyway, I can filter out and prevent some error messages
based on error pattern or something else. It seems security
folks run stuff everyday to sniff and it fills up error log.


[EMAIL PROTECTED] RE: Suggestion for apachectl

2007-10-29 Thread JAIN, ABHAY K, ATTSI
Is there anyway, I can filter out and prevent some error messages
based on error pattern or something else. It seems security
folks run stuff everyday to sniff and it fills up error log.


RE: [EMAIL PROTECTED] ProxyPassReverse Incorrectly Handling Redirects

2007-10-29 Thread Selvig, Andy
Isn't ProxyPassReverse a part of mod_proxy? And in niq's article about
this very topic (http://www.apachetutor.org/admin/reverseproxies), he
seems to suggest that you can do exactly what I'm speaking of (with
ProxyPassReverse in the Location tag).

I agree, though, it would help to see the headers. What's the easiest
way to examine the headers as they're being processed by Apache?



Andy Selvig
Aerodynamics/Systems Project Engineer
Goodrich Sensors and Integrated Systems
14300 Judicial Road
Burnsville, MN 55306
Phone: (952) 892-4529
Fax: (952) 892-4219

-Original Message-
From: Vincent Bray [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 29, 2007 12:52 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] ProxyPassReverse Incorrectly Handling
Redirects

Your initial question was how to get mod_proxy_html to deal with
relative urls in Location: headers, right? I still maintain that it
*probably* can't, given its author's propensity to follow the spec. In
any case, it would help to see some examples of working and otherwise
headers.

I blame niq :)

--
noodl

-
The official User-To-User support forum of the Apache HTTP Server
Project.
See 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 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] How to grant access to a directory

2007-10-29 Thread Mick Ken
Sorry for the trouble guys,
Got it resolved. Actually I was using the subversion url directly
instead of using the alias url ie Project1 defined in the tutorial in
the subversion.conf file.

I tried that and it worked.Forgive me for my  ignorance.

Thanks


On 10/29/07, Joshua Slive <[EMAIL PROTECTED]> wrote:
> On 10/29/07, Mick Ken <[EMAIL PROTECTED]> wrote:
> > Hi Friends,
> > I have a subversion running with svnserve but I would like to
> > configure Apache for it,so that I could use domain user
> > authentication.
> >
> > I tried to follow this tutorial:
> > http://svn.spears.at/
> >
> > But the apache serve is not allowing me the access to the directory.It
> > gives me this error:
> > ***
> > Object not found!
>
> What does the apache error_log say?
>
> Joshua.
>
> -
> The official User-To-User support forum of the Apache HTTP Server Project.
> See 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 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] Php not running

2007-10-29 Thread Dragon

Vishal Gaurav wrote:

Hello,
Now i am able to use this test script. 
but not

if i remove space in this line  then 
aple to see thisisphpline.

But If i donot remove the space nothing is displayed by browser,
How can i fix it.


 End original message. -

As I mentioned in my earlier reply, you have to find out what the 
error message is. By default, when an error occurs in PHP it logs the 
error in the Apache error log and does not display anything in the browser.


Until you find out what the error is nobody can help you. You either 
have to examine the server error log or reconfigure PHP to display 
erros in the browser.


Even then it seems from your description that this is a PHP internal 
problem or configuration error. If it is, you will get better support 
from a PHP forum and/or the documentation for PHP which you can 
access from http://www.php.net/


I will specifically point out that http://www.php.net/support.php is 
where you should start.


Dragon

~~~
 Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~


-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] Php not running

2007-10-29 Thread Vishal Gaurav
Yes i am useing this way to test scripts.

On 10/30/07, Ken Robinson <[EMAIL PROTECTED]> wrote:
>
> On 10/29/07, Vishal Gaurav <[EMAIL PROTECTED]> wrote:
> > Hello,
> > Now i am able to use this test script. 
> > but not
> > 
> > if i remove space in this line  then aple
> to
> > see thisisphpline.
> > But If i donot remove the space nothing is displayed by browser,
> > How can i fix it.
>
> How are you invoking your script, i.e. what are you typing in the
> browsers address box?
>
> It needs to be http://localhost/path/to/your/script.php
>
> Ken
>
> -
> The official User-To-User support forum of the Apache HTTP Server Project.
> See 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]
>
>


-- 
Vishal Gaurav


Re: [EMAIL PROTECTED] Php not running

2007-10-29 Thread Ken Robinson
On 10/29/07, Vishal Gaurav <[EMAIL PROTECTED]> wrote:
> Hello,
> Now i am able to use this test script. 
> but not
> 
> if i remove space in this line  then aple to
> see thisisphpline.
> But If i donot remove the space nothing is displayed by browser,
> How can i fix it.

How are you invoking your script, i.e. what are you typing in the
browsers address box?

It needs to be http://localhost/path/to/your/script.php

Ken

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] Php not running

2007-10-29 Thread Vishal Gaurav
Hello,
Now i am able to use this test script. 
but not

if i remove space in this line  then aple to
see thisisphpline.
But If i donot remove the space nothing is displayed by browser,
How can i fix it.

Thanks,
Vishal
[EMAIL PROTECTED]
[EMAIL PROTECTED]


On 10/29/07, Dragon <[EMAIL PROTECTED]> wrote:
>
> Vishal Gaurav wrote:
> >Hi,
> >Thanks for your suggestion. Yes i am save the file as .php . I am
> >able to get info to use this script in php file 
> >and i was also attached the phpinfo out put file in this mail.When i
> >was trying to run this script then browser gives internal server
> >error(500) in title bar.And nothing is displayed in browser. I am
> >successfully install Apache on my machine. And when i try to run
> >http://localhost/ browser displayed its works!
> message.
> >
>  End original message. -
>
> There are only two ways to troubleshoot this, either examine the
> Apache error log or enable error reporting in PHP. Enabling error
> reporting is done in PHP's configuration file. It is disabled by
> default because it is a security risk. If you choose to enable it, be
> sure to turn it off when you get the problem resolved.
>
> Unless this turns out to be an Apache specific configuration issue,
> you may find better assistance on a PHP support forum.
>
> Dragon
>
> ~~~
> Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
> ~~~
>
>
> -
> The official User-To-User support forum of the Apache HTTP Server Project.
> See 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]
>
>


-- 
Vishal Gaurav


Re: [EMAIL PROTECTED] How to grant access to a directory

2007-10-29 Thread Joshua Slive
On 10/29/07, Mick Ken <[EMAIL PROTECTED]> wrote:
> Hi Friends,
> I have a subversion running with svnserve but I would like to
> configure Apache for it,so that I could use domain user
> authentication.
>
> I tried to follow this tutorial:
> http://svn.spears.at/
>
> But the apache serve is not allowing me the access to the directory.It
> gives me this error:
> ***
> Object not found!

What does the apache error_log say?

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] Suggestion for apachectl

2007-10-29 Thread JAIN, ABHAY K, ATTSI
We have setup to gracefully shutdown/startup of Apache via init.d
on our UNIX systems. Recently we had a power outage in our lab.
It caused httpd.pid file to remain in logs directory and prevented
Apache to automatically restart upon power up.
We had to manually remove httpd.pid in each machine and start Apache.
 
I am proposing following change in start section of apachectl
to automate startup in such condition.
Please comment. How can this be incorporated in Apache.
 
case $ARGV in
start)
if [ -r /usr/apache/logs/httpd.pid ]
then
# Check if apache is running
ps -ef | grep `cat /usr/apache/logs/httpd.pid` | grep -v grep >
/dev/null 2>&1
if [ $? -ne 0 ]
then
# Probably system was not shutdown properly
rm -f /usr/apache/logs/httpd.pid
fi
fi
$HTTPD -k $ARGV
ERROR=$?
;;
 
Abhay


Re: [EMAIL PROTECTED] ProxyPassReverse Incorrectly Handling Redirects

2007-10-29 Thread Vincent Bray
Your initial question was how to get mod_proxy_html to deal with
relative urls in Location: headers, right? I still maintain that it
*probably* can't, given its author's propensity to follow the spec. In
any case, it would help to see some examples of working and otherwise
headers.

I blame niq :)

-- 
noodl

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] Re: How to grant access to a directory [CLOSED]

2007-10-29 Thread Mick Ken
Sorry for the trouble guys,
Got it resolved. Actually I was using the subversion url directly
instead of using the alias url ie Project1 defined in the tutorial in
the subversion.conf file.

I tried that and it worked.Forgive me for my  ignorance.

Thanks

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] How to grant access to a directory

2007-10-29 Thread Mick Ken
Hi Friends,
I have a subversion running with svnserve but I would like to
configure Apache for it,so that I could use domain user
authentication.

I tried to follow this tutorial:
http://svn.spears.at/

But the apache serve is not allowing me the access to the directory.It
gives me this error:
***
Object not found!

The requested URL was not found on this server. If you entered the URL
manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.
Error 404
subversion
10/29/07 12:26:43
Apache/2.2.3 (Win32) DAV/2 mod_ssl/2.2.3 OpenSSL/0.9.8c
mod_autoindex_color mod_python/3.3.1 Python/2.5 SVN/1.4.0 PHP/5.1.6
***

 I have this in my httpd.conf file as stated in the tutorial:

***

Options FollowSymLinks
AllowOverride None
Order Allow,Deny
Allow from all




#
# Possible values for the Options directive are "None", "All",
# or any combination of:
#   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important.  Please see
# http://httpd.apache.org/docs-2.0/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
#   Options FileInfo AuthConfig Limit
#
AllowOverride None

#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all


***

Can you guys help me on how to set this up. If I go with the defaults
that come with Apache,still it does not lets me access the directory.

Your help would be appreciated.
Thanks
Mick

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] routing requests to two different servers

2007-10-29 Thread Wm.A.Stafford
I would like to have Apache send incoming requests to two locations.  
Our Apache is currently configured as a reverse proxy to send requests 
to a production server.  I would like to send the same request to a test 
driver that will forward the request to one or more servers undergoing 
testing so these servers can be driven by the same load seen by the 
production server.


The test driver will reside on a completely different machine and have 
no association with the Apache that is forwarding requests so I don't 
think a simple reverse proxy configuration will handle this.


Any guidance or ideas appreciated,
-=beeky

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] ProxyPassReverse Incorrectly Handling Redirects

2007-10-29 Thread Selvig, Andy
Vincent-

Thanks for the reply. Although the example I gave was a Rails app (in
this case, running on Mongrel), I seem to get the same behavior with a
Trac app I'm hosting as well. 

Up to now I've been avoiding looking at a rails-specific solution
because I'm hosting other applications (like Trac) as well as off the
shelf rails (Instiki). It seems like doing this through Apache is more
elegant than trying to hack up every application I'm running
individually.


Andy Selvig


-Original Message-
From: Vincent Bray [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 29, 2007 11:32 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] ProxyPassReverse Incorrectly Handling
Redirects

On 29/10/2007, Selvig, Andy <[EMAIL PROTECTED]> wrote:
> The problem comes in when the application sends redirects to relative 
> pages. If the application redirects to /main/list, my browser goes to 
> this page:

That's perhaps because the Location: header of redirects must always be
a full url. If you're using restful routes in rails, try _url rather
than _path.

Better still, figure out how to tell rails that it's routed at
/wtbasement/ rather than /. I've a suspicion that it's possible but
dependant on how rails is hosted (rails/fastcgi/etc). That'd remove the
need for mod_proxy_html altogether. Perhaps you could fiddle routes.rb
to fit?

--
noodl

-
The official User-To-User support forum of the Apache HTTP Server
Project.
See 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 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] SSL key mismatch error but keys match

2007-10-29 Thread Lindsay Hausner
A client of ours just renewed his ssl certificate.  When we installed the
new cert, apache gave the old:

saero44 ~> tail /usr/local/apache/logs/error_log [Fri Oct 26 14:27:36 2007]
[error] ApacheSSLSetCertStuff failed [Fri Oct 26 14:28:11 2007] [crit]
unable to set private key [Fri Oct 26 14:28:11 2007] [crit]
error:0B080074:x509 certificate routines:X509_check_private_key:key values
mismatch [Fri Oct 26 14:28:11 2007] [error] ApacheSSLSetCertStuff failed
[Fri Oct 26 14:28:23 2007] [crit] unable to set private key [Fri Oct 26
14:28:23 2007] [crit] error:0B080074:x509 certificate
routines:X509_check_private_key:key values mismatch [Fri Oct 26 14:28:23
2007] [error] ApacheSSLSetCertStuff failed [Fri Oct 26 14:40:20 2007] [crit]
unable to set private key [Fri Oct 26 14:40:20 2007] [crit]
error:0B080074:x509 certificate routines:X509_check_private_key:key values
mismatch [Fri Oct 26 14:40:20 2007] [error] ApacheSSLSetCertStuff failed

Here are the ssl directives from httpd.conf

SSLCertificateFile /home/spectrum/ssl/secure.spectrum.aero.crt
SSLCertificateKeyFile /home/spectrum/ssl/secure.spectrum.aero.key
#SSLCertificateChainFile /home/spectrum/ssl/secure.spectrum.aero.ca-bundle
SSLCACertificateFile /home/spectrum/ssl/secure.spectrum.aero.ca-bundle

...and to make sure that the keys match...

saero44 ~> openssl rsa -noout -modulus -in
/home/spectrum/ssl/secure.spectrum.aero.key | openssl md5
bc8baf22c8619f29632dee48a4003ece
saero44 ~> openssl x509 -noout -modulus -in
/home/spectrum/ssl/secure.spectrum.aero.crt | openssl md5
bc8baf22c8619f29632dee48a4003ece
saero44 ~>

When we point the server back to the old certificates, it starts w/o errors.
I'm stumped.  Ideas, anyone?

lh..
http://www.trustix.org/




Re: [EMAIL PROTECTED] ProxyPassReverse Incorrectly Handling Redirects

2007-10-29 Thread Vincent Bray
On 29/10/2007, Selvig, Andy <[EMAIL PROTECTED]> wrote:
> The problem comes in when the application sends redirects to relative
> pages. If the application redirects to /main/list, my browser goes to
> this page:

That's perhaps because the Location: header of redirects must always
be a full url. If you're using restful routes in rails, try _url
rather than _path.

Better still, figure out how to tell rails that it's routed at
/wtbasement/ rather than /. I've a suspicion that it's possible but
dependant on how rails is hosted (rails/fastcgi/etc). That'd remove
the need for mod_proxy_html altogether. Perhaps you could fiddle
routes.rb to fit?

-- 
noodl

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] ProxyPassReverse Incorrectly Handling Redirects

2007-10-29 Thread Selvig, Andy
Hello All-

I'm using Apache as a reverse proxy for multiple applications on a
single machine. These applications are running on various ports. I am
using mod_proxy to handle requests and mod_proxy_html to rewrite links.
Here's my setup:

Windows Server 2003 (no choice...)
Apache 2.2.6
mod_proxy_html 3

Here's the common part of my http_proxy.conf configuration file (which
I'm including using Include conf/http_proxy.conf from httpd.conf):

LoadModule proxy_module modules/mod_proxy.so 
LoadModule proxy_http_module modules/mod_proxy_http.so 
LoadModule headers_modulemodules/mod_headers.so
LoadFile modules/mod_proxy_html/libxml2.dll
LoadFile modules/mod_proxy_html/zlib1.dll
LoadFile modules/mod_proxy_html/iconv.dll
LoadModule proxy_html_module modules/mod_proxy_html/mod_proxy_html.so
ProxyRequests Off 

ProxyHTMLLinks a href
ProxyHTMLLinks area href
ProxyHTMLLinks link href
ProxyHTMLLinks img src longdesc usemap
ProxyHTMLLinks object classid codebase data usemap
ProxyHTMLLinks q cite
ProxyHTMLLinks blockquote cite
ProxyHTMLLinks ins cite
ProxyHTMLLinks del cite
ProxyHTMLLinks form action
ProxyHTMLLinks input src usemap
ProxyHTMLLinks head profile
ProxyHTMLLinks base href
ProxyHTMLLinks script src for

ProxyHTMLEvents onclick ondblclick onmousedown onmouseup \
onmouseover onmousemove onmouseout onkeypress \
onkeydown onkeyup onfocus onblur onload \
onunload onsubmit onreset onselect onchange
 
 
  Order deny,allow 
  Allow from all 


ProxyHTMLExtended On


And here's the portion that defines one of the applications:

Alias /wtbasement "C:\rails\wtbasement\public"  
 
Options Indexes FollowSymLinks 
AllowOverride none 
Order allow,deny 
Allow from all 
 

ProxyPass /wtbasement/images ! 
ProxyPass /wtbasement/stylesheets ! 
ProxyPass /wtbasement/javascripts ! 
 
ProxyPass /wtbasement/ http://127.0.0.1:3004/ 
ProxyPass /wtbasement http://127.0.0.1:3004/ 
#ProxyPassReverse /wtbasement/ http://127.0.0.1:3004/ 

# reverse proxy link mapping
ProxyHTMLURLMap http://127.0.0.1:3004/ /wtbasement

ProxyPassReverse /
SetOutputFilter  proxy-html
ProxyHTMLURLMap / /wtbasement/
ProxyHTMLURLMap /wtbasement /wtbasement
RequestHeaderunset  Accept-Encoding



In this case, I'm running an app called wtbasement on port 3004. The
regular proxy functionality seems to work fine, i.e.
http://localhost/wtbasement displays the home page properly. The
mod_proxy_html portion seems to work fine as well, i.e. links inside
html documents get rewritten from  to . 

The problem comes in when the application sends redirects to relative
pages. If the application redirects to /main/list, my browser goes to
this page:

http://localhost/main/list 

when I want it to go to

http://localhost/wtbasement/main/list

I understand that this is the purpose for ProxyPassReverse, but it
doesn't seem to be happening the way I intend. I've tried calling
ProxyPassReverse inside and outside of the Location tags and it has no
effect. For reference, a similar issue was brought up in
http://marc.info/?l=apache-httpd-users&m=11635000386&w=2 but it
didn't seem that there was any solution (the one listed did not work).

The error log for the case mentioned above has the following:

[Mon Oct 29 10:42:01 2007] [error] [client 127.0.0.1] File does not
exist: C:/apache/htdocs/main, referer: http://localhost/wtbasement/main

Apprently it is trying to redirect to C:/apache/htdocs/main instead of
http://localhost/wtbasement/main. How can I make it redirect
appropriately?

Thanks in advance for your help.


Andy Selvig




-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] Php not running

2007-10-29 Thread Dragon

Vishal Gaurav wrote:

Hi,
Thanks for your suggestion. Yes i am save the file as .php . I am 
able to get info to use this script in php file  
and i was also attached the phpinfo out put file in this mail.When i 
was trying to run this script then browser gives internal server 
error(500) in title bar.And nothing is displayed in browser. I am 
successfully install Apache on my machine. And when i try to run 
http://localhost/ browser displayed its works! message.



 End original message. -

There are only two ways to troubleshoot this, either examine the 
Apache error log or enable error reporting in PHP. Enabling error 
reporting is done in PHP's configuration file. It is disabled by 
default because it is a security risk. If you choose to enable it, be 
sure to turn it off when you get the problem resolved.


Unless this turns out to be an Apache specific configuration issue, 
you may find better assistance on a PHP support forum.


Dragon

~~~
 Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~


-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] client denied by server configuration

2007-10-29 Thread Joshua Slive
On 10/29/07, Melanie Pfefer <[EMAIL PROTECTED]> wrote:
> thanks indeed.
> what's the idea behind removing
>
> Order deny,allow
> Deny from all

The more appropriate question is: what's the idea of putting it there
in the first place? Those lines explicitly deny access from all client
(unless otherwise overridden). Obviously that's not what you want.

> Also, while starting the apache server, I have this
> warning:
>
> [warn] Useless use of AllowOverride in line 483
>
> Should I simply remove also
>
> AllowOverride None

Yes. AllowOverride can't be used inside  since it applies to
file-system directories, not urls.

It appears you just copied a bunch of stuff from  to your
 section. That is not a good thing to do in general. Check
the docs on the meaning of each of the directives.

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] Php not running

2007-10-29 Thread Vishal Gaurav
Hi,
Thanks for your suggestion. Yes i am save the file as .php . I am able to
get info to use this script in php file  and i was also
attached the phpinfo out put file in this mail.When i was trying to run this
script then browser gives internal server error(500) in title
bar.Andnothing is displayed in browser. I am successfully install
Apache on my
machine. And when i try to run http://localhost/ browser displayed its
works! message.


Thanks,
Vishal
[EMAIL PROTECTED]
[EMAIL PROTECTED]



On 10/29/07, Luis Moreira <[EMAIL PROTECTED]> wrote:
>
>  This syntax works fine.
>
>
>
> When you say you are "not able" what do you mean?
>
> What is the output?
>
> Have you checked your APACHE log files?
>
>
>
> Are you sure you saved the file as .PHP ?
>
>
>
>
>
> *Luis Moreira*
> *Analista*
> *E. S. Informática*
> *Gestão de Sistemas, Qualidade e Produção**
> **Comunicação de Dados e Segurança**
> *Rua Fraternidade Operária 5
> 2799-501 Carnaxide
> Tel: +351 21 416 82 88
> Fax: +351 21 416 80 92
> Email : [EMAIL PROTECTED]
> URL: http://www.esi.pt
>
>
>  --
>
> *From:* Vishal Gaurav [mailto:[EMAIL PROTECTED]
> *Sent:* segunda-feira, 29 de Outubro de 2007 13:08
> *To:* users@httpd.apache.org
> *Subject:* Re: [EMAIL PROTECTED] Php not running
>
>
>
> Hi,
>
> Yes i am save that file as a .php extension.And i am able to view result
> of 
>
>
>
> Thanks,
>
> Vishal
>
> [EMAIL PROTECTED]
>
> [EMAIL PROTECTED]
>
>
>
> On 10/29/07, *Lester Caine* <[EMAIL PROTECTED]> wrote:
>
> Vishal Gaurav wrote:
> > Hello,
> > I am able to view local host http://localhost/ and able to view php
> > installtion details by use this command on php file
> >  .
>
> > But i am not able to use any other php script on my local machine. for
> like
> > 
> > 
> > PHP Test
> > 
> > 
> > This is an HTML line
> > 
> >  > echo "This is a PHP line";
> > phpinfo();
> > ?>
> > 
>
> Are you saving that as a script.php file?
> script.html will not get processed as php
>
> --
> Lester Caine - G8HFL
> -
> Contact - http://home.lsces.co.uk/lsces/wiki/?page=contact
> L.S.Caine Electronic Services - http://home.lsces.co.uk
> MEDW - http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/
> Firebird - http://www.firebirdsql.org/index.php
>
> -
> The official User-To-User support forum of the Apache HTTP Server Project.
> See 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]
>
>
>
>
> --
> Vishal Gaurav
>



-- 
Vishal Gaurav


Re: [EMAIL PROTECTED] client denied by server configuration

2007-10-29 Thread Melanie Pfefer
thanks indeed.
what's the idea behind removing 

Order deny,allow
Deny from all


Also, while starting the apache server, I have this
warning:

[warn] Useless use of AllowOverride in line 483

Should I simply remove also 

AllowOverride None

?

thanks bunches.
--- Joshua Slive <[EMAIL PROTECTED]> wrote:

> On 10/29/07, Melanie Pfefer
> <[EMAIL PROTECTED]> wrote:
> > hi,
> >
> > When I access: http://web1/svn/ERT/fgh/165,
> the
> > web page gives The website declined to show this
> > webpage
> >
> > http logs:
> > client denied by server configuration
> 
> > 
> > DAV svn
> > SVNParentPath /vanisher/apps/svn
> > Options FollowSymLinks
> > AllowOverride None
> > Order deny,allow
> > Deny from all
> 
> Remove the above two lines.
> 
> Joshua.
> 
>
-
> The official User-To-User support forum of the
> Apache HTTP Server Project.
> See 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]
> 
> 



  ___ 
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good  
http://uk.promotions.yahoo.com/forgood/environment.html

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] client denied by server configuration

2007-10-29 Thread Joshua Slive
On 10/29/07, Melanie Pfefer <[EMAIL PROTECTED]> wrote:
> hi,
>
> When I access: http://web1/svn/ERT/fgh/165, the
> web page gives The website declined to show this
> webpage
>
> http logs:
> client denied by server configuration

> 
> DAV svn
> SVNParentPath /vanisher/apps/svn
> Options FollowSymLinks
> AllowOverride None
> Order deny,allow
> Deny from all

Remove the above two lines.

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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 2.2.6 mod_proxy EAServer

2007-10-29 Thread Blasdel, Jerry
-Original Message-
From: Nick Kew [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 29, 2007 09:13 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Apache 2.2.6 mod_proxy EAServer

On Mon, 29 Oct 2007 08:49:48 -0500
"Blasdel, Jerry" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I have upgraded from Apache 2.2.2 to Apache 2.2.6.  I have Apache in
> front of our Application Server (EAServer) and I use mod_proxy to pass
> all requests from Apache on through to EAServer.

What protocol is that  Do you have proxy_balancer?  Are you running
a cache on the proxy?

We are not running a cache on the proxy and unless the balancer is
enabled by default we are not running it.  Here are the proxy entries in
our conf file.

ProxyPass /SomeURL/ http://localhost:8080/SomeURL/
ProxyPassReverse /SomeURL/ http://localhost:8080/SomeURL/
ProxyPassReverseCookieDomain localhost [machine_ip]

> After I upgraded
> from 2.2.2 to 2.2.6 I now get errors when I try to pass on certain
> requests to EAServer.  This is only happening on a Win32 version of
> Apache/EAServer.

Do you mean you've run it on AN Other platform and it's different?

In addition to the Windows platform (Apache and EAServer) we also have
Solaris version (Apache and EAServer).  The problem does not exist on
this platform.  Meaning, I can delete a precompiled jsp in EAServer,
make the request for the resource and EAServer will compile the jsp and
then send back the response successfully.

> Is anyone aware of changes that were made to mod_proxy that might
> cause this to happen?

There are quite a lot of proxy changes: see the CHANGES file.
It might be useful to pinpoint an exact version.

I just pulled down the httpd-2.2.6-win32-src-r2.zip from the main httpd
page.  


-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

-
The official User-To-User support forum of the Apache HTTP Server
Project.
See 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 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 2.2.6 mod_proxy EAServer

2007-10-29 Thread Nick Kew
On Mon, 29 Oct 2007 08:49:48 -0500
"Blasdel, Jerry" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I have upgraded from Apache 2.2.2 to Apache 2.2.6.  I have Apache in
> front of our Application Server (EAServer) and I use mod_proxy to pass
> all requests from Apache on through to EAServer.

What protocol is that  Do you have proxy_balancer?  Are you running
a cache on the proxy?

> After I upgraded
> from 2.2.2 to 2.2.6 I now get errors when I try to pass on certain
> requests to EAServer.  This is only happening on a Win32 version of
> Apache/EAServer.

Do you mean you've run it on AN Other platform and it's different?

> Is anyone aware of changes that were made to mod_proxy that might
> cause this to happen?

There are quite a lot of proxy changes: see the CHANGES file.
It might be useful to pinpoint an exact version.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] client denied by server configuration

2007-10-29 Thread Melanie Pfefer
hi,

When I access: http://web1/svn/ERT/fgh/165, the
web page gives The website declined to show this
webpage

http logs:
client denied by server configuration


in httpd.conf:



Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
AuthBasicProvider ldap
AuthLDAPUrl
ldap://slapidou/ou=users,dc=uk,dc=siroe,dc=com?sAMAccount
Name?sub?

Require valid-user

AuthType Basic
AuthName "internal users"
AuthLDAPBindDN "uk-siroe-com\testuser"
AuthLDAPBindPassword "testuser"
AuthZLDAPAuthoritative off 






….




DAV svn
SVNParentPath /vanisher/apps/svn
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
AuthBasicProvider ldap
AuthLDAPUrl
ldap://slapidou/ou=users,dc=uk,dc=siroe,dc=com?sAMAccount
Name?sub?

Require valid-user

AuthType Basic
AuthName "internal users"
AuthLDAPBindDN "uk-siroe-com\testuser"
AuthLDAPBindPassword "testuser"
AuthZLDAPAuthoritative off
SetOutputFilter DEFLATE
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
SetEnvIfNoCase Request_URI \
\.(?:gif|jpe?g|png)$ no-gzip dont-vary
Header append Vary User-Agent env=!dont-vary



any hints please?

thanks



  ___ 
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good  
http://uk.promotions.yahoo.com/forgood/environment.html

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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 2.2.6 mod_proxy EAServer

2007-10-29 Thread Blasdel, Jerry
Hi,

I have upgraded from Apache 2.2.2 to Apache 2.2.6.  I have Apache in
front of our Application Server (EAServer) and I use mod_proxy to pass
all requests from Apache on through to EAServer.  After I upgraded from
2.2.2 to 2.2.6 I now get errors when I try to pass on certain requests
to EAServer.  This is only happening on a Win32 version of
Apache/EAServer.

The specific error is that when I make a request from Apache to EAServer
for a jsp that is not already precompiled, Apache immediately gets back
a 502 error.  When I make a second request for the resource after it has
been compiled on the EAServer end it comes back successful.

Since I did not upgrade EAServer, I'm thinking that it must be something
different in either how Apache is passing the request, or how long it is
waiting for EAServer to respond. 

Is anyone aware of changes that were made to mod_proxy that might cause
this to happen?

Thanks,

Jerry


RE: [EMAIL PROTECTED] Php not running

2007-10-29 Thread Luis Moreira
This syntax works fine.

 

When you say you are “not able” what do you mean?

What is the output?

Have you checked your APACHE log files?

 

Are you sure you saved the file as .PHP ?

 

 

Luis Moreira 
Analista 
E. S. Informática 
Gestão de Sistemas, Qualidade e Produção
Comunicação de Dados e Segurança
Rua Fraternidade Operária 5 
2799-501 Carnaxide 
Tel: +351 21 416 82 88 
Fax: +351 21 416 80 92 
Email :   [EMAIL PROTECTED] 
URL:   http://www.esi.pt 

 

  _  

From: Vishal Gaurav [mailto:[EMAIL PROTECTED] 
Sent: segunda-feira, 29 de Outubro de 2007 13:08
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Php not running

 

Hi,

Yes i am save that file as a .php extension.And i am able to view result of


 

Thanks,

Vishal

[EMAIL PROTECTED]

[EMAIL PROTECTED]

 

On 10/29/07, Lester Caine <[EMAIL PROTECTED]> wrote: 

Vishal Gaurav wrote:
> Hello,
> I am able to view local host http://localhost/ and able to view php
> installtion details by use this command on php file
>  .

> But i am not able to use any other php script on my local machine. for
like
>  
> 
> PHP Test
> 
> 
> This is an HTML line
> 
>  echo "This is a PHP line"; 
> phpinfo();
> ?>
> 

Are you saving that as a script.php file?
script.html will not get processed as php

--
Lester Caine - G8HFL
- 
Contact - http://home.lsces.co.uk/lsces/wiki/?page=contact
L.S.Caine Electronic Services - http://home.lsces.co.uk 
MEDW - http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/
Firebird - http://www.firebirdsql.org/index.php 

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html>
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]




-- 
Vishal Gaurav 



Re: [EMAIL PROTECTED] start apache if the process dies unexpectedly

2007-10-29 Thread Joshua Slive
On 10/29/07, Melanie Pfefer <[EMAIL PROTECTED]> wrote:
> hi
>
> I have a cron job that kills all processes owned by a
> user. apache is among these processes.
>
> Can apache be configured to restart if the process
> dies??

It is. That is why there is a parent process that supervises the
children and launches new ones if they die. But you are obviously
killing the supervisor process. You could have a supervisor for the
supervisor, but it would also wind up getting killed. So I think you
need to fix your cron job.

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] authenticate only on WRITE operations

2007-10-29 Thread Joshua Slive
On 10/29/07, Melanie Pfefer <[EMAIL PROTECTED]> wrote:
> hi
>
> Whenever users want to access web server, a username
> and password is required. apache query ldap server.
>
> Is it possible to ask for authentification only on
> WRITE operation? While users who want to read pages
> need not an authentication...


Require valid-user


Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] Php not running

2007-10-29 Thread Vishal Gaurav
Hi,
Yes i am save that file as a .php extension.And i am able to view result of


Thanks,
Vishal
[EMAIL PROTECTED]
[EMAIL PROTECTED]


On 10/29/07, Lester Caine <[EMAIL PROTECTED]> wrote:
>
> Vishal Gaurav wrote:
> > Hello,
> > I am able to view local host http://localhost/ and able to view php
> > installtion details by use this command on php file
> >  .
>
> > But i am not able to use any other php script on my local machine. for
> like
> > 
> > 
> > PHP Test
> > 
> > 
> > This is an HTML line
> > 
> >  > echo "This is a PHP line";
> > phpinfo();
> > ?>
> > 
>
> Are you saving that as a script.php file?
> script.html will not get processed as php
>
> --
> Lester Caine - G8HFL
> -
> Contact - http://home.lsces.co.uk/lsces/wiki/?page=contact
> L.S.Caine Electronic Services - http://home.lsces.co.uk
> MEDW - http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/
> Firebird - http://www.firebirdsql.org/index.php
>
> -
> The official User-To-User support forum of the Apache HTTP Server Project.
> See 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]
>
>


-- 
Vishal Gaurav


[EMAIL PROTECTED] Proxy authentication bypassed when serving cached content?

2007-10-29 Thread Laurent Tu
Hi,


When using user authentication along with cache, I saw that user
authentication was not asked again when the content was served from the
cache.
I am using authentication inside a proxy directive:

  AuthType Basic
  ...


When the content is not cached yet, Proxy-Authenticate  is sent by the proxy
server. When the content is already cached, it provides the result even
without the client providing Proxy-Authorization header.
For example, this happens with a website like http://www.perdu.com


After going through mod_cache doc, mod_proxy doc or rfc 2616, I've found
nothing about it. Can anyone please tell me if I'm understanding something
the wrong way?



Thanks
Laurent


[EMAIL PROTECTED] migration from tomcat 4.1 to 5.5

2007-10-29 Thread itay sahar
 hi,

i have an application running on tomcat 4.1.
i want to make a huge addings to this application but first i want to work
on tomcat 5.5 version.
is there a way i can do it ? (i know it's not easy).

my project lib include the following jar files:  (works fine on tomcat
4.1)

aopalliance.jar
cglib-2.0-rc2.jar
commons-beanutils.jar
commons-collections-2.1.jar
commons-dbcp-1.1.jar
commons-digester.jar
commons-logging.jar
dom4j-1.4.jar
hibernate2.jar
jsf-api.jar
jsf-impl.jar
jstl.jar (i don't see any use in the application but the jar exist
anyway)
jta.jar
log4j.jar
mysql-connector-java-3.0.9-stable-bin.jar
odmg-3.0.jar
servlet.jar  (probably Servlet 2.3).
spring.jar
struts.jar


i'v tried to remove sevlet.jar and use servlet-api.jar (tomcat 5.5 version
-- Servlet 2.4) but i cannot use:javax.servlet.jsp.tagext.TagSupport
and also javax.servlet.jsp.JspException is not available.

thanks in advance,
itay


Re: [EMAIL PROTECTED] Php not running

2007-10-29 Thread Lester Caine

Vishal Gaurav wrote:

Hello,
I am able to view local host http://localhost/ and able to view php 
installtion details by use this command on php file

 .



But i am not able to use any other php script on my local machine. for like


PHP Test


This is an HTML line





Are you saving that as a script.php file?
script.html will not get processed as php

--
Lester Caine - G8HFL
-
Contact - http://home.lsces.co.uk/lsces/wiki/?page=contact
L.S.Caine Electronic Services - http://home.lsces.co.uk
MEDW - http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/
Firebird - http://www.firebirdsql.org/index.php

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] Re: setting idle-timeout in FastCgiExternalServer

2007-10-29 Thread rahed
rahed <[EMAIL PROTECTED]> writes:

> FastCgiExternalServer myfilename -host 127.0.0.1:15000 -idle-timeout 300
> -appConnTimeout 60
>

Answering to myself: The idle-timeout option should go to FastCgiConfig
directive.

-- 
Radek


-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] start apache if the process dies unexpectedly

2007-10-29 Thread Melanie Pfefer
hi

I have a cron job that kills all processes owned by a
user. apache is among these processes.

Can apache be configured to restart if the process
dies??
thanks


  ___
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/ 

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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]