RE: [EMAIL PROTECTED] mod_ssl revisited

2007-07-12 Thread Boyle Owen
> -Original Message-
> From: Jeff Fulmer [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 11, 2007 7:23 PM
> To: users@httpd.apache.org
> Subject: [EMAIL PROTECTED] mod_ssl revisited
> 
> Now I'm back to the original problem. I turned off name 
> resolution and I
> restarted apache. The virtual host for www.myserver.com:443 works as
> expected. However, this error continues to repeat itself in the logs:
> 
> [Wed Jul 11 13:14:39 2007] [info] Connection to child 22 established
> (server www.myserver.com:443, client 127.0.0.1)
> [Wed Jul 11 13:14:39 2007] [info] Seeding PRNG with 0 bytes of entropy
> [Wed Jul 11 13:14:39 2007] [debug] ssl_engine_kernel.c(1769): OpenSSL:
> Handshake: start
> [Wed Jul 11 13:14:39 2007] [debug] ssl_engine_kernel.c(1777): OpenSSL:
> Loop: before/accept initialization
> [Wed Jul 11 13:14:39 2007] [debug] ssl_engine_io.c(1523): OpenSSL: I/O
> error, 11 bytes expected to read on BIO#4046c990 [mem: 4048d2b0]
> [Wed Jul 11 13:14:39 2007] [debug] ssl_engine_kernel.c(1806): OpenSSL:
> Exit: error in SSLv2/v3 read client hello A
> [Wed Jul 11 13:14:39 2007] [info] (70014)End of file found: 
> SSL handshake
> interrupted by system [Hint: Stop button pressed in browser?!]
> [Wed Jul 11 13:14:39 2007] [info] Connection to child 22 closed with
> abortive shutdown(server www.myserver.com:443, client 127.0.0.1)

Look at the client IP --^

It's the loop-back address so the requests are coming from some process
on the server. What's in the corresponding access log (maybe nothing if
the session dies before SSL channel is open)?

Try snoop, top, and other system tools to see what is making the
requests...

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

> 
> This occurs without *any* connections to the server. The 
> error continues
> about 30 to 40 times at short regular intervals. After that 
> it appears at
> irregular intervals while the server is running and under load. This
> occurs without *any* HTTPS requests to www.myserver.com:443.
> 
> Any thoughts?
> 
> Jeff
> 
> 
> -
> 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]
>
 
 
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 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] proxypass and flash movie

2007-07-12 Thread Fabio Marcone
Hi!
I've a strange problem with apache 1.3 (debian woody). This is a server
in a production environment, so I can't update it.

configuration: apache with mod proxy, I redirect some url in a http
server situated in dmz.

this is the strange behaviour:
site in dmx http server contains some flash movies (swf) and if I use
firefox to visit this site I see these movies correctly, but if I use IE
I can't see them (timeout).

Why? any ideas?

Is there an apache parameter to solve it?

I think is not a firewall problem because I set firewall in open state
but none changed.

Thanks in advance,
Fabio

-- 

Dott. Fabio Marcone

2T srl
Telefono+39 - 0871- 540154
Fax +39 - 0871- 571594
Email   fabio.marcone(AT)duet.it
Indirizzo   Viale B. Croce 573
66013 Chieti Scalo (CH)
GNU/Linux registered user   #400424

-
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] proxypass and flash movie

2007-07-12 Thread Boyle Owen
> -Original Message-
> From: Fabio Marcone [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, July 12, 2007 12:01 PM
> To: users@httpd.apache.org
> Subject: [EMAIL PROTECTED] proxypass and flash movie
> 
> Hi!
> I've a strange problem with apache 1.3 (debian woody). This 
> is a server
> in a production environment, so I can't update it.
> 
> configuration: apache with mod proxy, I redirect some url in a http
> server situated in dmz.
> 
> this is the strange behaviour:
> site in dmx http server contains some flash movies (swf) and if I use
> firefox to visit this site I see these movies correctly,

So it's unlikely to be the server...

Are the movies streamed or downloaded over HTTP. If streamed, is the
streaming port open in the FW?

> but 
> if I use IE
> I can't see them (timeout).

What do the requests look like in the access log? Is there anything in
the error log? Does IE have the right plug-in? Do FF and IE use the same
player?

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.  
> 
> Why? any ideas?
> 
> Is there an apache parameter to solve it?
> 
> I think is not a firewall problem because I set firewall in open state
> but none changed.
> 
> Thanks in advance,
> Fabio
> 
> -- 
> 
> Dott. Fabio Marcone
> 
> 2T srl
> Telefono  +39 - 0871- 540154
> Fax   +39 - 0871- 571594
> Email fabio.marcone(AT)duet.it
> Indirizzo Viale B. Croce 573
> 66013 Chieti Scalo (CH)
> GNU/Linux registered user #400424
> 
> -
> 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]
>
 
 
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 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] proxypass and flash movie

2007-07-12 Thread Fabio Marcone
thanks for your reply.


> 
> So it's unlikely to be the server...
> 
> Are the movies streamed or downloaded over HTTP. If streamed, is the
> streaming port open in the FW?

I think that are downloaded. However, I think it isn't a firewall
problem because of firefox shows the movies correctly...
> 
> What do the requests look like in the access log? Is there anything in
> the error log? Does IE have the right plug-in? Do FF and IE use the same
> player?

this is a entry log about a swf file:
[12/Jul/2007:14:56:14 +0200] "GET
/applications/ThalesIS/chart/charts.swf?library_path=charts_library&xml_source=ChartUtenteProgetti.php
HTTP/1.1" 200 29034 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)"

best regards,
Fabio


-- 

Dott. Fabio Marcone

