RE: [EMAIL PROTECTED] Apache mod_rewrite/mod_proxy conflict?

2007-12-11 Thread Axel-Stephane SMORGRAV
What you suggest would be security problem because it would allow anyone to use your RP to attack hosts on your network, or on external networks. Apart from that there is another mechanism (RewriteMap) that allows you to build the target URL dynamically. And no, neither ProxyPassReverse nor any

RE: [EMAIL PROTECTED] Apache mod_rewrite/mod_proxy conflict?

2007-12-11 Thread Axel-Stephane SMORGRAV
-Message d'origine- > De : Eric Covener [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 12 décembre 2007 03:55 > À : users@httpd.apache.org > Objet : Re: [EMAIL PROTECTED] Apache mod_rewrite/mod_proxy conflict? > > In 2.0 it's ambiguous between proxy and rewrite in the translate_name hook.

RE: [EMAIL PROTECTED] Enquiry about Reserve Proxy

2007-12-11 Thread pdt_p
Hi Axe.. Thank you for your help. I did check with LiveHTTPHeaders, i can see my Jpeg image request header and the response is HTTP 200 and the content type is image/jpeg. I still trying to figure out what's wrong with my web server. I have another question. I post it in other thread but haven'

Re: [EMAIL PROTECTED] Apache mod_rewrite/mod_proxy conflict?

2007-12-11 Thread pdt_p
Hi.. I forgot to mention, the reason why I asked about this dynamic URL because I have more than 1 internal server and the ip address/hostname for each internal server that I have to connect to is returned from url parameter. for example: - http:///testing/myserverB/otherPath --> http://myse

Re: [EMAIL PROTECTED] Apache mod_rewrite/mod_proxy conflict?

2007-12-11 Thread Eric Covener
On Dec 10, 2007 1:30 PM, Axel-Stephane SMORGRAV <[EMAIL PROTECTED]> wrote: > Judging from your problem description, specifically the fact that modifying > the ordering of the LoadModule directives changes the behaviour of the > server, you must be using Apache 1.3. > > From Apache 2.0 on the ord

Re: [EMAIL PROTECTED] Apache mod_rewrite/mod_proxy conflict?

2007-12-11 Thread pdt_p
Hi... from this solution: RewriteRule ^/testing/(.*)$ http://myserverB/$1 [P,L] RewriteRule ^/(.*)$ http://myserverA/$1 [P] ProxyPassReverse /testing http://myserverB/ the original server url is fixed. In this case http://myserverB and http://myserverA. What if the original URL is dynamic which

Re: [EMAIL PROTECTED] apachectl

2007-12-11 Thread Hiep Nguyen
On Tue, 11 Dec 2007, Vincent Bray wrote: On 11/12/2007, Hiep Nguyen <[EMAIL PROTECTED]> wrote: should i change to apache user or something else? i'll have couple people in this office upload files (.pdf, .php, .js, .doc, .xls, etc...) to /var/www/html/ folder and i don't want to give root pass

[EMAIL PROTECTED] Response handling: how to mod_headers be the last module in a response chain with Apache 2.0 ?

2007-12-11 Thread Lucas Brasilino
Hi Folks: I'm using Apache 2.0.59 in a SLES9/OES 1.0. I've got a problem/doubt that I'm looking around but I cannot figure out how to resolve. Many documentations says that with Apache 2.0 the order of module loading isn't important in response chain, but I didn't find how to set mod_headers to b

Re: [EMAIL PROTECTED] apachectl

2007-12-11 Thread Vincent Bray
On 11/12/2007, Hiep Nguyen <[EMAIL PROTECTED]> wrote: > should i change to apache user or something else? i'll have couple people > in this office upload files (.pdf, .php, .js, .doc, .xls, etc...) to > /var/www/html/ folder and i don't want to give root password to them. Don't use the apache use

Re: [EMAIL PROTECTED] apachectl

2007-12-11 Thread Hiep Nguyen
On Tue, 11 Dec 2007, Vincent Bray wrote: On 11/12/2007, Hiep Nguyen <[EMAIL PROTECTED]> wrote: thanks. couple more questions: how do i install/enable mod_status so i can use apachectl status? I don't remember exactly. There's either going to be a specific config file for it in /etc/httpd/co

Re: [EMAIL PROTECTED] apachectl

2007-12-11 Thread Vincent Bray
On 11/12/2007, Hiep Nguyen <[EMAIL PROTECTED]> wrote: > thanks. couple more questions: > > how do i install/enable mod_status so i can use apachectl status? I don't remember exactly. There's either going to be a specific config file for it in /etc/httpd/conf.d or else you should search /etc/httpd

Re: [EMAIL PROTECTED] Apache 2.2.6, problem with mod_proxy: "ProxyPass|ProxyPassMatch can not have a path when defined in a location."

2007-12-11 Thread Alan AZZERA
Ooops ! One more knowledge hole filled. Thanks & regards, Al. - 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

Re: [EMAIL PROTECTED] apachectl

2007-12-11 Thread Hiep Nguyen
On Tue, 11 Dec 2007, Vincent Bray wrote: On 11/12/2007, Vincent Bray <[EMAIL PROTECTED]> wrote: On 11/12/2007, Hiep Nguyen <[EMAIL PROTECTED]> wrote: yum install links, but only elinks package return. elinks should do fine. I should also mention that this status option relies on mod_status

RE: [EMAIL PROTECTED] Apache 2.2.6, problem with mod_proxy: "ProxyPass|ProxyPassMatch can not have a path when defined in a location."

