Re: [users@httpd] Newbie - Apache as internet facing proxy for Windows/IIS backend .net app server?

2018-05-10 Thread Yehuda Katz
You could add additional authentication requirements in the reverse proxy
for specific requests. You can also make sure to only proxy requests that
match what you think the backend should process.
There are a lot of tools that can help you, but as you said, you might get
the best results if someone actually looks at your specific system and your
specific requirements.

- Y

On Thu, May 10, 2018 at 10:49 AM Charles Marcus 
wrote:

> Ok, a follow-up question...
>
> My only concern here is security. This is not and never will be a heavily
> used system, but it will serve as a gateway to a backend accounting system,
> so I'm not concerned with load balancing or any of the other features that
> come with a reverse proxy. My only concern is that it be as secure as
> possible.
>
> I know that a reverse proxy in and of itself doesn't add any real security
> (other than this will be running on linux, which I'm more comfortable
> exposing to the internet).
>
> So, with that in mind... I would appreciate any links to how to do this
> with security as the primary goal. Something more than just 'enable
> mod_security'.
>
> Also, I would be very open to paying a consultant to assist in setting
> this up, if I can be convinced they are legit and worth their asking price.
> Two things I'd want/need help with is testing to whittle down the http
> features to only those necessary to interact with our system, taking
> advantage of mod_secs 'continuous passive security assessment' feature, and
> anything else that makes sense.
>
> And thanks for the responses so far!
>
> *Charles*
>
> On Mon May 07 2018 13:56:56 GMT-0400 (Eastern Standard Time), Yehuda Katz
>   wrote:
>
> Your application will still need to run on a Windows server with IIS, but
> it can be behind your firewall. Your Apache HTTPD server would go in your
> DMZ and would proxy connections between the clients on the internet and the
> internal server. (Your firewall would need to allow those connections.)
>
> - Y
>
> On Mon, May 7, 2018 at 1:44 PM Charles Marcus 
> wrote:
>
>> Ok, thanks!
>>
>> But to be clear - I asked the Support people and was told, and I quote:
>>
>> "The Webvantage, Client Portal and Mobile Server applications are .Net
>> IIS applications that require Microsoft Windows and IIS."
>>
>> So... was that just a typical response from a Windows support person who
>> doesn't really understand web servers?
>>
>> The software in question is described here:
>>
>> http://www.gotoadvantage.com/web-based-management-software
>>
>> I don't mind doing the work, I'd just rather not go down a rabbit hole
>> trying to do something that can/will never work.
>>
>> Thanks again,
>>
>> *Charles*
>>
>>
>> On Mon May 07 2018 13:37:36 GMT-0400 (Eastern Standard Time), Yehuda Katz
>>   wrote:
>>
>> Certainly. I would start with the Reverse Proxy Guide:
>> https://httpd.apache.org/docs/2.4/howto/reverse_proxy.html
>> Come back here if you have any questions.
>>
>> - Y
>>
>> On Mon, May 7, 2018 at 1:32 PM Charles Marcus 
>> wrote:
>>
>>> Hello all,
>>>
>>> I just want to know if this is even worth my time trying to figure out.
>>>
>>> We have an Accounting application (.ne/IIS on Windows Server 2008R2) on
>>> our LAN, but I need to provide a window to this through the internet, and
>>> I'd really, really like to not put a Windows Server on our DMZ facing the
>>> internet directly (if I have to, it will be a separate/standalone server
>>> that redirects/proxies to the Accounting server).
>>>
>>> first and foremost - is it even possible to setup an Apache server to do
>>> this? I loathe IIS, and also don't know much about it, but I'm also pretty
>>> much a noob when it comes to web servers in general. I do have some
>>> experience a while back with Apache, which is why I'm starting here.
>>>
>>> If it isn't, so be it, but if it is, is it very involved?
>>>
>>> Tia...
>>>
>>> *Charles*
>>>
>>
>>
>


Re: [users@httpd] Newbie - Apache as internet facing proxy for Windows/IIS backend .net app server?

2018-05-10 Thread Charles Marcus
Ok, a follow-up question...

My only concern here is security. This is not and never will be a
heavily used system, but it will serve as a gateway to a backend
accounting system, so I'm not concerned with load balancing or any of
the other features that come with a reverse proxy. My only concern is
that it be as secure as possible.

I know that a reverse proxy in and of itself doesn't add any real
security (other than this will be running on linux, which I'm more
comfortable exposing to the internet).

So, with that in mind... I would appreciate any links to how to do this
with security as the primary goal. Something more than just 'enable
mod_security'.

Also, I would be very open to paying a consultant to assist in setting
this up, if I can be convinced they are legit and worth their asking
price. Two things I'd want/need help with is testing to whittle down the
http features to only those necessary to interact with our system,
taking advantage of mod_secs 'continuous passive security assessment'
feature, and anything else that makes sense.

And thanks for the responses so far!

*/Charles/*/*

*/
On Mon May 07 2018 13:56:56 GMT-0400 (Eastern Standard Time), Yehuda
Katz  wrote:
> Your application will still need to run on a Windows server with IIS,
> but it can be behind your firewall. Your Apache HTTPD server would go
> in your DMZ and would proxy connections between the clients on the
> internet and the internal server. (Your firewall would need to allow
> those connections.) 
>
> - Y
>
> On Mon, May 7, 2018 at 1:44 PM Charles Marcus
> mailto:cmar...@media-brokers.com>> wrote:
>
> Ok, thanks!
>
> But to be clear - I asked the Support people and was told, and I
> quote:
>
> "The Webvantage, Client Portal and Mobile Server applications are
> .Net IIS applications that require Microsoft Windows and IIS."
>
> So... was that just a typical response from a Windows support
> person who doesn't really understand web servers?
>
> The software in question is described here:
>
> http://www.gotoadvantage.com/web-based-management-software
>
> I don't mind doing the work, I'd just rather not go down a rabbit
> hole trying to do something that can/will never work.
>
> Thanks again,
>
> */Charles/*/*
>
>
> */
> On Mon May 07 2018 13:37:36 GMT-0400 (Eastern Standard Time),
> Yehuda Katz   wrote:
>> Certainly. I would start with the Reverse Proxy
>> Guide: https://httpd.apache.org/docs/2.4/howto/reverse_proxy.html
>> Come back here if you have any questions.
>>
>> - Y
>>
>> On Mon, May 7, 2018 at 1:32 PM Charles Marcus
>> mailto:cmar...@media-brokers.com>> wrote:
>>
>> Hello all,
>>
>> I just want to know if this is even worth my time trying to
>> figure out.
>>
>> We have an Accounting application (.ne/IIS on Windows Server
>> 2008R2) on our LAN, but I need to provide a window to this
>> through the internet, and I'd really, really like to not put
>> a Windows Server on our DMZ facing the internet directly (if
>> I have to, it will be a separate/standalone server that
>> redirects/proxies to the Accounting server).
>>
>> first and foremost - is it even possible to setup an Apache
>> server to do this? I loathe IIS, and also don't know much
>> about it, but I'm also pretty much a noob when it comes to
>> web servers in general. I do have some experience a while
>> back with Apache, which is why I'm starting here.
>>
>> If it isn't, so be it, but if it is, is it very involved?
>>
>> Tia...
>>
>> */Charles/*/*
>> */
>>
>



Re: [users@httpd] Newbie - Apache as internet facing proxy for Windows/IIS backend .net app server?

2018-05-08 Thread Charles Marcus
Ok, will give this a shot, although I won't get any support from them
for the reverse proxy - but hopefully won't need any. :)