2T srl
Telefono+39 - 0871- 540154
Fax +39 - 0871- 571594
Email   fabio.marcone(AT)duet.it
Indirizzo   Viale B. Croce 573
66013 Chieti Scalo (CH)
GNU/Linux registered user   #400424

-
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] Maintaing the URL when Rewriting

2007-07-12 Thread Naveen Sharma

Hi,

I have a URL of this form
http://dev.home.en/hawaii-hotels
I want to redirect it to
http://dev.home.en/action?city=hawaii

without actually modifying the
URL which is(http://dev.home.en/hawaii-hotels).

Please let me know if this can be done using Apache hhpd.conf without
modifying the initial URL.

Thanks in advance,
Navin Sharma


[EMAIL PROTECTED] Maintaing the URL when Rewriting

2007-07-12 Thread Naveen Sharma

Hi,

I have a URL of this form
http://dev.home.en/hawaii-hotels
I want to redirect it to
http://dev.home.en/action?city=hawaii

without actually modifying the
URL which is(http://dev.home.en/hawaii-hotels).

Please let me know if this can be done using Apache hhpd.conf without
modifying the initial URL.

Thanks in advance,
Navin Sharma


[EMAIL PROTECTED] Maintaing the URL when Rewriting

2007-07-12 Thread Naveen Sharma

Hi,

I have a URL of this form
http://dev.home.en/hawaii-hotels
I want to redirect it to
http://dev.home.en/action?city=hawaii

without actually modifying the
URL which is(http://dev.home.en/hawaii-hotels).

Please let me know if this can be done using Apache hhpd.conf without
modifying the initial URL.

Thanks in advance,
Navin Sharma


Re: [EMAIL PROTECTED] Maintaing the URL when Rewriting

2007-07-12 Thread Martijn

I have a URL of this form
http://dev.home.en/hawaii-hotels
I want to redirect it to
http://dev.home.en/action?city=hawaii

without actually modifying the
URL which is(http://dev.home.en/hawaii-hotels).

Please let me know if this can be done using Apache hhpd.conf without
modifying the initial URL.


RewriteEngine on
RewriteRule /(.*)-hotels$ /action?city=$1

Should work (though I didn't test it).

See also, depending on your Apache version:
http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
or
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html

Martijn

-
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] Maintaing the URL when Rewriting

2007-07-12 Thread Naveen Sharma

I have tried this but this is changing the URL.The initial URL gets
modified.



On 7/12/07, Martijn <[EMAIL PROTECTED]> wrote:


> I have a URL of this form
> http://dev.home.en/hawaii-hotels
> I want to redirect it to
> http://dev.home.en/action?city=hawaii
>
> without actually modifying the
> URL which is(http://dev.home.en/hawaii-hotels).
>
> Please let me know if this can be done using Apache hhpd.conf without
> modifying the initial URL.

RewriteEngine on
RewriteRule /(.*)-hotels$ /action?city=$1

Should work (though I didn't test it).

See also, depending on your Apache version:
http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
or
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html

Martijn

-
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] Maintaing the URL when Rewriting

2007-07-12 Thread Scott Wilcox
I think you need to be a little more specific in your request. Do you
mean that you want the internally processed URL to remain the same, or
the URL that the end user is seeing?

If its the latter, then Martijn's example does that fine.

Scott.

Naveen Sharma wrote:
> I have tried this but this is changing the URL.The initial URL gets
> modified.
>
>
>  
> On 7/12/07, *Martijn* <[EMAIL PROTECTED]
> > wrote:
>
> > I have a URL of this form
> > http://dev.home.en/hawaii-hotels 
> > I want to redirect it to
> > http://dev.home.en/action?city=hawaii
> >
> > without actually modifying the
> > URL which is( http://dev.home.en/hawaii-hotels).
> >
> > Please let me know if this can be done using Apache hhpd.conf
> without
> > modifying the initial URL.
>
> RewriteEngine on
> RewriteRule /(.*)-hotels$ /action?city=$1
>
> Should work (though I didn't test it).
>
> See also, depending on your Apache version:
> http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
> 
> or
> http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
>
> Martijn
>
> -
> 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] Maintaing the URL when Rewriting

2007-07-12 Thread Naveen Sharma

Hi Scott,


I want the URL to be visible as
http://dev.home.en/hawaii-hotels but internally it should use
http://dev.home.en/action?city=hawaii.

I have used this
RewriteEngine On
RewriteRule ^/([a-zA-Z]*)(-)(hotels)/ http://%{HTTP_HOST}/action?city=$1

This changes the URl to
http://dev.expedia.jp/action.do?city=hawaii

Please suggest as to how this URL can be preserve while internally hiting an
action.

Thanks,
Navin


On 7/12/07, Scott Wilcox <[EMAIL PROTECTED]> wrote:


I think you need to be a little more specific in your request. Do you
mean that you want the internally processed URL to remain the same, or
the URL that the end user is seeing?

If its the latter, then Martijn's example does that fine.

Scott.

Naveen Sharma wrote:
> I have tried this but this is changing the URL.The initial URL gets
> modified.
>
>
>
> On 7/12/07, *Martijn* <[EMAIL PROTECTED]
> > wrote:
>
> > I have a URL of this form
> > http://dev.home.en/hawaii-hotels 
> > I want to redirect it to
> > http://dev.home.en/action?city=hawaii
> >
> > without actually modifying the
> > URL which is( http://dev.home.en/hawaii-hotels).
> >
> > Please let me know if this can be done using Apache hhpd.conf
> without
> > modifying the initial URL.
>
> RewriteEngine on
> RewriteRule /(.*)-hotels$ /action?city=$1
>
> Should work (though I didn't test it).
>
> See also, depending on your Apache version:
> http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
> 
> or
> http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
>
> Martijn
>
>
-
> 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] Maintaing the URL when Rewriting

2007-07-12 Thread Mark Watts

> Hi Scott,
>
>
> I want the URL to be visible as
> http://dev.home.en/hawaii-hotels but internally it should use
> http://dev.home.en/action?city=hawaii.
>
> I have used this
> RewriteEngine On
>  RewriteRule ^/([a-zA-Z]*)(-)(hotels)/ http://%{HTTP_HOST}/action?city=$1

Rewriting to an external host (which is what an http:// URL is) forces an 
implicit redirect.

The originally suggested RewriteRule did not use http://%{HTTP_HOST} for this 
reason.

Mark.

-- 
Mark Watts BSc RHCE MBCS
Senior Systems Engineer
QinetiQ Trusted Information Management
Trusted Solutions and Services Group
GPG Key: http://keyserver.veridis.com:11371/search?q=0x455420ED


pgpuomO4oB8aq.pgp
Description: PGP signature


Re: [EMAIL PROTECTED] Maintaing the URL when Rewriting

2007-07-12 Thread Jeff Fulmer
This works for me:

RewriteRule ^(.*)-hotels$ /action.php?city=$1

http://lisa.joedog.org/pennsylvania-hotels


(Note: I changed action to action.php in order to test...)

Jeff



> I have tried this but this is changing the URL.The initial URL gets
> modified.
>
>
>
> On 7/12/07, Martijn <[EMAIL PROTECTED]> wrote:
>>
>> > I have a URL of this form
>> > http://dev.home.en/hawaii-hotels
>> > I want to redirect it to
>> > http://dev.home.en/action?city=hawaii
>> >
>> > without actually modifying the
>> > URL which is(http://dev.home.en/hawaii-hotels).
>> >
>> > Please let me know if this can be done using Apache hhpd.conf without
>> > modifying the initial URL.
>>
>> RewriteEngine on
>> RewriteRule /(.*)-hotels$ /action?city=$1
>>
>> Should work (though I didn't test it).
>>
>> See also, depending on your Apache version:
>> http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
>> or
>> http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
>>
>> Martijn
>>
>> -
>> 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] Maintaing the URL when Rewriting

2007-07-12 Thread Martijn

On 7/12/07, Naveen Sharma <[EMAIL PROTECTED]> wrote:

I want the URL to be visible as
http://dev.home.en/hawaii-hotels but internally it should
use
http://dev.home.en/action?city=hawaii.

I have used this
RewriteEngine On
 RewriteRule ^/([a-zA-Z]*)(-)(hotels)/
http://%{HTTP_HOST}/action?city=$1

This changes the URl to
http://dev.expedia.jp/action.do?city=hawaii

Please suggest as to how this URL can be preserve while internally hiting an
action.


Leave the http and hostname out of the RewriteRule:

RewriteRule ^/([a-zA-Z]*)(-)(hotels)/ /action?city=$1

Martijn.

-
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] POST Method on Redirect (mod_rewrite)

2007-07-12 Thread SOPRO

Hi all,

I have the following scenario in my httpd.conf file:


   ServerName myapp.domain.com
   RewriteEngine On
   RewriteCond  %{HTTPS} !=on
   RewriteRule ^/(.*) https://secure.domain.com/myapp/$1 [L,R,NC]


My clients must submit a form (POST method) to "myapp.domain.com",
but when redirect occurs apache losts the submited values.

Is it right ? Is there any workaround ?

Thanks,

Fabricio.

-
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] Maintaing the URL when Rewriting

2007-07-12 Thread Naveen Sharma

In this case the URL is getting preserved but action is not getting called
and I am getting 404 Error page.

Please advice

Navin


On 7/12/07, Jeff Fulmer <[EMAIL PROTECTED]> wrote:


This works for me:

RewriteRule ^(.*)-hotels$ /action.php?city=$1

http://lisa.joedog.org/pennsylvania-hotels


(Note: I changed action to action.php in order to test...)

Jeff



> I have tried this but this is changing the URL.The initial URL gets
> modified.
>
>
>
> On 7/12/07, Martijn <[EMAIL PROTECTED]> wrote:
>>
>> > I have a URL of this form
>> > http://dev.home.en/hawaii-hotels
>> > I want to redirect it to
>> > http://dev.home.en/action?city=hawaii
>> >
>> > without actually modifying the
>> > URL which is(http://dev.home.en/hawaii-hotels).
>> >
>> > Please let me know if this can be done using Apache hhpd.conf without
>> > modifying the initial URL.
>>
>> RewriteEngine on
>> RewriteRule /(.*)-hotels$ /action?city=$1
>>
>> Should work (though I didn't test it).
>>
>> See also, depending on your Apache version:
>> http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
>> or
>> http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
>>
>> Martijn
>>
>> -
>> 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] Maintaing the URL when Rewriting

2007-07-12 Thread Robert T Wyatt
What does the server say about the error? In other words, what is the
final URL that is (not) being served?

Naveen Sharma wrote:
> In this case the URL is getting preserved but action is not getting
> called and I am getting 404 Error page.
>  
> Please advice
>  
> Navin
> 
>  
> On 7/12/07, *Jeff Fulmer* <[EMAIL PROTECTED] > 
> wrote:
> 
> This works for me:
> 
> RewriteRule ^(.*)-hotels$ /action.php?city=$1
> 
> http://lisa.joedog.org/pennsylvania-hotels
> 
> 
> (Note: I changed action to action.php in order to test...)
> 
> Jeff
> 
> 
> 
> > I have tried this but this is changing the URL.The initial URL gets
> > modified.
> >
> >
> >
> > On 7/12/07, Martijn <[EMAIL PROTECTED]
> > wrote:
> >>
> >> > I have a URL of this form
> >> > http://dev.home.en/hawaii-hotels
> >> > I want to redirect it to
> >> > http://dev.home.en/action?city=hawaii
> 
> >> >
> >> > without actually modifying the
> >> > URL which is(http://dev.home.en/hawaii-hotels).
> >> >
> >> > Please let me know if this can be done using Apache hhpd.conf
> without
> >> > modifying the initial URL.
> >>
> >> RewriteEngine on
> >> RewriteRule /(.*)-hotels$ /action?city=$1
> >>
> >> Should work (though I didn't test it).
> >>
> >> See also, depending on your Apache version:
> >> http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
> >> or
> >> http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
> >>
> >> Martijn

-
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] Maintaing the URL when Rewriting

2007-07-12 Thread Jeff Fulmer
Do you *have* a /action page? What's in the error_log?


> In this case the URL is getting preserved but action is not getting called
> and I am getting 404 Error page.
>
> Please advice
>
> Navin
>
>
> On 7/12/07, Jeff Fulmer <[EMAIL PROTECTED]> wrote:
>>
>> This works for me:
>>
>> RewriteRule ^(.*)-hotels$ /action.php?city=$1
>>
>> http://lisa.joedog.org/pennsylvania-hotels
>>
>>
>> (Note: I changed action to action.php in order to test...)
>>
>> Jeff
>>
>>
>>
>> > I have tried this but this is changing the URL.The initial URL gets
>> > modified.
>> >
>> >
>> >
>> > On 7/12/07, Martijn <[EMAIL PROTECTED]> wrote:
>> >>
>> >> > I have a URL of this form
>> >> > http://dev.home.en/hawaii-hotels
>> >> > I want to redirect it to
>> >> > http://dev.home.en/action?city=hawaii
>> >> >
>> >> > without actually modifying the
>> >> > URL which is(http://dev.home.en/hawaii-hotels).
>> >> >
>> >> > Please let me know if this can be done using Apache hhpd.conf
>> without
>> >> > modifying the initial URL.
>> >>
>> >> RewriteEngine on
>> >> RewriteRule /(.*)-hotels$ /action?city=$1
>> >>
>> >> Should work (though I didn't test it).
>> >>
>> >> See also, depending on your Apache version:
>> >> http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
>> >> or
>> >> http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
>> >>
>> >> Martijn
>> >>
>> >> -
>> >> 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]
>>
>>
>



-
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] POST Method on Redirect (mod_rewrite)

2007-07-12 Thread Nick Kew
On Thu, 12 Jul 2007 11:29:57 -0300
SOPRO <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
>  I have the following scenario in my httpd.conf file:
> 
> 
> ServerName myapp.domain.com
> RewriteEngine On
> RewriteCond  %{HTTPS} !=on
> RewriteRule ^/(.*) https://secure.domain.com/myapp/$1 [L,R,NC]
> 
> 
>  My clients must submit a form (POST method) to "myapp.domain.com",
> but when redirect occurs apache losts the submited values.

That is particularly pointless.  The data have already been
POSTed over the wire unencrypted for all to see, and now you're
asking the client to re-post them encrypted.  What actually happens
is up to the browser, and how the user reacts to the security
messages.  If the data should be secure, you need to use the https
address in the first place.

It's also over-complex to use three lines of mod_rewrite where a
single Redirect would do the same job for less effort.

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

2007-07-12 Thread Icy Blind
HelloI'm trying to figure out if my simple mod_cache setup is
working. I compiled the mod_cache modules (mod_cache, mod_disk_cache
and mod_mem_cache) and put together a simple configuration. The server
starts up without a murmur, but I'm not sure that the caching is
actually taking place.
In my first test, I disabled the mem_cache by commenting it
out in the configuration, and wrapping its directives with an IfModule,
like so:  CacheIgnoreCacheControl On
  CacheDefaultExpire 120  CacheEnable mem http://192.168.1.100:80/test   
MCacheSize 32768   MCacheMaxObjectCount 100  MCacheMinObjectSize 1   
MCacheMaxObjectSize 1048576
My mod_disk_cache setup looks like this:  
CacheIgnoreCacheControl On  CacheDefaultExpire 300  CacheRoot 
/apprel/tmp/htcache
  CacheEnable disk http://192.168.1.100:80/test I only make one of 
the above modules available (LoadModule) at a time, along with mod_cache 
itself.The
/apprel/tmp/htcache directory is available to the apache user. In the
htdocs/test directory I have a simple html page. When I make a browser
request to that directory, the page is loaded. I immediately make a
change to the page, and reload it in the browser. The new page loads,
despite the fact that the 2 minutes are far from up.
I get the same result when I switch to mod_mem_cache.I
can't seem to find anything wrong with my config (I tried some bogus
cach directives, and the server wouldn't start, so I know that the
mod_cache pieces are there).
I don't see anything in the logs to let me believe that something is amiss.Any 
help would be much appreciated.thanksWayne
_
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE

Re: [EMAIL PROTECTED] Maintaing the URL when Rewriting

2007-07-12 Thread Naveen Sharma

This URL is not hitting the action to which the forward is done.
Its the initaial URL which gets hit from the Appserver.
The issue here is that the action is not being called with the Rewrite
Module.
Aas a result of which I am getting 404 error message.
The rewrite is not happening at the Apache end.
Navin


On 7/12/07, Robert T Wyatt <[EMAIL PROTECTED]> wrote:


What does the server say about the error? In other words, what is the
final URL that is (not) being served?

Naveen Sharma wrote:
> In this case the URL is getting preserved but action is not getting
> called and I am getting 404 Error page.
>
> Please advice
>
> Navin
>
>
> On 7/12/07, *Jeff Fulmer* <[EMAIL PROTECTED] >
wrote:
>
> This works for me:
>
> RewriteRule ^(.*)-hotels$ /action.php?city=$1
>
> http://lisa.joedog.org/pennsylvania-hotels
>
>
> (Note: I changed action to action.php in order to test...)
>
> Jeff
>
>
>
> > I have tried this but this is changing the URL.The initial URL
gets
> > modified.
> >
> >
> >
> > On 7/12/07, Martijn <[EMAIL PROTECTED]
> > wrote:
> >>
> >> > I have a URL of this form
> >> > http://dev.home.en/hawaii-hotels
> >> > I want to redirect it to
> >> > http://dev.home.en/action?city=hawaii
> 
> >> >
> >> > without actually modifying the
> >> > URL which is(http://dev.home.en/hawaii-hotels).
> >> >
> >> > Please let me know if this can be done using Apache hhpd.conf
> without
> >> > modifying the initial URL.
> >>
> >> RewriteEngine on
> >> RewriteRule /(.*)-hotels$ /action?city=$1
> >>
> >> Should work (though I didn't test it).
> >>
> >> See also, depending on your Apache version:
> >> http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
> >> or
> >> http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
> >>
> >> Martijn

-
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] POST Method on Redirect (mod_rewrite)

2007-07-12 Thread SOPRO

Nick,

I understood your comment about encrypted/unencrypted data.
About that three lines of mod_rewrite, I use them to provide
round-robin for my two web servers.

 I want to know if this lost of POST data is the expected apache's
behavior when redirecting.

Regards,

Fabricio.

2007/7/12, Nick Kew <[EMAIL PROTECTED]>:

On Thu, 12 Jul 2007 11:29:57 -0300
SOPRO <[EMAIL PROTECTED]> wrote:

> Hi all,
>
>  I have the following scenario in my httpd.conf file:
>
> 
> ServerName myapp.domain.com
> RewriteEngine On
> RewriteCond  %{HTTPS} !=on
> RewriteRule ^/(.*) https://secure.domain.com/myapp/$1 [L,R,NC]
> 
>
>  My clients must submit a form (POST method) to "myapp.domain.com",
> but when redirect occurs apache losts the submited values.

That is particularly pointless.  The data have already been
POSTed over the wire unencrypted for all to see, and now you're
asking the client to re-post them encrypted.  What actually happens
is up to the browser, and how the user reacts to the security
messages.  If the data should be secure, you need to use the https
address in the first place.

It's also over-complex to use three lines of mod_rewrite where a
single Redirect would do the same job for less effort.

--
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] Secure LDAP Auth to Active Directory

2007-07-12 Thread Aaron Smith
Well, I tried added that but it didn't seem to help.  It's acting like
it can't find the shared libraries for OpenLDAP.  I have the directory
in SHLIB_PATH and I a -L/usr/local/OpenLDAP.2.3/lib in the line before
the error, so I'm not sure how else to direct it to the appropriate
libraries.


Aaron Smith[EMAIL PROTECTED]
System Administrator   (269) 337-7496
Kalamazoo College
 
I have been having my own problems with related modules. It will 
probably help your case
to use OpenLDAP for its libraries; there's a config option to only build

client libs and binaries.
Add the --with-ldap-sdk=openldap might be missing.

Brian


-
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] Maintaing the URL when Rewriting

2007-07-12 Thread Martijn

On 7/12/07, Naveen Sharma <[EMAIL PROTECTED]> wrote:

This URL is not hitting the action to which the forward is done.
Its the initaial URL which gets hit from the Appserver.
The issue here is that the action is not being called with the Rewrite
Module.
Aas a result of which I am getting 404 error message.
The rewrite is not happening at the Apache end.
Navin


If I were you, I would create a simple html file test.html and
(temporarily) change the RewriteRule to

 RewriteRule ^(.*)-hotels$ test.html

This way you can see whether the problem is in the action script/page,
or in mod_rewrite. If the problem is in mod_rewrite (i.e. if you don't
see test.html), it's best to turn the RewriteLog on. This might give
you an idea about what's going wrong.

Martijn.

-
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] POST Method on Redirect (mod_rewrite)

2007-07-12 Thread Boyle Owen
> -Original Message-
> From: SOPRO [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, July 12, 2007 5:53 PM
> To: users@httpd.apache.org
> Subject: Re: [EMAIL PROTECTED] POST Method on Redirect (mod_rewrite)
> 
> Nick,
> 
>  I understood your comment about encrypted/unencrypted data.
>  About that three lines of mod_rewrite, I use them to provide
> round-robin for my two web servers.
> 
>   I want to know if this lost of POST data is the expected apache's
> behavior when redirecting.

It is expected of HTTP, not just apache... A redirect is an instruction
to the client to go to a new URL so obviously the POST data is "lost".

To explain, the client (ie, browser) attaches the POST data to the
original URL because that is what the HTML code in the form tells it to
do. When it submits that form (ie, sends the request to the server with
POST data attached), the browser is finished with that page so it
forgets about it. Then it gets an instruction to go to a new URL (the
redirect). So it simply requests this new URL (which could be on a
different server). How is it supposed to know that it has anything to do
with the original form?

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

> 
>  Regards,
> 
>  Fabricio.
> 
> 2007/7/12, Nick Kew <[EMAIL PROTECTED]>:
> > On Thu, 12 Jul 2007 11:29:57 -0300
> > SOPRO <[EMAIL PROTECTED]> wrote:
> >
> > > Hi all,
> > >
> > >  I have the following scenario in my httpd.conf file:
> > >
> > > 
> > > ServerName myapp.domain.com
> > > RewriteEngine On
> > > RewriteCond  %{HTTPS} !=on
> > > RewriteRule ^/(.*) https://secure.domain.com/myapp/$1 [L,R,NC]
> > > 
> > >
> > >  My clients must submit a form (POST method) to 
> "myapp.domain.com",
> > > but when redirect occurs apache losts the submited values.
> >
> > That is particularly pointless.  The data have already been
> > POSTed over the wire unencrypted for all to see, and now you're
> > asking the client to re-post them encrypted.  What actually happens
> > is up to the browser, and how the user reacts to the security
> > messages.  If the data should be secure, you need to use the https
> > address in the first place.
> >
> > It's also over-complex to use three lines of mod_rewrite where a
> > single Redirect would do the same job for less effort.
> >
> > --
> > 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]
>
 
 
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 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] Maintaing the URL when Rewriting

2007-07-12 Thread Jeff Fulmer
What does the error_log say? Post the 404 error.


> This URL is not hitting the action to which the forward is done.
> Its the initaial URL which gets hit from the Appserver.
> The issue here is that the action is not being called with the Rewrite
> Module.
> Aas a result of which I am getting 404 error message.
> The rewrite is not happening at the Apache end.
> Navin
>
>
> On 7/12/07, Robert T Wyatt <[EMAIL PROTECTED]> wrote:
>>
>> What does the server say about the error? In other words, what is the
>> final URL that is (not) being served?
>>
>> Naveen Sharma wrote:
>> > In this case the URL is getting preserved but action is not getting
>> > called and I am getting 404 Error page.
>> >
>> > Please advice
>> >
>> > Navin
>> >
>> >
>> > On 7/12/07, *Jeff Fulmer* <[EMAIL PROTECTED] >
>> wrote:
>> >
>> > This works for me:
>> >
>> > RewriteRule ^(.*)-hotels$ /action.php?city=$1
>> >
>> > http://lisa.joedog.org/pennsylvania-hotels
>> >
>> >
>> > (Note: I changed action to action.php in order to test...)
>> >
>> > Jeff
>> >
>> >
>> >
>> > > I have tried this but this is changing the URL.The initial URL
>> gets
>> > > modified.
>> > >
>> > >
>> > >
>> > > On 7/12/07, Martijn <[EMAIL PROTECTED]
>> > > wrote:
>> > >>
>> > >> > I have a URL of this form
>> > >> > http://dev.home.en/hawaii-hotels
>> > >> > I want to redirect it to
>> > >> > http://dev.home.en/action?city=hawaii
>> > 
>> > >> >
>> > >> > without actually modifying the
>> > >> > URL which is(http://dev.home.en/hawaii-hotels).
>> > >> >
>> > >> > Please let me know if this can be done using Apache hhpd.conf
>> > without
>> > >> > modifying the initial URL.
>> > >>
>> > >> RewriteEngine on
>> > >> RewriteRule /(.*)-hotels$ /action?city=$1
>> > >>
>> > >> Should work (though I didn't test it).
>> > >>
>> > >> See also, depending on your Apache version:
>> > >> http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
>> > >> or
>> > >> http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
>> > >>
>> > >> Martijn
>>
>> -
>> 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] http rewrite help

2007-07-12 Thread Charles Li
Hi,
I am using the following rewrite rule to redirect a
alias to a specific application:

RewriteCond %{HTTP_HOST} ^.*survey.*$ [NC]
RewriteRule ^/$ http://survey.store.com.us/Survey/$1
[R]


server name is company.store.com
alias is survey.store.com

When users click on the survey url, they are directed
to the appliation, but the host and domain return to
the actual server name (company.store.com)

ie:
click on http://survey.store.com.us
and user is directed to
http://company.store.com.us/Survey/

We want users to see the alias, not the actual server
name.  How do we do this?

we want http://survey.store.com.us/Survey/

Thanks.




 

Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097

-
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] POST Method on Redirect (mod_rewrite) [SOLVED]

2007-07-12 Thread SOPRO

Owen,

Understood. I'll have to change our load-balance method.

Thanks so much.

Fabricio.

2007/7/12, Boyle Owen <[EMAIL PROTECTED]>:

> -Original Message-
> From: SOPRO [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 12, 2007 5:53 PM
> To: users@httpd.apache.org
> Subject: Re: [EMAIL PROTECTED] POST Method on Redirect (mod_rewrite)
>
> Nick,
>
>  I understood your comment about encrypted/unencrypted data.
>  About that three lines of mod_rewrite, I use them to provide
> round-robin for my two web servers.
>
>   I want to know if this lost of POST data is the expected apache's
> behavior when redirecting.

It is expected of HTTP, not just apache... A redirect is an instruction
to the client to go to a new URL so obviously the POST data is "lost".

To explain, the client (ie, browser) attaches the POST data to the
original URL because that is what the HTML code in the form tells it to
do. When it submits that form (ie, sends the request to the server with
POST data attached), the browser is finished with that page so it
forgets about it. Then it gets an instruction to go to a new URL (the
redirect). So it simply requests this new URL (which could be on a
different server). How is it supposed to know that it has anything to do
with the original form?

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

>
>  Regards,
>
>  Fabricio.
>
> 2007/7/12, Nick Kew <[EMAIL PROTECTED]>:
> > On Thu, 12 Jul 2007 11:29:57 -0300
> > SOPRO <[EMAIL PROTECTED]> wrote:
> >
> > > Hi all,
> > >
> > >  I have the following scenario in my httpd.conf file:
> > >
> > > 
> > > ServerName myapp.domain.com
> > > RewriteEngine On
> > > RewriteCond  %{HTTPS} !=on
> > > RewriteRule ^/(.*) https://secure.domain.com/myapp/$1 [L,R,NC]
> > > 
> > >
> > >  My clients must submit a form (POST method) to
> "myapp.domain.com",
> > > but when redirect occurs apache losts the submited values.
> >
> > That is particularly pointless.  The data have already been
> > POSTed over the wire unencrypted for all to see, and now you're
> > asking the client to re-post them encrypted.  What actually happens
> > is up to the browser, and how the user reacts to the security
> > messages.  If the data should be secure, you need to use the https
> > address in the first place.
> >
> > It's also over-complex to use three lines of mod_rewrite where a
> > single Redirect would do the same job for less effort.
> >
> > --
> > 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]
>


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 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] apache2 reverse proxy cgi problem

2007-07-12 Thread Jeff Murch
More info on my reverse proxy cgi problem:

Here is a line of what I presume is the error log entry on the main server
for the cgi error I am getting:

[Thu Jul 12 11:57:21 2007] [error] [client 192.168.2.2] client denied by
server 
configuration: /apache$root/cgi-bin/cgi_main

So something is telling me that the server configuration is set to deny the
client (the apache reverse proxy?) access to the cgi-bin?

The httpd.conf does have this entry:


AllowOverride None
Options None
Order deny,allow
Deny from all
Allow from 10.2.1.0/24


However this app runs from any client (browser) just fine. Is it possible
that I need to write the proxy heard to appear to be coming from the 10
network for this to work? The error log does indicate that the reverse proxy
is a 192 address.


Also basic first question I should ask: Am I correct in thinking that the
proxy is transparent to cgi apps running on the main server, cgi does not
have to be running on the reverse proxy to make this work.

Regards, Jeff




-Original Message-
From: Tony Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 11, 2007 4:08 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] apache2 reverse proxy cgi problem



Jeff Murch wrote:
> I am almost to the point of having my apache2 reverse proxy complete.  I
am
> having trouble now when the reverse proxy forwards a user from the login
> page to the cgi-bin on the main server.  I get an error that is generated
> from the main server:
> 
> Forbidden
> You don't have permission to access /cgi-bin/cgi_main on this server.

Jeff what is in your error log on the back-end/main server?


...


--
Tony

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



-- 
No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.476 / Virus Database: 269.10.2/894 - Release Date: 7/10/2007
5:44 PM



-
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] proxypass and flash movie

2007-07-12 Thread Tomer Okavi

Hey guys

there's a bug with some ie 7 update and flash plug-in which breaks down
flash display.
it happened with a couple of our desktop's, maybe that's what's going on
..

google a bit and you will find a lot of thread's and posts about that
problem

BTW , reinstalling the operating system (XP) fixed it :)
guess it's much easier to reformat then to fix MS  ;-)

Tomer.

On 7/12/07, Fabio Marcone <[EMAIL PROTECTED]> wrote:


thanks for your reply.


>
> So it's unlikely to be the server...
>
> Are the movies streamed or downloaded over HTTP. If streamed, is the
> streaming port open in the FW?

I think that are downloaded. However, I think it isn't a firewall
problem because of firefox shows the movies correctly...
>
> What do the requests look like in the access log? Is there anything in
> the error log? Does IE have the right plug-in? Do FF and IE use the same
> player?

this is a entry log about a swf file:
[12/Jul/2007:14:56:14 +0200] "GET

/applications/ThalesIS/chart/charts.swf?library_path=charts_library&xml_source=
ChartUtenteProgetti.php
HTTP/1.1" 200 29034 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)"

best regards,
Fabio


--

Dott. Fabio Marcone

2T srl
Telefono+39 - 0871- 540154
Fax +39 - 0871- 571594
Email   fabio.marcone(AT)duet.it
Indirizzo   Viale B. Croce 573
66013 Chieti Scalo (CH)
GNU/Linux registered user   #400424

-
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] Secure LDAP Auth to Active Directory

