[us...@httpd] How to change response HTTP Headers?

2010-06-10 Thread antonio giulio
Hi, I need to change the returned status and the location header of a response: From To 302 - 200 Location: somewhere-somewhere else How can I do that with Apache HTTPD? Do I need some module? Thanks, Julio - The official

[us...@httpd] Authentication of proxy over own module

2010-06-10 Thread Petr Hracek
Hello apache users, I would like to explain my problem. I have developed the module which is used for authorization to web pages. It works fine without problem but I would like to use that module for authorization of proxy requests as well. Proxy requests are not defined in settings of browser

[us...@httpd] Configuring apache to use LDAP over SSL on PHP

2010-06-10 Thread Jérémy ESCOLANO
Hi I'm writing from france cuz i'm having a big problem with apache and ldap. let me explain : I would like to make an Apache server communicate in php with en openLDAP server (both servers are under win srv 2003), using LDAPS protocol. In order to activate LDAPS on my openLDAP srv (srvLDAP), I

Re: [us...@httpd] Configuring apache to use LDAP over SSL on PHP

2010-06-10 Thread Tom Evans
On Thu, Jun 10, 2010 at 9:48 AM, Jérémy ESCOLANO jeremyescol...@gmail.com wrote: Hi I'm writing from france cuz i'm having a big problem with apache and ldap. let me explain : I would like to make an Apache server communicate in php with en openLDAP server (both servers are under win srv

[us...@httpd] rewrite rule for mingle

2010-06-10 Thread Tapas Mishra
Hi, I am using a backend server to serve an application which is running on apache and another apache which is front end to users coming from internet. So the back end server is hidden from outside. I want if some one types in URL http://site1.mydomain.com/application then they be redirected to

Re: [us...@httpd] Apache/2.2.12 Reverse Proxy

2010-06-10 Thread Krist van Besien
On Tue, Jun 8, 2010 at 11:31 AM, Andy Ee and...@sysatwork.com wrote: Hi Krist, I went to install Live HTML Headers and tested it with FireFox browser. The output: http://10.0.0.7/abc/mysite/home.html GET /abc/mysite/home.html HTTP/1.1 Host: 10.0.0.7 User-Agent: Mozilla/5.0 (Windows; U;

Re: [us...@httpd] Apache/2.2.12 Reverse Proxy

2010-06-10 Thread Krist van Besien
On Tue, Jun 8, 2010 at 11:43 AM, Andy Ee and...@sysatwork.com wrote: Hi, To be more detail, the output of Live HTML Headers is correct. The home.html does internal redirection to login.jsp, but somehow reverse proxy is unable to map properly. Any idea? Thanks. So when the browser requests

Re: [us...@httpd] Configuring apache to use LDAP over SSL on PHP

2010-06-10 Thread Eric Covener
On Thu, Jun 10, 2010 at 4:48 AM, Jérémy ESCOLANO jeremyescol...@gmail.com wrote: Hi I'm writing from france cuz i'm having a big problem with apache and ldap. let me explain : Configuring php to access an LDAP server is off-topic on this list, you'd probably have better luck on a PHP list.

Re: [us...@httpd] Urgent help needed in creating new directive in http.conf.

2010-06-10 Thread Eric Covener
On Thu, Jun 10, 2010 at 12:58 AM, Matty Ronald matty.r...@gmail.com wrote: Hi All, We want to skip a piece of code at run time in a module. In my opinion for above request we need to add a directive or modify the existing directive in configurations i.e. httpd.conf file for a specified

Re: [us...@httpd] rewrite rule for mingle

2010-06-10 Thread Eric Covener
  IfModule mod_rewrite.c         ReWriteEngine on         ReWriteRule /application/(.*) - [L]         RewriteRule ^/(.*) http://site1.mydomain.com:8080/$1 [P,L]     /IfModule /application gives a login screen after some one logs in /application is not present on the URL of client browser

Re: [us...@httpd] How to change response HTTP Headers?

2010-06-10 Thread Eric Covener
On Thu, Jun 10, 2010 at 4:29 AM, antonio giulio antongiuli...@gmail.com wrote: Hi, I need to change the returned status and the location header of a response: From To 302 - 200 Location: somewhere-somewhere else Who is going to read the Location header on a 200 response? How is the

Re: [us...@httpd] Authentication of proxy over own module

2010-06-10 Thread Eric Covener
On Thu, Jun 10, 2010 at 4:32 AM, Petr Hracek phrac...@gmail.com wrote: It works fine without problem but I would like to use that module for authorization of proxy requests as well. Proxy requests are not defined in settings of browser (in Firefox Tools-Options-LAN settings - Manual

Re: [us...@httpd] rewrite rule for mingle

2010-06-10 Thread Tapas Mishra
On Thu, Jun 10, 2010 at 4:34 PM, Eric Covener cove...@gmail.com wrote: Try adding the R flag  on the first RewriteRule. Ok it did seem to do some thing. Actually the application is not developed by me.When some one types on LAN http://192.168.1.10:8080 a welcome screen comes that is of mingle.

Re: [us...@httpd] rewrite rule for mingle

2010-06-10 Thread Eric Covener
On Thu, Jun 10, 2010 at 7:43 AM, Tapas Mishra mightydre...@gmail.com wrote: On Thu, Jun 10, 2010 at 4:34 PM, Eric Covener cove...@gmail.com wrote: Try adding the R flag  on the first RewriteRule. Ok it did seem to do some thing. Actually the application is not developed by me.When some one

RE: [us...@httpd] Apache/2.2.12 Reverse Proxy

2010-06-10 Thread Andy Ee
Hi Krist, Thanks for your response! Yes you are right. My initial landing page is login.jsp. On the page itself, there's HOME hyperlink that points to home.html. When I click on the hyperlink, the reverse proxy contacts the internal server for home.html. This home.html does redirect back to

Re: [us...@httpd] rewrite rule for mingle

2010-06-10 Thread Tapas Mishra
Actually I have got quite confused. I will tell from start. I am running a website. http://site1.mydomain.com on a pc on LAN. There is a server which has a public IP. I have access to modify what ever Apache file is needed. That server does not have a DNS. Server A

Re: [us...@httpd] Configuring apache to use LDAP over SSL on PHP

2010-06-10 Thread Jérémy ESCOLANO
Actually this is about configuring Apache server to allow it to communicate with LDAP server, that is why i'm asking here, but of course I'll try to get so help on PHP list. Though, I heard about a ldaprc and ldap.conf file for apache? somebody can give me informations about these files ? (what

[us...@httpd] How to prevent email sent from the server

2010-06-10 Thread Sakthi Esakiappan
Hello, Some body is using our domain name(example.com) and sending spam email to others using our domain name. Is there any way to prevent this. He is using his own server to send such spam emails. It is killing our business, any help is appreciated... -- With Regards, Sakthi Esakiappan.M

Re: [us...@httpd] How to prevent email sent from the server

2010-06-10 Thread Eric Covener
On Thu, Jun 10, 2010 at 8:45 AM, Sakthi Esakiappan sakthi.esakiap...@mercuryminds.com wrote: Some body is using our domain name(example.com) and sending spam email to others using our domain name. Is there any way to prevent this. He is using his own server to send such spam emails. It is

RE: [us...@httpd] Configuring apache to use LDAP over SSL on PHP

2010-06-10 Thread Emmanuel Bailleul
De : Jérémy ESCOLANO [mailto:jeremyescol...@gmail.com] Envoyé : jeudi 10 juin 2010 14:12 À : users@httpd.apache.org Objet : Re: [us...@httpd] Configuring apache to use LDAP over SSL on PHP Actually this is about configuring Apache server to allow it to communicate with LDAP server, that is why

Re: [us...@httpd] Configuring apache to use LDAP over SSL on PHP

2010-06-10 Thread Tom Evans
On Thu, Jun 10, 2010 at 1:11 PM, Jérémy ESCOLANO jeremyescol...@gmail.com wrote: Actually this is about configuring Apache server to allow it to communicate with LDAP server, that is why i'm asking here, but of course I'll try to get so help on PHP list. Though, I heard about a ldaprc and

Re: [us...@httpd] rewrite rule for mingle

2010-06-10 Thread Tom Evans
On Thu, Jun 10, 2010 at 1:11 PM, Tapas Mishra mightydre...@gmail.com wrote: Actually I have got quite confused. I will tell from start. .. VirtualHost *:80        ServerName site1.mydomain.com        ServerAdmin webmas...@localhost        ProxyRequests off        Proxy *        Order

[us...@httpd] mod_ldap issue on Apache 2.2.15 on AIX

2010-06-10 Thread Christophe Thibault
Hi, I built Apache 2.2.15 with LDAP support on a AIX system. When I test a LDAP-protected location, I get this weird error in my error_log file : [Thu Jun 10 15:26:45 2010] [info] [client 172.16.4.212] [544822] auth_ldap authenticate: user chris authentication failed; URI /testldap [LDAP:

[us...@httpd] How to serve pages from a hidden secondary server

2010-06-10 Thread Matt Easton
Hello there, I've just joined this group as I'm trying more complicated things now than I've done before in Apache! Please let me know if I'm not doing anything right. Thanks for your time. I have two computers on a home network, let's call them server1 and server2. They are both running an

Re: [us...@httpd] How to serve pages from a hidden secondary server

2010-06-10 Thread Tom Evans
On Thu, Jun 10, 2010 at 2:56 PM, Matt Easton matthewjeas...@gmail.com wrote: Hello there, I've just joined this group as I'm trying more complicated things now than I've done before in Apache! Please let me know if I'm not doing anything right. Thanks for your time. I have two computers

Re: [us...@httpd] How to serve pages from a hidden secondary server

2010-06-10 Thread Tom Evans
On Thu, Jun 10, 2010 at 3:08 PM, Tom Evans tevans...@googlemail.com wrote: Enable mod_proxy and mod_proxy_html, add this to the vhost you want mod_proxy_http Cheers Tom - The

Re: [us...@httpd] mod_ldap issue on Apache 2.2.15 on AIX

2010-06-10 Thread Eric Covener
On Thu, Jun 10, 2010 at 9:46 AM, Christophe Thibault christophe.thiba...@planisware.com wrote: Hi, I built Apache 2.2.15 with LDAP support on a AIX system. When I test a LDAP-protected location, I get this weird error in my error_log file : [Thu Jun 10 15:26:45 2010] [info] [client

Re: [us...@httpd] How to serve pages from a hidden secondary server

2010-06-10 Thread Matt Easton
On 10 Jun 2010, at 15:08, Tom Evans wrote: On Thu, Jun 10, 2010 at 2:56 PM, Matt Easton matthewjeas...@gmail.com wrote: Hello there, I've just joined this group as I'm trying more complicated things now than I've done before in Apache! Please let me know if I'm not doing anything right.

Re: [us...@httpd] [Fwd: Reverse Proxy Configuration]

2010-06-10 Thread John Iliffe
On Tue, 2010-08-06 at 10:54 +0200, Krist van Besien wrote: On Tue, Jun 8, 2010 at 4:34 AM, John Iliffe john.ili...@iliffe.ca wrote: If I try to use either of the ProxyHTMLEnable On or ProxyHTMLURLMap directives apachectl -S still flags them as errors. You have proxy_html 3.0.1.

[us...@httpd] Trying to use one index file for all files in a directory

2010-06-10 Thread Jeffrey Schmitz
Hey, it's my first time using this mailing list, so I apologize if I'm doing something wrong... That said, I have searched for a way to use the index.php file that I have created to be the default for all folders nested in a top level Documents folder. It basicly searches whatever directory it is

RE: [us...@httpd] mod_disk_cache causing corrupted output on server side includes?

2010-06-10 Thread Geoff Millikan
Just in case your filesystem doesn't support them, have you tried disabling sendfile and mmap? Since all our files are being read directly off the drive (we're not using a NFS or CIFS mount) this shouldn't be an issue (at least on RedHat Enterprise Linux). But we'll give it a shot and report

Re: [us...@httpd] mod_disk_cache causing corrupted output on server side includes?

2010-06-10 Thread William A. Rowe Jr.
On 6/10/2010 4:00 PM, Geoff Millikan wrote: Just in case your filesystem doesn't support them, have you tried disabling sendfile and mmap? Since all our files are being read directly off the drive (we're not using a NFS or CIFS mount) this shouldn't be an issue (at least on RedHat

RE: [users@httpd] mod_disk_cache causing corrupted output on server side includes?

2010-06-10 Thread Geoff Millikan
Just in case your filesystem doesn't support them, have you tried disabling sendfile and mmap? Since all our files are being read directly off the drive (we're not using a NFS or CIFS mount) this shouldn't be an issue (at least on RedHat Enterprise Linux). But we'll give it a shot and

Re: [us...@httpd] How to prevent email sent from the server

2010-06-10 Thread Stephen Love
What he's more LIKELY doing is bouncing HIS FAKE MAILS OFF your server, giving it the appearance it is sent from yours! That can get YOUR email server BLACKLISTED! (Or even your account turned off by your provider!) See us online at http://www.LOVEnCompany.com. -- Original Message

[us...@httpd] question about proxy aware site

2010-06-10 Thread J. Bakshi
Dear list, I have a problem with a site when accesses via proxy. I have no clue yet how to debug or in what direction, so please bear with me. The site in question has no problem to be accessed and to download pdf from it. but from a network which has proxy server faces problem during