*/Charles/*/*

*/
On Mon May 07 2018 13:56:56 GMT-0400 (Eastern Standard Time), Yehuda
Katz  wrote:
> Your application will still need to run on a Windows server with IIS,
> but it can be behind your firewall. Your Apache HTTPD server would go
> in your DMZ and would proxy connections between the clients on the
> internet and the internal server. (Your firewall would need to allow
> those connections.) 
>
> - Y
>
> On Mon, May 7, 2018 at 1:44 PM Charles Marcus
> mailto:cmar...@media-brokers.com>> wrote:
>
> Ok, thanks!
>
> But to be clear - I asked the Support people and was told, and I
> quote:
>
> "The Webvantage, Client Portal and Mobile Server applications are
> .Net IIS applications that require Microsoft Windows and IIS."
>
> So... was that just a typical response from a Windows support
> person who doesn't really understand web servers?
>
> The software in question is described here:
>
> http://www.gotoadvantage.com/web-based-management-software
>
> I don't mind doing the work, I'd just rather not go down a rabbit
> hole trying to do something that can/will never work.
>
> Thanks again,
>
> */Charles/*/*
>
>
> */
> On Mon May 07 2018 13:37:36 GMT-0400 (Eastern Standard Time),
> Yehuda Katz   wrote:
>> Certainly. I would start with the Reverse Proxy
>> Guide: https://httpd.apache.org/docs/2.4/howto/reverse_proxy.html
>> Come back here if you have any questions.
>>
>> - Y
>>
>> On Mon, May 7, 2018 at 1:32 PM Charles Marcus
>> mailto:cmar...@media-brokers.com>> wrote:
>>
>> Hello all,
>>
>> I just want to know if this is even worth my time trying to
>> figure out.
>>
>> We have an Accounting application (.ne/IIS on Windows Server
>> 2008R2) on our LAN, but I need to provide a window to this
>> through the internet, and I'd really, really like to not put
>> a Windows Server on our DMZ facing the internet directly (if
>> I have to, it will be a separate/standalone server that
>> redirects/proxies to the Accounting server).
>>
>> first and foremost - is it even possible to setup an Apache
>> server to do this? I loathe IIS, and also don't know much
>> about it, but I'm also pretty much a noob when it comes to
>> web servers in general. I do have some experience a while
>> back with Apache, which is why I'm starting here.
>>
>> If it isn't, so be it, but if it is, is it very involved?
>>
>> Tia...
>>
>> */Charles/*/*
>> */
>>
>



Re: [users@httpd] Newbie - Apache as internet facing proxy for Windows/IIS backend .net app server?

2018-05-07 Thread Yehuda Katz
Your application will still need to run on a Windows server with IIS, but
it can be behind your firewall. Your Apache HTTPD server would go in your
DMZ and would proxy connections between the clients on the internet and the
internal server. (Your firewall would need to allow those connections.)

- Y

On Mon, May 7, 2018 at 1:44 PM Charles Marcus 
wrote:

> Ok, thanks!
>
> But to be clear - I asked the Support people and was told, and I quote:
>
> "The Webvantage, Client Portal and Mobile Server applications are .Net IIS
> applications that require Microsoft Windows and IIS."
>
> So... was that just a typical response from a Windows support person who
> doesn't really understand web servers?
>
> The software in question is described here:
>
> http://www.gotoadvantage.com/web-based-management-software
>
> I don't mind doing the work, I'd just rather not go down a rabbit hole
> trying to do something that can/will never work.
>
> Thanks again,
>
> *Charles*
>
>
> On Mon May 07 2018 13:37:36 GMT-0400 (Eastern Standard Time), Yehuda Katz
>   wrote:
>
> Certainly. I would start with the Reverse Proxy Guide:
> https://httpd.apache.org/docs/2.4/howto/reverse_proxy.html
> Come back here if you have any questions.
>
> - Y
>
> On Mon, May 7, 2018 at 1:32 PM Charles Marcus 
> wrote:
>
>> Hello all,
>>
>> I just want to know if this is even worth my time trying to figure out.
>>
>> We have an Accounting application (.ne/IIS on Windows Server 2008R2) on
>> our LAN, but I need to provide a window to this through the internet, and
>> I'd really, really like to not put a Windows Server on our DMZ facing the
>> internet directly (if I have to, it will be a separate/standalone server
>> that redirects/proxies to the Accounting server).
>>
>> first and foremost - is it even possible to setup an Apache server to do
>> this? I loathe IIS, and also don't know much about it, but I'm also pretty
>> much a noob when it comes to web servers in general. I do have some
>> experience a while back with Apache, which is why I'm starting here.
>>
>> If it isn't, so be it, but if it is, is it very involved?
>>
>> Tia...
>>
>> *Charles*
>>
>
>


Re: [users@httpd] Newbie - Apache as internet facing proxy for Windows/IIS backend .net app server?

2018-05-07 Thread Charles Marcus
Ok, thanks!

But to be clear - I asked the Support people and was told, and I quote:

"The Webvantage, Client Portal and Mobile Server applications are .Net
IIS applications that require Microsoft Windows and IIS."

So... was that just a typical response from a Windows support person who
doesn't really understand web servers?

The software in question is described here:

http://www.gotoadvantage.com/web-based-management-software

I don't mind doing the work, I'd just rather not go down a rabbit hole
trying to do something that can/will never work.

Thanks again,

*/Charles/*/*


*/
On Mon May 07 2018 13:37:36 GMT-0400 (Eastern Standard Time), Yehuda
Katz  wrote:
> Certainly. I would start with the Reverse Proxy
> Guide: https://httpd.apache.org/docs/2.4/howto/reverse_proxy.html
> Come back here if you have any questions.
>
> - Y
>
> On Mon, May 7, 2018 at 1:32 PM Charles Marcus
> mailto:cmar...@media-brokers.com>> wrote:
>
> Hello all,
>
> I just want to know if this is even worth my time trying to figure
> out.
>
> We have an Accounting application (.ne/IIS on Windows Server
> 2008R2) on our LAN, but I need to provide a window to this through
> the internet, and I'd really, really like to not put a Windows
> Server on our DMZ facing the internet directly (if I have to, it
> will be a separate/standalone server that redirects/proxies to the
> Accounting server).
>
> first and foremost - is it even possible to setup an Apache server
> to do this? I loathe IIS, and also don't know much about it, but
> I'm also pretty much a noob when it comes to web servers in
> general. I do have some experience a while back with Apache, which
> is why I'm starting here.
>
> If it isn't, so be it, but if it is, is it very involved?
>
> Tia...
>
> */Charles/*/*
> */
>



Re: [users@httpd] Newbie - Apache as internet facing proxy for Windows/IIS backend .net app server?

2018-05-07 Thread Yehuda Katz
Certainly. I would start with the Reverse Proxy Guide:
https://httpd.apache.org/docs/2.4/howto/reverse_proxy.html
Come back here if you have any questions.

- Y

On Mon, May 7, 2018 at 1:32 PM Charles Marcus 
wrote:

> Hello all,
>
> I just want to know if this is even worth my time trying to figure out.
>
> We have an Accounting application (.ne/IIS on Windows Server 2008R2) on
> our LAN, but I need to provide a window to this through the internet, and
> I'd really, really like to not put a Windows Server on our DMZ facing the
> internet directly (if I have to, it will be a separate/standalone server
> that redirects/proxies to the Accounting server).
>
> first and foremost - is it even possible to setup an Apache server to do
> this? I loathe IIS, and also don't know much about it, but I'm also pretty
> much a noob when it comes to web servers in general. I do have some
> experience a while back with Apache, which is why I'm starting here.
>
> If it isn't, so be it, but if it is, is it very involved?
>
> Tia...
>
> *Charles*
>


RE: [users@httpd] Newbie

2016-02-08 Thread Rudy
Thanks Pete, looks like a good forum for me to search through.

 

Thanks,

Rudy Schutter

rudy...@comcast.net

954.494.3148

 

From: Pete Helgren [mailto:p...@bsfinternational.org] 
Sent: Monday, February 8, 2016 8:22 AM
To: 'users@httpd.apache.org'
Subject: RE: [users@httpd] Newbie

 

Rudy,

 

You should also check out the midrange.com mailing list (Midrange-L).  Lots of 
folks very well versed in IBM I technology and the use of Apache on IBM I (as 
well as many other technologies on IBM i)

 