2007-07-12 Thread Brian Foddy

My full config for hpux b11.11 (httpd 2.2.4) is
./configure --prefix=/tmp/apache --enable-so --enable-modules=all 
--disable-auth-digest --with-ldap-lib=/opt/openldap/lib 
--with-ldap-include=/opt/openldap/include --with-ldap-sdk=openldap 
--with-ldap --enable-authnz-ldap --enable-mods-shared=all --enable-so


linking to openldap 2.3.32.  I believe it was all build with gcc 3.4.3.

I just wish I could get mm_mod_auth_ldap to build correctly, as I need the
nested group membership of Active Directory; that I don't believe the 
standard Apache LDAP
module supports.  I'm "usually" pretty good at building open source on 
UNIX/Linux,
but that combo has me totally stumped and can't find anyone more versed 
to help.


Good luck,
Brian


Aaron Smith wrote:


Well, I tried added that but it didn't seem to help.  It's acting like
it can't find the shared libraries for OpenLDAP.  I have the directory
in SHLIB_PATH and I a -L/usr/local/OpenLDAP.2.3/lib in the line before
the error, so I'm not sure how else to direct it to the appropriate
libraries.


Aaron Smith[EMAIL PROTECTED]
System Administrator   (269) 337-7496
Kalamazoo College