2007-12-11 Thread Axel-Stephane SMORGRAV
Location goes under Directory - same thing. >From the manual: directory A directive marked as being valid in this context may be used inside , , , and containers in the server configuration files, subject to the restrictions outlined in Configuration Sections. -ascs -Message d'or

Re: [EMAIL PROTECTED] Apache 2.2.6, problem with mod_proxy: "ProxyPass|ProxyPassMatch can not have a path when defined in a location."

2007-12-11 Thread Alan AZZERA
Hi. According to http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass, the ProxyPass directive can take place only in server config, virtual host definition, and a directory block. Location is not mentionned... Regards, Al. --

Re: [EMAIL PROTECTED] apachectl

2007-12-11 Thread Vincent Bray
On 11/12/2007, Vincent Bray <[EMAIL PROTECTED]> wrote: > On 11/12/2007, Hiep Nguyen <[EMAIL PROTECTED]> wrote: > > yum install links, but only elinks package return. > > elinks should do fine. I should also mention that this status option relies on mod_status being configured at the usual /server-

Re: [EMAIL PROTECTED] apachectl

2007-12-11 Thread Vincent Bray
On 11/12/2007, Hiep Nguyen <[EMAIL PROTECTED]> wrote: > yum install links, but only elinks package return. elinks should do fine. -- noodl - The official User-To-User support forum of the Apache HTTP Server Project. See http://

[EMAIL PROTECTED] apachectl

2007-12-11 Thread Hiep Nguyen
hi list i do a minimal install centos 5, then install apache using yum and apachectl start and the test page worked. now i try apachectl status and i got: The 'links' package is required for this functionality. how do i install this package? i tried: yum install links, but only elinks package

RE: [EMAIL PROTECTED] Enquiry about Reserve Proxy

2007-12-11 Thread Axel-Stephane SMORGRAV
I would not know what is wrong with your configuration, but I would certainly start by examining a little more closely what is returned by the server. If you use Firefox you should look into LiveHTTPHeaders. If you use IE you should look into HTTPWatch. They both allow you to examine the interac

RE: [EMAIL PROTECTED] Intelligent/automatic cache expiry based on mtime

2007-12-11 Thread Axel-Stephane SMORGRAV
I guess that depends on what you want to achieve. The Expires header indicates the time at which the resource expires. This means that until the expiry date, a cache may serve the resource without revalidating it, i.e. sending a conditional request to ask if there would happen to be a newer ver

RE: [EMAIL PROTECTED] Enquiry about Reserve Proxy

2007-12-11 Thread pdt_p
Hi... there is no HTTP 404 return in my access log. From the log file, seems like thing works perfectly. but I relise that all jpeg images can't be rendered. I have check in the mime type config file, i can see there is mime type for jpeg (image/jpeg jpeg jpg). I am able to render all gif images.

Re: [EMAIL PROTECTED] Intelligent/automatic cache expiry based on mtime

2007-12-11 Thread Jergen Dutch
On Dec 7, 2007 2:29 PM, Axel-Stephane SMORGRAV <[EMAIL PROTECTED]> wrote: > ExpiresByType image/jpeg "modification plus 120 seconds" This will expire images which have not changed. I will stiick with etags. Thanks. - The offici

Re: [EMAIL PROTECTED] Apache, Tomcat and mod_proxy

2007-12-11 Thread Staf Wagemakers
I'd try to add a retry to you ProxyPass (retry=60) also try to increase MaxClients. hope this helps... -- Staf Wagemakers - http://www.wagemakers.be On Dec 10, 2007 9:24 PM, Ângelo Vimeney <[EMAIL PROTECTED]> wrote: > Hi, > > Thanks for your analysis, Karel. I'll try a larger timeout (60 sec

Re: [EMAIL PROTECTED] Problems with some charsets ??

2007-12-11 Thread Tony Molloy
On Tuesday 11 December 2007 10:52, Severin Gehwolf wrote: > Hi! > > > I been asked to migrate a software localisation website from Fedora 9 to > > Centos 5. Unfortunately much of the content of the site was developed > > using FrontPage on windows. I'm having trouble with the display of some > > c

RE: Re: [EMAIL PROTECTED] Apache mod_rewrite/mod_proxy conflict?

2007-12-11 Thread Tamer Embaby
Axel, Thank you for the enlightenment. I saw the code myself, you are right, even mod_rewrite requested the fixup hook to be registered after "mod_proxy.c" by name! So I got the picture of who should be called first now though I'm still surprised of the changing of order thing that make the behav

Re: [EMAIL PROTECTED] Problems with some charsets ??

2007-12-11 Thread Severin Gehwolf
Hi! > I been asked to migrate a software localisation website from Fedora 9 to > Centos 5. Unfortunately much of the content of the site was developed using > FrontPage on windows. I'm having trouble with the display of some > characters. For instance the apostrophe in english text and accents

[EMAIL PROTECTED] Problems with some charsets ??

2007-12-11 Thread Tony Molloy
Hi, I been asked to migrate a software localisation website from Fedora 9 to Centos 5. Unfortunately much of the content of the site was developed using FrontPage on windows. I'm having trouble with the display of some characters. For instance the apostrophe in english text and accents in sp

[EMAIL PROTECTED] apache 2.0.61 and mod_auth_xradius 0.4.6

2007-12-11 Thread Victor Sterpu
I use the folowing configuration: AuthType basic AuthName "Ambra-SectiunePrivata" AuthXRadiusAddServer 192.168.250.99:1900 secret AuthXRadiusTimeout 2 AuthXRadiusRetries 1 require valid-user AddHandler cgi-script .cgi Options +ExecCGI Allow from all The radius authentication is made succesfuly