Pete

 

 

From: Yehuda Katz [mailto:yeh...@ymkatz.net] 
Sent: Sunday, February 07, 2016 11:16 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Newbie

 

IBM packages their own version of HTTPD. This might be a good place to start: 
http://www-03.ibm.com/systems/power/software/i/http/

 

- Y

 

 

 

On Sun, Feb 7, 2016 at 12:08 PM, Rudy  wrote:

I know nothing of Apache, but, I wish to setup an older iSeries as a web
server using Apache.  My iSeries is a 520 running V7R1 and I connect to it
using a Windows 10 PC.  I am a long time RPG programmer but have no
experience with HTTP or web hosting.  I am looking for step by step
instructions (for dummies) to install and setup the most appropriate version
of Apache that fits my needs.  This will be a learning experience for me so
I will not need to support high traffic nor are a lot of bells and whistles
required. 

My initial questions:
Where should I start?
Is there a specific set of step by step install and setup instructions
available for my scenario? 
What version of Apache might be appropriate for me? 


Thanks,
Rudy Schutter
rudy...@comcast.net
954.494.3148




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

 



RE: [users@httpd] Newbie

2016-02-08 Thread Rudy
Thank you Yehuda, I thought I had read somewhere that there might be a new, 
unique, standalone version of Apache for the IBM iSeries.

 

 

 

Thanks,

Rudy Schutter

rudy...@comcast.net

954.494.3148

 

From: Yehuda Katz [mailto:yeh...@ymkatz.net] 
Sent: Sunday, February 7, 2016 12:16 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Newbie

 

IBM packages their own version of HTTPD. This might be a good place to start: 
http://www-03.ibm.com/systems/power/software/i/http/

 

- Y

 

 

 

On Sun, Feb 7, 2016 at 12:08 PM, Rudy  wrote:

I know nothing of Apache, but, I wish to setup an older iSeries as a web
server using Apache.  My iSeries is a 520 running V7R1 and I connect to it
using a Windows 10 PC.  I am a long time RPG programmer but have no
experience with HTTP or web hosting.  I am looking for step by step
instructions (for dummies) to install and setup the most appropriate version
of Apache that fits my needs.  This will be a learning experience for me so
I will not need to support high traffic nor are a lot of bells and whistles
required. 

My initial questions:
Where should I start?
Is there a specific set of step by step install and setup instructions
available for my scenario? 
What version of Apache might be appropriate for me? 


Thanks,
Rudy Schutter
rudy...@comcast.net
954.494.3148




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

 



RE: [users@httpd] Newbie

2016-02-08 Thread Rudy
Thank you Eric, I was under the impression there might be a new, unique, 
standalone version of Apache for the IBM iSeries.

Thanks,
Rudy Schutter


-Original Message-
From: Eric Covener [mailto:cove...@gmail.com] 
Sent: Sunday, February 7, 2016 12:14 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Newbie

On Sun, Feb 7, 2016 at 12:08 PM, Rudy  wrote:
> I know nothing of Apache, but, I wish to setup an older iSeries as a 
> web server using Apache.  My iSeries is a 520 running V7R1 and I 
> connect to it using a Windows 10 PC.  I am a long time RPG programmer 
> but have no experience with HTTP or web hosting.  I am looking for 
> step by step instructions (for dummies) to install and setup the most 
> appropriate version of Apache that fits my needs.  This will be a 
> learning experience for me so I will not need to support high traffic 
> nor are a lot of bells and whistles required.
>
> My initial questions:
> Where should I start?
> Is there a specific set of step by step install and setup instructions 
> available for my scenario?
> What version of Apache might be appropriate for me?

iSeries comes with a server based on Apache HTTP Server (IBM HTTP Server)
and no other distribution is likely to work there.   You want to consult
IBM documentation for initial configuration.

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


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



RE: [users@httpd] Newbie

2016-02-08 Thread Pete Helgren
Rudy,

You should also check out the midrange.com mailing list (Midrange-L).  Lots of 
folks very well versed in IBM I technology and the use of Apache on IBM I (as 
well as many other technologies on IBM i)

Pete


From: Yehuda Katz [mailto:yeh...@ymkatz.net]
Sent: Sunday, February 07, 2016 11:16 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Newbie

IBM packages their own version of HTTPD. This might be a good place to start: 
http://www-03.ibm.com/systems/power/software/i/http/

- Y



On Sun, Feb 7, 2016 at 12:08 PM, Rudy 
mailto:rudy...@comcast.net>> wrote:
I know nothing of Apache, but, I wish to setup an older iSeries as a web
server using Apache.  My iSeries is a 520 running V7R1 and I connect to it
using a Windows 10 PC.  I am a long time RPG programmer but have no
experience with HTTP or web hosting.  I am looking for step by step
instructions (for dummies) to install and setup the most appropriate version
of Apache that fits my needs.  This will be a learning experience for me so
I will not need to support high traffic nor are a lot of bells and whistles
required.

My initial questions:
Where should I start?
Is there a specific set of step by step install and setup instructions
available for my scenario?
What version of Apache might be appropriate for me?


Thanks,
Rudy Schutter
rudy...@comcast.net<mailto:rudy...@comcast.net>
954.494.3148




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



Re: [users@httpd] Newbie

2016-02-07 Thread Yehuda Katz
IBM packages their own version of HTTPD. This might be a good place to
start: http://www-03.ibm.com/systems/power/software/i/http/

- Y



On Sun, Feb 7, 2016 at 12:08 PM, Rudy  wrote:

> I know nothing of Apache, but, I wish to setup an older iSeries as a web
> server using Apache.  My iSeries is a 520 running V7R1 and I connect to it
> using a Windows 10 PC.  I am a long time RPG programmer but have no
> experience with HTTP or web hosting.  I am looking for step by step
> instructions (for dummies) to install and setup the most appropriate
> version
> of Apache that fits my needs.  This will be a learning experience for me so
> I will not need to support high traffic nor are a lot of bells and whistles
> required.
>
> My initial questions:
> Where should I start?
> Is there a specific set of step by step install and setup instructions
> available for my scenario?
> What version of Apache might be appropriate for me?
>
>
> Thanks,
> Rudy Schutter
> rudy...@comcast.net
> 954.494.3148
>
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


Re: [users@httpd] Newbie

2016-02-07 Thread Eric Covener
On Sun, Feb 7, 2016 at 12:08 PM, Rudy  wrote:
> I know nothing of Apache, but, I wish to setup an older iSeries as a web
> server using Apache.  My iSeries is a 520 running V7R1 and I connect to it
> using a Windows 10 PC.  I am a long time RPG programmer but have no
> experience with HTTP or web hosting.  I am looking for step by step
> instructions (for dummies) to install and setup the most appropriate version
> of Apache that fits my needs.  This will be a learning experience for me so
> I will not need to support high traffic nor are a lot of bells and whistles
> required.
>
> My initial questions:
> Where should I start?
> Is there a specific set of step by step install and setup instructions
> available for my scenario?
> What version of Apache might be appropriate for me?

iSeries comes with a server based on Apache HTTP Server (IBM HTTP Server)
and no other distribution is likely to work there.   You want to consult
IBM documentation for initial configuration.

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



Re: [users@httpd] [Newbie] Can Apache only deal with http requests

2012-06-28 Thread John Iliffe
On Thursday 28 June 2012 12:13:52 saikari keitele wrote:
> Hello,
> Sorry for such a newbie question. I would need clarification concerning
> the exact scope of what Apache is meant for. Is it correct to say that
> Apache is a server only for responding to http requests (typically
> generated from a client browser)?
> My situation is that I want to set up a mysql server responding to
> queries from remote clients which are QT desktop applications (queries
> use ODBC standard for connections). This is not a scenario in which
> Apache could be of any use as I will not be using http, php, etc, is
> that correct?
> 
> Many thanks
> 
> Saikari
The easy way would be to write the queries in PHP on the server and Java 
Script on the client browser then use Apache to obtain the information, 
then serve it back.  Very easy to do!  In fact, the first thing I ever did 
with Apache and I had the application up and running in production in a few 
days..