I have been having my own problems with related modules. It will 
probably help your case

to use OpenLDAP for its libraries; there's a config option to only build

client libs and binaries.
Add the --with-ldap-sdk=openldap might be missing.

Brian


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


 



-
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] Secure LDAP Auth to Active Directory

2007-07-12 Thread Eric Covener

On 7/12/07, Aaron Smith <[EMAIL PROTECTED]> wrote:

Well, I tried added that but it didn't seem to help.  It's acting like
it can't find the shared libraries for OpenLDAP.  I have the directory
in SHLIB_PATH and I a -L/usr/local/OpenLDAP.2.3/lib in the line before
the error, so I'm not sure how else to direct it to the appropriate
libraries.


AFAICT Your error message isn't actually failing to find real LDAP
symbols, it's failing to find the apache-provided LDAP utility
functions provided by mod_ldap (as opposed to mod_auth_ldap)

Perhaps you've somehow managed to build a static mod_auth_ldap and DSO
mod_auth_ldap or something along those lines?  (I'm only familiar with
LDAP on 2.2.x)


--
Eric Covener
[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] mod_spnego / apache 2.2.4

2007-07-12 Thread KMiller

Greetings,

Is it possible to build mod_spnego.so for apache 2.2.4 running on XP?
Or, do I have to downgrade to 2.0 or sime such?

Advice appreciated

-km

-- 
View this message in context: 
http://www.nabble.com/mod_spnego---apache-2.2.4-tf4071049.html#a11569460
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.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]



[EMAIL PROTECTED] Forbidden...

2007-07-12 Thread Yaakov Chaikin

Hi,

I have the following config file which came with apcupsd. I am a
newbie at configuring Apache, so please tell me why
"http:///apcupsd/"; produces "Forbidden". It seems from the config
below that the cgi script should be executed instead.

#
# apcupsd configuration file for Apache Web server
#

# files are off the documentroot of Web server
ScriptAlias /apcupsd/ "/var/www/apcupsd/"

#
# Allow only local access at default
# Change the ".example.com" to match your domain or modify
# access rights to your needs to enable remote access also.
#

   DirectoryIndex multimon.cgi upsstats.cgi
   AllowOverride None
   Options ExecCGI Indexes
   Order deny,allow
   Deny from all
   Allow from 127.0.0.1
   Allow from ::1
   # Allow from .example.com



Thanks,
Yaakov.

-
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] Hardware Based Apache Cluster - help!

2007-07-12 Thread Matt M.

Hi,

I've got a small cluster (5) of Apache servers. I've got lots of questions
about this but I'll just start with one for now! :)

It's a hardware balancer.