Good luck!

John

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



Re: [users@httpd] Newbie

2011-03-02 Thread Norman Fournier
On 2011-03-02, at 5:17 AM, Igor Galić wrote:
> 
> - Original Message -
>> On Thursday 24 February 2011 21:55:17 Arthur P Pesa wrote:
>>> When I was using my MAC to run Apache, I installed the full version
>>> of
>>> Apache since my MAC had a "light" version of httpd.
>> 
>> Stop spreading FUD (at least if you mean a Mac computer with one of
> 
> +1
> 
>> last 3 or
>> 4 major versions of OS X by "MAC").
>> 
>> Apple packages a complete install of httpd 2.x with a few extra
>> modules,
>> although compiled and configured with a quite unusual directory
>> layout (which
>> is a supported feature of httpd). But it is perfectly useable out of
> 
> http://wiki.apache.org/httpd/DistrosDefaultLayout#Mac_OS_X_.28Leopard.2C_Apache_httpd_2.2.29:
> 

+1

> i
> 
> --
> Igor Galić
> 
> Tel: +43 (0) 664 886 22 883
> Mail: i.ga...@brainsware.org
> URL: http://brainsware.org/

---
http://www.normanfournier.com




Re: [users@httpd] Newbie

2011-03-02 Thread Igor Galić


- Original Message -
> On Thursday 24 February 2011 21:55:17 Arthur P Pesa wrote:
> > When I was using my MAC to run Apache, I installed the full version
> > of
> > Apache since my MAC had a "light" version of httpd.
>
> Stop spreading FUD (at least if you mean a Mac computer with one of

+1

> last 3 or
> 4 major versions of OS X by "MAC").
>
> Apple packages a complete install of httpd 2.x with a few extra
> modules,
> although compiled and configured with a quite unusual directory
> layout (which
> is a supported feature of httpd). But it is perfectly useable out of

http://wiki.apache.org/httpd/DistrosDefaultLayout#Mac_OS_X_.28Leopard.2C_Apache_httpd_2.2.29:

i

--
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.ga...@brainsware.org
URL: http://brainsware.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: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Newbie

2011-02-24 Thread Rainer Frey
On Thursday 24 February 2011 21:55:17 Arthur P Pesa wrote:
> When I was using my MAC to run Apache, I installed the full version of
> Apache since my MAC had a "light" version of httpd.

Stop spreading FUD (at least if you mean a Mac computer with one of last 3 or 
4 major versions of OS X by "MAC").

Apple packages a complete install of httpd 2.x with a few extra modules, 
although compiled and configured with a quite unusual directory layout (which 
is a supported feature of httpd). But it is perfectly useable out of the box 
for static websites, including user sites, and most PHP applications.

The "Web Sharing" preference is merely a frontend to starting and stopping 
httpd, propably via launchd. It is also optional, apachectl works as well.

It also  does write log files, IIRC in the usual location  under 
/var/log/apache2, viewable from the Console application or Terminal.

JFTR: it is no problem to compile and use a vanilla httpd on OSX with 
Developer Tools. But it should not be necessary for th OP.

Rainer

> 
> I found it confusing as well, until I had the full version of Apache
> 
> Sent from my HTC on the Now Network from Sprint!
> 
> - Reply message -
> From: "Matt Guise" 
> Date: Thu, Feb 24, 2011 11:12 am
> Subject: [users@httpd] Newbie
> To: 
> 
> Web Sharing and File Sharing is on and checked.  But when I type in the
> Safari browser " http://localhost/"; I get the message "Safari can't open
> the page "http://localhost/"; because the server unexpectedly dropped the
> connection. This sometimes occurs when the serveris busy. Wait for a few
> minutes, and then try again."
> 
> Which is why they told me to I need to reload Apache.
> 
> 1. Do you think I should reinstall Apache?
> 
> 2. If so I downloaded httpd-2.2.17 and it is sitting on my desktop. Where
> should I put that folder?  I keep all of my websites in the site folder.
> Mathewguise/sites.
> 
> http://192.168.1.100/~mathewguise/
> 
> Thanks for helping me with my extremely novice questions.
> 
> Matt
> 
> On 2/24/11 12:57 PM, "Doug McNutt"  wrote:
> > At 11:40 -0600 2/24/11, Matt Guise wrote:
> >> My ultimate goal is to run the server on my iMac running Mac OS X
> >> Version 10.6.6.  Using Adobe Dreamweaver I want to test PHP pages
> >> locally on my computer. All mac's come with Apache installed but for
> >> some reason mine is not running right. I called AppleCare and they said
> >> that I need to reinstall Apache.
> >> 
> >> When I type in the Safari browser " http://localhost/"; I get the message
> >> " Safari can't open the page "http://localhost/"; because the server
> >> unexpectedly dropped the connection. This sometimes occurs when the
> >> server is busy. Wait for a few minutes, and then try again."
> > 
> > I'm surprised, but AppleCare might have missed the obvious:  You will
> > need to turn on the general features of file sharing in OS X. System
> > preferences is the application and Network or Sharing are the GUI style
> > questions. They are obvious to a casual user but frustratingly complex
> > when viewed by a UNIX user.
> 
> -
> 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: users-unsubscr...@httpd.apache.org
>"   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.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: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Newbie

2011-02-24 Thread Arthur P Pesa
When I was using my MAC to run Apache, I installed the full version of Apache 
since my MAC had a "light" version of httpd. 

I found it confusing as well, until I had the full version of Apache

Sent from my HTC on the Now Network from Sprint!

- Reply message -
From: "Matt Guise" 
Date: Thu, Feb 24, 2011 11:12 am
Subject: [users@httpd] Newbie
To: 

Web Sharing and File Sharing is on and checked.  But when I type in the
Safari browser " http://localhost/"; I get the message "Safari can't open the
page "http://localhost/"; because the server unexpectedly dropped the
connection. This sometimes occurs when the serveris busy. Wait for a few
minutes, and then try again."

Which is why they told me to I need to reload Apache.

1. Do you think I should reinstall Apache?

2. If so I downloaded httpd-2.2.17 and it is sitting on my desktop. Where
should I put that folder?  I keep all of my websites in the site folder.
Mathewguise/sites.

http://192.168.1.100/~mathewguise/

Thanks for helping me with my extremely novice questions.

Matt


On 2/24/11 12:57 PM, "Doug McNutt"  wrote:

> At 11:40 -0600 2/24/11, Matt Guise wrote:
>> My ultimate goal is to run the server on my iMac running Mac OS X Version
>> 10.6.6.  Using Adobe Dreamweaver I want to test PHP pages locally on my
>> computer. All mac's come with Apache installed but for some reason mine is
>> not running right. I called AppleCare and they said that I need to reinstall
>> Apache.
>> 
>> When I type in the Safari browser " http://localhost/"; I get the message "
>> Safari can't open the page "http://localhost/"; because the server
>> unexpectedly dropped the connection. This sometimes occurs when the server
>> is busy. Wait for a few minutes, and then try again."
>> 
> 
> I'm surprised, but AppleCare might have missed the obvious:  You will need to
> turn on the general features of file sharing in OS X. System preferences is
> the application and Network or Sharing are the GUI style questions. They are
> obvious to a casual user but frustratingly complex when viewed by a UNIX user.



-
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: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Newbie

2011-02-24 Thread Norman Fournier
Hello,

You might try putting your files in Library/WebServer/Documents/

Norman

On 2011-02-24, at 12:12 PM, Matt Guise wrote:

> Web Sharing and File Sharing is on and checked.  But when I type in the
> Safari browser " http://localhost/"; I get the message "Safari can't open the
> page "http://localhost/"; because the server unexpectedly dropped the
> connection. This sometimes occurs when the serveris busy. Wait for a few
> minutes, and then try again."
> 
> Which is why they told me to I need to reload Apache.
> 
> 1. Do you think I should reinstall Apache?
> 
> 2. If so I downloaded httpd-2.2.17 and it is sitting on my desktop. Where
> should I put that folder?  I keep all of my websites in the site folder.
> Mathewguise/sites.
> 
> http://192.168.1.100/~mathewguise/
> 
> Thanks for helping me with my extremely novice questions.
> 
> Matt
> 
> 
> On 2/24/11 12:57 PM, "Doug McNutt"  wrote:
> 
>> At 11:40 -0600 2/24/11, Matt Guise wrote:
>>> My ultimate goal is to run the server on my iMac running Mac OS X Version
>>> 10.6.6.  Using Adobe Dreamweaver I want to test PHP pages locally on my
>>> computer. All mac's come with Apache installed but for some reason mine is
>>> not running right. I called AppleCare and they said that I need to reinstall
>>> Apache.
>>> 
>>> When I type in the Safari browser " http://localhost/"; I get the message "
>>> Safari can't open the page "http://localhost/"; because the server
>>> unexpectedly dropped the connection. This sometimes occurs when the server
>>> is busy. Wait for a few minutes, and then try again."
>>> 
>> 
>> I'm surprised, but AppleCare might have missed the obvious:  You will need to
>> turn on the general features of file sharing in OS X. System preferences is
>> the application and Network or Sharing are the GUI style questions. They are
>> obvious to a casual user but frustratingly complex when viewed by a UNIX 
>> user.
> 
> 
> 
> -
> 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: users-unsubscr...@httpd.apache.org
>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
> 

---
http://www.normanfournier.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: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Newbie

2011-02-24 Thread Matt Guise
Web Sharing and File Sharing is on and checked.  But when I type in the
Safari browser " http://localhost/"; I get the message "Safari can't open the
page "http://localhost/"; because the server unexpectedly dropped the
connection. This sometimes occurs when the serveris busy. Wait for a few
minutes, and then try again."

Which is why they told me to I need to reload Apache.

1. Do you think I should reinstall Apache?

2. If so I downloaded httpd-2.2.17 and it is sitting on my desktop. Where
should I put that folder?  I keep all of my websites in the site folder.
Mathewguise/sites.

http://192.168.1.100/~mathewguise/

Thanks for helping me with my extremely novice questions.

Matt


On 2/24/11 12:57 PM, "Doug McNutt"  wrote:

> At 11:40 -0600 2/24/11, Matt Guise wrote:
>> My ultimate goal is to run the server on my iMac running Mac OS X Version
>> 10.6.6.  Using Adobe Dreamweaver I want to test PHP pages locally on my
>> computer. All mac's come with Apache installed but for some reason mine is
>> not running right. I called AppleCare and they said that I need to reinstall
>> Apache.
>> 
>> When I type in the Safari browser " http://localhost/"; I get the message "
>> Safari can't open the page "http://localhost/"; because the server
>> unexpectedly dropped the connection. This sometimes occurs when the server
>> is busy. Wait for a few minutes, and then try again."
>> 
> 
> I'm surprised, but AppleCare might have missed the obvious:  You will need to
> turn on the general features of file sharing in OS X. System preferences is
> the application and Network or Sharing are the GUI style questions. They are
> obvious to a casual user but frustratingly complex when viewed by a UNIX user.



-
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: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Newbie

2011-02-24 Thread Doug McNutt
At 11:40 -0600 2/24/11, Matt Guise wrote:
>My ultimate goal is to run the server on my iMac running Mac OS X Version
>10.6.6.  Using Adobe Dreamweaver I want to test PHP pages locally on my
>computer. All mac's come with Apache installed but for some reason mine is
>not running right. I called AppleCare and they said that I need to reinstall
>Apache.
>
>When I type in the Safari browser " http://localhost/"; I get the message "
>Safari can't open the page "http://localhost/"; because the server
>unexpectedly dropped the connection. This sometimes occurs when the server
>is busy. Wait for a few minutes, and then try again."
>

I'm surprised, but AppleCare might have missed the obvious:  You will need to 
turn on the general features of file sharing in OS X. System preferences is the 
application and Network or Sharing are the GUI style questions. They are 
obvious to a casual user but frustratingly complex when viewed by a UNIX user.

-- 

--> A fair tax is one that you pay but I don't <--

-
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: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Newbie

2011-02-24 Thread Matt Guise
Great! This is awesome! Glad you are here.

My ultimate goal is to run the server on my iMac running Mac OS X Version
10.6.6.  Using Adobe Dreamweaver I want to test PHP pages locally on my
computer. All mac's come with Apache installed but for some reason mine is
not running right. I called AppleCare and they said that I need to reinstall
Apache.

When I type in the Safari browser " http://localhost/"; I get the message "
Safari can¹t open the page ³http://localhost/² because the server
unexpectedly dropped the connection. This sometimes occurs when the server
is busy. Wait for a few minutes, and then try again."

1. Do you think I should reinstall Apache?

2. If so I downloaded httpd-2.2.17 and it is sitting on my desktop. Where
should I put that folder?  I keep all of my websites in the site folder.
Mathewguise/sites.

http://192.168.1.100/~mathewguise/

Thanks for helping me with my extremely novice questions.

Matt



On 2/24/11 11:16 AM, "Tom Evans"  wrote:

> On Thu, Feb 24, 2011 at 5:01 PM, Matt Guise  wrote:
>> Please forgive if I am sending this to the wrong place.
>> 
>> I am a newbie and I am trying to reinstall my apache server.
>> 
>> Please let me know if I sent this to the wrong place and I will no longer
>> bother you.  Please direct me to the right place.
>> 
>> Thanks
>> Matt
>> 
>> 
> 
> Right place, start asking questions...
> 
> Cheers
> 
> Tom
> 
> -
> 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: users-unsubscr...@httpd.apache.org
>"   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.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: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Newbie

2011-02-24 Thread Tom Evans
On Thu, Feb 24, 2011 at 5:01 PM, Matt Guise  wrote:
> Please forgive if I am sending this to the wrong place.
>
> I am a newbie and I am trying to reinstall my apache server.
>
> Please let me know if I sent this to the wrong place and I will no longer
> bother you.  Please direct me to the right place.
>
> Thanks
> Matt
>
>

Right place, start asking questions...

Cheers

Tom

-
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: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



RE: [users@httpd] Newbie CGI: nested href

2005-06-04 Thread Michael D. Berger
Indeed, one "non-standard" link had to be corrected.
Later I'll run find...grep to check for other problems.
Mike.

--
Michael D. Berger
[EMAIL PROTECTED] 

> -Original Message-
> From: Dan Mahoney, System Admin [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, June 04, 2005 10:37 AM
> To: users@httpd.apache.org
> Subject: RE: [EMAIL PROTECTED] Newbie CGI: nested href
> 
> 
> On Sat, 4 Jun 2005, Michael D. Berger wrote:
> 
> > Problem solved by pathcing the href in the outgoing response.
> > Mike.
> 
> It was either that, or come up with some complex mod_rewrite 
> answer so 
> your users wouldn't see the cgi url but rather the url of 
> some page.  I 
> figured just tweaking the links (as long as you knew their 
> style to be 
> consistent) was easiest, even if it's not the "correct" answer.
> 
> -Dan
> 
> >
> > --
> > Michael D. Berger
> > [EMAIL PROTECTED]
> >
> >> -Original Message-
> >> From: Michael D. Berger [mailto:[EMAIL PROTECTED]
> >> Sent: Saturday, June 04, 2005 12:34 AM
> >> To: users@httpd.apache.org
> >> Subject: RE: [EMAIL PROTECTED] Newbie CGI: nested href
> >>
> >>
> >> I have a legacy tree with numerous branches, and many 
> relative links.
> >> I was hoping to get it all with one CGI.
> >> Mike.
> >>
> >> --
> >> Michael D. Berger
> >> [EMAIL PROTECTED]
> >>
> >>> -Original Message-
> >>> From: Dan Mahoney, System Admin [mailto:[EMAIL PROTECTED]
> >>> Sent: Saturday, June 04, 2005 12:32 AM
> >>> To: Apache-Users
> >>> Subject: Re: [EMAIL PROTECTED] Newbie CGI: nested href
> >>>
> >>>
> >>> On Sat, 4 Jun 2005, Michael D. Berger wrote:
> >>>
> >>> Try putting the cgi in the same directory as the html file
> >>> and turning on
> >>> execCGI in that directory?  That's the easy answer.  I
> >>> suppose there's
> >>> something harder involving mod_rewrite.
> >>>
> >>> But since you're parsing the html anyway, you could rewrite
> >>> them on the
> >>> fly, too.
> >>>
> >>> Your call.
> >>>
> >>>
>  I wrote a CGI that opens an html file, reads it and sends
>  it out (with some modification).  Now these files contain
>  relative links of the form:
>    something
>  Now when the client clicks on "something", only the relative
>  paths appear to the CGI, and I cannot open the file.
> 
>  What should I do?
>  1. I could carry the last path in a cookie and construct
>    the full path.  But this would only work for nodes
>    that accept cookies.
> 
>  2. I could change all the paths to absolute.  Much much
>    work.
> 
>  Any better suggestions?
> 
>  Thanks in advance.
>  Mike.
> 
> 
>  --
>  Michael D. Berger
>  [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]
> 
> >>>
> >>> --
> >>>
> >>> [23:49:00] LarpGM: Did my little TP comment scare you off?
> >>> [23:49:22] ilzarion: no, the shrieking retarded child eating
> >>> people did
> >>>
> >>> -Feb 06, 2001, times apparent.
> >>>
> >>>
> >>> Dan Mahoney
> >>> Techie,  Sysadmin,  WebGeek
> >>> Gushi on efnet/undernet IRC
> >>> ICQ: 13735144   AIM: LarpGM
> >>> Site:  http://www.gushi.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]
> >>
> >>
> >
> >
> >
> > 
> -
> > 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]
> >
> 
> --
> 
> "What's with the server farm down in the basement?"
> 
> -Spider, Three Skulls Commons at Selden House, 4/15/00
> 
> Dan Mahoney
> Techie,  Sysadmin,  WebGeek
> Gushi on efnet/undernet IRC
> ICQ: 13735144   AIM:

RE: [users@httpd] Newbie CGI: nested href

2005-06-04 Thread Dan Mahoney, System Admin

On Sat, 4 Jun 2005, Michael D. Berger wrote:


Problem solved by pathcing the href in the outgoing response.
Mike.


It was either that, or come up with some complex mod_rewrite answer so 
your users wouldn't see the cgi url but rather the url of some page.  I 
figured just tweaking the links (as long as you knew their style to be 
consistent) was easiest, even if it's not the "correct" answer.


-Dan



--
Michael D. Berger
[EMAIL PROTECTED]


-Original Message-
From: Michael D. Berger [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 04, 2005 12:34 AM
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED] Newbie CGI: nested href


I have a legacy tree with numerous branches, and many relative links.
I was hoping to get it all with one CGI.
Mike.

--
Michael D. Berger
[EMAIL PROTECTED]


-Original Message-
From: Dan Mahoney, System Admin [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 04, 2005 12:32 AM
To: Apache-Users
Subject: Re: [EMAIL PROTECTED] Newbie CGI: nested href


On Sat, 4 Jun 2005, Michael D. Berger wrote:

Try putting the cgi in the same directory as the html file
and turning on
execCGI in that directory?  That's the easy answer.  I
suppose there's
something harder involving mod_rewrite.

But since you're parsing the html anyway, you could rewrite
them on the
fly, too.

Your call.



I wrote a CGI that opens an html file, reads it and sends
it out (with some modification).  Now these files contain
relative links of the form:
  something
Now when the client clicks on "something", only the relative
paths appear to the CGI, and I cannot open the file.

What should I do?
1. I could carry the last path in a cookie and construct
  the full path.  But this would only work for nodes
  that accept cookies.

2. I could change all the paths to absolute.  Much much
  work.

Any better suggestions?

Thanks in advance.
Mike.


--
Michael D. Berger
[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]



--

[23:49:00] LarpGM: Did my little TP comment scare you off?
[23:49:22] ilzarion: no, the shrieking retarded child eating
people did

-Feb 06, 2001, times apparent.


Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.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]






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



--

"What's with the server farm down in the basement?"

-Spider, Three Skulls Commons at Selden House, 4/15/00

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.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]



RE: [users@httpd] Newbie CGI: nested href

2005-06-04 Thread Michael D. Berger
Problem solved by pathcing the href in the outgoing response.
Mike.

--
Michael D. Berger
[EMAIL PROTECTED] 

> -Original Message-
> From: Michael D. Berger [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, June 04, 2005 12:34 AM
> To: users@httpd.apache.org
> Subject: RE: [EMAIL PROTECTED] Newbie CGI: nested href
> 
> 
> I have a legacy tree with numerous branches, and many relative links.
> I was hoping to get it all with one CGI.
> Mike.
> 
> --
> Michael D. Berger
> [EMAIL PROTECTED] 
> 
> > -Original Message-
> > From: Dan Mahoney, System Admin [mailto:[EMAIL PROTECTED] 
> > Sent: Saturday, June 04, 2005 12:32 AM
> > To: Apache-Users
> > Subject: Re: [EMAIL PROTECTED] Newbie CGI: nested href
> > 
> > 
> > On Sat, 4 Jun 2005, Michael D. Berger wrote:
> > 
> > Try putting the cgi in the same directory as the html file 
> > and turning on 
> > execCGI in that directory?  That's the easy answer.  I 
> > suppose there's 
> > something harder involving mod_rewrite.
> > 
> > But since you're parsing the html anyway, you could rewrite 
> > them on the 
> > fly, too.
> > 
> > Your call.
> > 
> > 
> > > I wrote a CGI that opens an html file, reads it and sends
> > > it out (with some modification).  Now these files contain
> > > relative links of the form:
> > >   something
> > > Now when the client clicks on "something", only the relative
> > > paths appear to the CGI, and I cannot open the file.
> > >
> > > What should I do?
> > > 1. I could carry the last path in a cookie and construct
> > >   the full path.  But this would only work for nodes
> > >   that accept cookies.
> > >
> > > 2. I could change all the paths to absolute.  Much much
> > >   work.
> > >
> > > Any better suggestions?
> > >
> > > Thanks in advance.
> > > Mike.
> > >
> > >
> > > --
> > > Michael D. Berger
> > > [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]
> > >
> > 
> > --
> > 
> > [23:49:00] LarpGM: Did my little TP comment scare you off?
> > [23:49:22] ilzarion: no, the shrieking retarded child eating 
> > people did
> > 
> > -Feb 06, 2001, times apparent.
> > 
> > 
> > Dan Mahoney
> > Techie,  Sysadmin,  WebGeek
> > Gushi on efnet/undernet IRC
> > ICQ: 13735144   AIM: LarpGM
> > Site:  http://www.gushi.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]
> 
> 



-
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: [users@httpd] Newbie CGI: nested href

2005-06-03 Thread Michael D. Berger
I have a legacy tree with numerous branches, and many relative links.
I was hoping to get it all with one CGI.
Mike.

--
Michael D. Berger
[EMAIL PROTECTED] 

> -Original Message-
> From: Dan Mahoney, System Admin [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, June 04, 2005 12:32 AM
> To: Apache-Users
> Subject: Re: [EMAIL PROTECTED] Newbie CGI: nested href
> 
> 
> On Sat, 4 Jun 2005, Michael D. Berger wrote:
> 
> Try putting the cgi in the same directory as the html file 
> and turning on 
> execCGI in that directory?  That's the easy answer.  I 
> suppose there's 
> something harder involving mod_rewrite.
> 
> But since you're parsing the html anyway, you could rewrite 
> them on the 
> fly, too.
> 
> Your call.
> 
> 
> > I wrote a CGI that opens an html file, reads it and sends
> > it out (with some modification).  Now these files contain
> > relative links of the form:
> >   something
> > Now when the client clicks on "something", only the relative
> > paths appear to the CGI, and I cannot open the file.
> >
> > What should I do?
> > 1. I could carry the last path in a cookie and construct
> >   the full path.  But this would only work for nodes
> >   that accept cookies.
> >
> > 2. I could change all the paths to absolute.  Much much
> >   work.
> >
> > Any better suggestions?
> >
> > Thanks in advance.
> > Mike.
> >
> >
> > --
> > Michael D. Berger
> > [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]
> >
> 
> --
> 
> [23:49:00] LarpGM: Did my little TP comment scare you off?
> [23:49:22] ilzarion: no, the shrieking retarded child eating 
> people did
> 
> -Feb 06, 2001, times apparent.
> 
> 
> Dan Mahoney
> Techie,  Sysadmin,  WebGeek
> Gushi on efnet/undernet IRC
> ICQ: 13735144   AIM: LarpGM
> Site:  http://www.gushi.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: [users@httpd] Newbie CGI: nested href

2005-06-03 Thread Dan Mahoney, System Admin

On Sat, 4 Jun 2005, Michael D. Berger wrote:

Try putting the cgi in the same directory as the html file and turning on 
execCGI in that directory?  That's the easy answer.  I suppose there's 
something harder involving mod_rewrite.


But since you're parsing the html anyway, you could rewrite them on the 
fly, too.


Your call.



I wrote a CGI that opens an html file, reads it and sends
it out (with some modification).  Now these files contain
relative links of the form:
  something
Now when the client clicks on "something", only the relative
paths appear to the CGI, and I cannot open the file.

What should I do?
1. I could carry the last path in a cookie and construct
  the full path.  But this would only work for nodes
  that accept cookies.

2. I could change all the paths to absolute.  Much much
  work.

Any better suggestions?

Thanks in advance.
Mike.


--
Michael D. Berger
[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]



--

[23:49:00] LarpGM: Did my little TP comment scare you off?
[23:49:22] ilzarion: no, the shrieking retarded child eating people did

-Feb 06, 2001, times apparent.


Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.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]



RE: [users@httpd] Newbie Qu - details of graceful restart on Windows

2005-06-02 Thread Boyle Owen
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Mittwoch, 1. Juni 2005 18:17
> To: users@httpd.apache.org
> Subject: [EMAIL PROTECTED] Newbie Qu - details of graceful restart on
> Windows

Can you do a graceful restart on Windows?

On Unix, a graceful corresponds to sending a USR1 signal to the apache parent. 
This causes the extant daemons to exit when they're finished and all new 
daemons to come up with the new config. All the apache control methods use 
signals (restart = HUP, stop = TERM). 

On Windows, these signals don't exist and apache is controlled as a service. 
You have "apache -k restart" but I'm not sure if that corresponds to a HUP or 
USR1. Either try it and let us know, or maybe some Windows guru has a clearer 
idea.

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

> 
> 
> 
> Hi,
> 
> I'm quite new to Apache, and trying to understand what a 
> graceful restart
> on Windows actually does.  I'm running Apache with mod_jk 
> with multiple
> Tomcats.  When we add a new Tomcat, I would like to update the
> workers.properties file and then restart Apache so the 
> changes take effect.
> 
> Would anybody be able to explain exactly what happens, or point me to
> documentation that already exists?  I've searched the mailing 
> lists and
> googled a lot, with not much detail.
> 
> My main concern is whether its possible for requests to be 
> dropped during
> this process, and whether session affinity is maintained - eg 
> if a browser
> is already talking to a certain Tomcat, will it continue to 
> talk to exactly
> that one after the restart?
> 
> Many thanks,
> 
> David
> 
> 
> 
> 
> -
> 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]
> 
> 
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen 
Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a 
private and personal nature. It is not related to the exchange or business 
activities of the SWX Group. Le présent e-mail est un message privé et 
personnel, sans rapport avec l'activité boursière du Groupe SWX.
 
 
This message is for the named person's use only. It may contain confidential, 
proprietary or legally privileged information. No confidentiality or privilege 
is waived or lost by any mistransmission. If you receive this message in error, 
please notify the sender urgently and then immediately delete the message and 
any copies of it from your system. Please also immediately destroy any 
hardcopies of the message. You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient. The sender's company reserves the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are 
those of the individual sender, except where the message states otherwise and 
the sender is authorised to state them to be the views of the sender's company.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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: [users@httpd] Newbie query about proxypass

2005-05-23 Thread Boyle Owen


> -Original Message-
> From: de Groot, Peter [mailto:[EMAIL PROTECTED]
> Sent: Montag, 23. Mai 2005 11:47
> To: users@httpd.apache.org
> Subject: RE: [EMAIL PROTECTED] Newbie query about proxypass
> 
> 
> 
> Many thanks for the help, and some excellent reading :-)
> 
> However ... I am still getting inconsistant results, both myself and 
> my testing off-site people.  
> 
> Have I done it correctly ?  Code below.
> 
> I am wondering ... I am proxy-ing to an IIS with its default 
> file set (index.htm).
> Is my directory listing restrictions comflicting with those 
> on the IIS server.
> 
> For instance ... A lookup of  
> http://egshs.wa.edu.au/weather/index.htm works perfectly, whereas
>  http://egshs.wa.edu.au/weather seems to fail dismally :-(

First off, congratulations for posting your real URL - it makes it so much 
easier to debug when you can hit a live server. I wish some more posters were a 
similarly non-paranoid...

Your problem is that the second URL immediately returns the content of the page 
(ie, index.htm). So the client thinks that "http://egshs.wa.edu.au/weather"; is 
a page under the docroot. (ie, not a dir). Therefore, any links in it (like 
 turn into a request for 
http://egshs.wa.edu.au/Current/OutsideTemp.gif - this is not where the image is 
found so it fails.

You need to cause a redirect to http://egshs.wa.edu.au/weather/ so that the 
browser sees that it's a sub-directory and so requests the image links as 
http://egshs.wa.edu.au/weather/Current/OutsideTemp.gif.

See below for the fix... 
> 
> Regards
> Peter
> 
> 
> # -
> # -- PdeG changed this
> 
> HostnameLookups  off
> 
> #  --- PdeG
> #
> 
>   ServerName   egshs.wa.edu.au
>   ServerAlias  www.egshs.wa.edu.au
>   DocumentRoot /mnt/hd/website
>   UseCanonicalName On
> 
> 
> 
> 
>  Options -Indexes FollowSymLinks MultiViews
>  DirectoryIndex   index.html
> 
>  AllowOverride None
> 
>  Order allow,deny
>  Allow from all
> 
> 
> 
> # RewriteEngine on
> # RewriteRule/weather$   weather/  [R]

You should've left this in...

> 
> ProxyRequests off
> ProxyPass/weather   http://ms-weather.egshs.local
> ProxyPassReverse /weather   http://ms-weather.egshs.local

The ProxyPass is passing the request to the proxy as if it's a file - it hasn't 
realised that the resource is a directory.

Re-reading my earlier comment, I had overlooked that the "weather" resource was 
immediately proxied so that's why the automatic redirection didn't work and why 
you still need the RewriteRule. So do it like this:

RewriteEngine on
RewriteRule/weather$   weather/  [R]
 
ProxyRequests off
ProxyPass/weather/   http://ms-weather.egshs.local/
ProxyPassReverse /weather/   http://ms-weather.egshs.local/

Note trailing slashes added..

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


> #
> #
> 
> 
> 
> 
> Peter de Groot
> System Administrator
> Eastern Goldfields Senior High School
> Kalgoorlie 6430
> Mob:  0418915312
>  
> 
> 
> -Original Message-
> From: Boyle Owen [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, 19 May 2005 5:55 PM
> To: users@httpd.apache.org
> Subject: RE: [EMAIL PROTECTED] Newbie query about proxypass
> 
> 
> > -Original Message-
> > From: de Groot, Peter [mailto:[EMAIL PROTECTED]
> > Sent: Donnerstag, 19. Mai 2005 10:32
> > To: users@httpd.apache.org
> > Subject: [EMAIL PROTECTED] Newbie query about proxypass
> > 
> > 
> > 
> > 
> > Please help :-)
> > 
> > New to Apache and am trying to setup a proxy pass to our
> > weather station
> > Website running on IIS on a PC on our internal network.   
> > Accessable vie
> > 
> > http://egshs.wa.edu.au/weather
> > 
> > Am having a few probs ... Starting with this one. .. The dreaded 
> > trailing slash ;-)
> > 
> > According to all the doc I have managed to google this 
> rewrite should 
> > work.
> > 
> > The problem is that I have to do a refresh the first time I 
> access the 
> > site with MS browsers... Otherwise the in-page images do 
> not come up. 
> > After the first
> > refresh it is fine 
> 
> I do not see this behaviour with IE6.0... The images load first time.
> 
> > 
> > Any thoughts .. Extract below.
> > 
> > 
> > 
> > RewriteEngine on
> > RewriteRule/weather$   weather/  [R]
> 
> This is a standard prescription for the trailing-slash 
> problem. However, you can avoid the problem entirely by 
> setting ServerName and UseCanonicalName correctly. If you do 
> this, apache will make a self-referential URL automatically 
> and you won't need to bother with mod_rewrite - see 
> http://httpd.apache.org/docs-2.0/server-wide.html#identificati
> on for details.
>  
> > ProxyRequests off
> > ProxyPass/weather   http://ms-weather.egshs.local/
> > ProxyPassReverse /weather   http://ms-weather.egshs.local/
> 

RE: [users@httpd] Newbie query about proxypass

2005-05-23 Thread de Groot, Peter

Many thanks for the help, and some excellent reading :-)

However ... I am still getting inconsistant results, both myself and 
my testing off-site people.  

Have I done it correctly ?  Code below.

I am wondering ... I am proxy-ing to an IIS with its default file set 
(index.htm).
Is my directory listing restrictions comflicting with those on the IIS server.

For instance ... A lookup of  http://egshs.wa.edu.au/weather/index.htm works 
perfectly, whereas
 http://egshs.wa.edu.au/weather seems to fail dismally :-(

Regards
Peter


# -
# -- PdeG changed this

HostnameLookups  off

#  --- PdeG
#

  ServerName   egshs.wa.edu.au
  ServerAlias  www.egshs.wa.edu.au
  DocumentRoot /mnt/hd/website
  UseCanonicalName On




 Options -Indexes FollowSymLinks MultiViews
 DirectoryIndex   index.html

 AllowOverride None

 Order allow,deny
 Allow from all



# RewriteEngine on
# RewriteRule/weather$   weather/  [R]

ProxyRequests off
ProxyPass/weather   http://ms-weather.egshs.local
ProxyPassReverse /weather   http://ms-weather.egshs.local
#
#




Peter de Groot
System Administrator
Eastern Goldfields Senior High School
Kalgoorlie 6430
Mob:  0418915312
 


-Original Message-
From: Boyle Owen [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 19 May 2005 5:55 PM
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED] Newbie query about proxypass


> -Original Message-
> From: de Groot, Peter [mailto:[EMAIL PROTECTED]
> Sent: Donnerstag, 19. Mai 2005 10:32
> To: users@httpd.apache.org
> Subject: [EMAIL PROTECTED] Newbie query about proxypass
> 
> 
> 
> 
> Please help :-)
> 
> New to Apache and am trying to setup a proxy pass to our
> weather station
> Website running on IIS on a PC on our internal network.   
> Accessable vie
> 
> http://egshs.wa.edu.au/weather
> 
> Am having a few probs ... Starting with this one. .. The dreaded 
> trailing slash ;-)
> 
> According to all the doc I have managed to google this rewrite should 
> work.
> 
> The problem is that I have to do a refresh the first time I access the 
> site with MS browsers... Otherwise the in-page images do not come up. 
> After the first
> refresh it is fine 

I do not see this behaviour with IE6.0... The images load first time.

> 
> Any thoughts .. Extract below.
> 
> 
> 
> RewriteEngine on
> RewriteRule/weather$   weather/  [R]

This is a standard prescription for the trailing-slash problem. However, you 
can avoid the problem entirely by setting ServerName and UseCanonicalName 
correctly. If you do this, apache will make a self-referential URL 
automatically and you won't need to bother with mod_rewrite - see 
http://httpd.apache.org/docs-2.0/server-wide.html#identification for details.
 
> ProxyRequests off
> ProxyPass/weather   http://ms-weather.egshs.local/
> ProxyPassReverse /weather   http://ms-weather.egshs.local/

Your use of trailing slashes is inconsistent here. Either:

ProxyPass /weather/ http://ms-weather.egshs.local/
or:
ProxyPass /weather  http://ms-weather.egshs.local

(use / on both paths or neither). However, this doesn't really matter - your 
setup will just lead to a proxy request to 
http://ms-weather.egshs.local//some-file which still works...

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




> 
> TIA
> Regards
> 
> 
> Peter de Groot
> System Administrator
> Eastern Goldfields Senior High School
> Kalgoorlie 6430
> Mob:  0418915312
>  
> 
> -
> 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]
> 
> 
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen 
Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a 
private and personal nature. It is not related to the exchange or business 
activities of the SWX Group. Le présent e-mail est un message privé et 
personnel, sans rapport avec l'activité boursière du Groupe SWX.
 
 
This message is for the named person's use only. It may contain confidential, 
proprietary or legally privileged information. No confidentiality or privilege 
is waived or lost by any mistransmission. If you receive this message in error, 
please notify the sender urgently and then immediately delete the message and 
any copies of it from your system. Please also immediately destroy any 
hardcopies of the message. You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient. The sender's company reserves the right to monitor all e-mail 
communications through their networks. Any