I'm wondering if I can sym link each Apache "conf" directory to the shared
NFS mount:

node1: /shared-nfs
node1: /etc/httpd/conf -> /shared-nfs/etc/httpd/conf

node2: /shared-nfs
node2: /etc/httpd/conf -> /shared-nfs/etc/httpd/conf

It would allow me to have one set of config files for easier maintenance.
I've tried sharing the conf/httpd.conf file and it seems to work fine. I was
curious about the ServerName though, should it be the server name of the
balancer, or the actual name of the node?
Thank you,
Matt


Re: [EMAIL PROTECTED] Forbidden...

2007-07-12 Thread Yaakov Chaikin

Yes, it IS configured to work only with localhost. However, that
wasn't my question. I wanted to know why I am getting the right
response when I do:
http://localhost/apcupsd/multimon.cgi
and getting "Forbidden" when I do:
http://localhost/apcupsd/


On 7/12/07, Hamilton Vera <[EMAIL PROTECTED]> wrote:

With this conf, it will only work for localhost requests


Order deny,allow
Deny from all
Allow from 127.0.0.1
Allow from ::1 (by the way I never saw this before)


Please correct if I am wrong

Maybe you can get more tips looking in the error_log.


[]´s

Hamilton Vera
int Administrator (char Network[],char ComputationalSystems[]);
http://antispam.br/
"Google is my shepherd, no want shall I know"