RE: [users@httpd] Newbie query about proxypass

2005-05-19 Thread Boyle Owen
> -Original Message-
> From: de Groot, Peter [mailto:[EMAIL PROTECTED]
> Sent: Donnerstag, 19. Mai 2005 10:32
> To: users@httpd.apache.org
> Subject: [EMAIL PROTECTED] Newbie query about proxypass
> 
> 
> 
> 
> Please help :-)
> 
> New to Apache and am trying to setup a proxy pass to our 
> weather station
> Website running on IIS on a PC on our internal network.   
> Accessable vie
> 
> http://egshs.wa.edu.au/weather
> 
> Am having a few probs ... Starting with this one. .. The dreaded
> trailing slash ;-)
> 
> According to all the doc I have managed to google this rewrite should
> work.
> 
> The problem is that I have to do a refresh the first time I access the
> site with
> MS browsers... Otherwise the in-page images do not come up. After the
> first 
> refresh it is fine 

I do not see this behaviour with IE6.0... The images load first time.

> 
> Any thoughts .. Extract below.
> 
> 
> 
> RewriteEngine on
> RewriteRule/weather$   weather/  [R]

This is a standard prescription for the trailing-slash problem. However, you 
can avoid the problem entirely by setting ServerName and UseCanonicalName 
correctly. If you do this, apache will make a self-referential URL 
automatically and you won't need to bother with mod_rewrite - see
http://httpd.apache.org/docs-2.0/server-wide.html#identification for details.
 
> ProxyRequests off
> ProxyPass/weather   http://ms-weather.egshs.local/
> ProxyPassReverse /weather   http://ms-weather.egshs.local/

Your use of trailing slashes is inconsistent here. Either:

ProxyPass /weather/ http://ms-weather.egshs.local/
or:
ProxyPass /weather  http://ms-weather.egshs.local

(use / on both paths or neither). However, this doesn't really matter - your 
setup will just lead to a proxy request to 
http://ms-weather.egshs.local//some-file which still works...

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




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

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