On Thu, 12 Jul 2007, Yaakov Chaikin wrote:

> Hi,
>
> I have the following config file which came with apcupsd. I am a
> newbie at configuring Apache, so please tell me why
> "http:///apcupsd/"; produces "Forbidden". It seems from the config
> below that the cgi script should be executed instead.
>
> #
> # apcupsd configuration file for Apache Web server
> #
>
> # files are off the documentroot of Web server
> ScriptAlias /apcupsd/ "/var/www/apcupsd/"
>
> #
> # Allow only local access at default
> # Change the ".example.com" to match your domain or modify
> # access rights to your needs to enable remote access also.
> #
> 
>   DirectoryIndex multimon.cgi upsstats.cgi
>   AllowOverride None
>   Options ExecCGI Indexes
>   Order deny,allow
>   Deny from all
>   Allow from 127.0.0.1
>   Allow from ::1
>   # Allow from .example.com
> 
>
>
> Thanks,
> Yaakov.
>
> -
> 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]



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

2007-07-12 Thread Hamilton Vera

With this conf, it will only work for localhost requests


   Order deny,allow
   Deny from all
   Allow from 127.0.0.1
   Allow from ::1 (by the way I never saw this before)


Please correct if I am wrong

Maybe you can get more tips looking in the error_log.


[]´s

Hamilton Vera
int Administrator (char Network[],char ComputationalSystems[]);
http://antispam.br/
"Google is my shepherd, no want shall I know"

On Thu, 12 Jul 2007, Yaakov Chaikin wrote:


Hi,

I have the following config file which came with apcupsd. I am a
newbie at configuring Apache, so please tell me why
"http:///apcupsd/"; produces "Forbidden". It seems from the config
below that the cgi script should be executed instead.

#
# apcupsd configuration file for Apache Web server
#

# files are off the documentroot of Web server
ScriptAlias /apcupsd/ "/var/www/apcupsd/"

#
# Allow only local access at default
# Change the ".example.com" to match your domain or modify
# access rights to your needs to enable remote access also.
#

  DirectoryIndex multimon.cgi upsstats.cgi
  AllowOverride None
  Options ExecCGI Indexes
  Order deny,allow
  Deny from all
  Allow from 127.0.0.1
  Allow from ::1
  # Allow from .example.com



Thanks,
Yaakov.

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