Re: [EMAIL PROTECTED] How can I write a cgi using c/c++?

2007-07-10 Thread ying lcs
Thanks. That is what I am looking for. How can I put your test program running in apache and how can I invoke that via my browser? Thanks again. On 7/10/07, Vincent Bray [EMAIL PROTECTED] wrote: On 10/07/07, ying lcs [EMAIL PROTECTED] wrote: Can you please tell me what is the easiest way to

Re: [EMAIL PROTECTED] 301 Redirect

2007-07-10 Thread Mark Watts
I want to redirect visitors from http://www.foo.com/folder/index.html to http://folder.foo.com/index.html What is the best way to accomplish this? RedirectMatch permanent /([^/]*)/index.html http://$1.foo.com/index.html Mark. -- Mark Watts BSc RHCE MBCS Senior Systems Engineer QinetiQ

Re: [EMAIL PROTECTED] How can I write a cgi using c/c++?

2007-07-10 Thread Vincent Bray
On 10/07/07, ying lcs [EMAIL PROTECTED] wrote: Thanks. That is what I am looking for. How can I put your test program running in apache and how can I invoke that via my browser? First you'll need to compile it. Hopefully you're using an operating system that bundles a C compiler :-) $ cc

[EMAIL PROTECTED] Apache 2.2.4 / Auth LDAP / OpenLDAP 2.3.35 User authentication

2007-07-10 Thread Kamil Wencel
Hi List, I am sorry to bother you with this, but I am banging my head for days now and I don't seem to make any progress. I want to supply our users with a way to upload files onto our servers without the hassle of FTP or SCP. DAV seemed like a good idea since a lot of systems already have

[EMAIL PROTECTED] apache hostname resolution (strange problem)

2007-07-10 Thread Jeff Fulmer
I have the oddest situation. I have a test server on the LAN. I added a host entry for www.myserver.com (actual name changed to protect the innocent). I can ping www.myserver.com and my resolved address matches the host entry. Life is grand, no? /usr/sbin/ping www.myserver.com PING

[EMAIL PROTECTED] mod_proxy_html, No content-type with Lotus Notes Quickplace

2007-07-10 Thread Jack Saunders
Reverse proxying Lotus Notes application QuickPlace with the usage of mod_proxy_html. It works great fixes most absolute links. However when the login page is served I receive the below error. [Tue Jul 10 13:24:28 2007] [info] [client 143.193.127.18] No content-type; bailing out of proxy-html

Re: [EMAIL PROTECTED] apache hostname resolution (strange problem)

2007-07-10 Thread Kamil Wencel
Hi Jeff, did you try to restart the nscd ? maybe it's still cached. OR make a reboot to be sure if you can. Jeff Fulmer schrieb: I have the oddest situation. I have a test server on the LAN. I added a host entry for www.myserver.com (actual name changed to protect the innocent). I can ping

Re: [EMAIL PROTECTED] Apache 2.2.4 / Auth LDAP / OpenLDAP 2.3.35 User authentication

2007-07-10 Thread Vincent Bray
On 10/07/07, Kamil Wencel [EMAIL PROTECTED] wrote: Hi List, Hi, reply inline.. I am sorry to bother you with this, but I am banging my head for days now and I don't seem to make any progress. I want to supply our users with a way to upload files onto our servers without the hassle of FTP or

[EMAIL PROTECTED] Find why httpd eats all swap

2007-07-10 Thread John Steel
Could someone cast an eye over this please - eventually swap fills and the server dies. Its under very light load, a few php sites, some direct html pages, some perl and java. First the system spec: [EMAIL PROTECTED] conf]# uname -r 2.6.17-1.2142_FC4smp [EMAIL PROTECTED] conf]# httpd -version

RE: [EMAIL PROTECTED] apache hostname resolution (strange problem)

2007-07-10 Thread Boyle Owen
-Original Message- From: Jeff Fulmer [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 10, 2007 2:56 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] apache hostname resolution (strange problem) I have the oddest situation. I have a test server on the LAN. I added a host

Re: [EMAIL PROTECTED] Apache 2.2.4 / Auth LDAP / OpenLDAP 2.3.35 User authentication

2007-07-10 Thread Tony Stevenson
Try this one: http://wiki.apache.org/httpd/UseLDAPToPasswordProtectAFolder Nice suggestion noodl :) AuthType Basic AuthzLDAPAuthoritative Off AuthBasicProvider ldap AuthName DOMAIN DAV Upload AuthLDAPBindDN cn=Manager,dc=domain,dc=org AuthLDAPBindPassword mysecretpassword AuthLDAPURL

Re: [EMAIL PROTECTED] Apache 2.2.4 / Auth LDAP / OpenLDAP 2.3.35 User authentication

2007-07-10 Thread Kamil Wencel
Tony Stevenson schrieb: Try this one: http://wiki.apache.org/httpd/UseLDAPToPasswordProtectAFolder Nice suggestion noodl :) I had a look at the wiki and I've decied to test this without DAV first. Any noodle, yes, I had a file based authentication for the DAV container that was

Re: [EMAIL PROTECTED] Apache 2.2.4 / Auth LDAP / OpenLDAP 2.3.35 User authentication

2007-07-10 Thread Kamil Wencel
LDAP issues aside, is DAV working ok? Yes, DAV is working fine as long as I use file based auth. I have to admit that my ldap knowledge is nowhere near sufficient but it'll take me some time to read the books I've ordered. No FAQ or online HOWTO or mailing-list archive I've read over the

[EMAIL PROTECTED] RE : [EMAIL PROTECTED] Find why httpd eats all swap

2007-07-10 Thread Laurent FAILLIE
Hi John, --- John Steel [EMAIL PROTECTED] a écrit : Could someone cast an eye over this please - eventually swap fills and the server dies. Its under very light load, a few php sites, some direct html pages, some perl and java. It's depend mainly about what your site is doing. Anyway,

[EMAIL PROTECTED] Rewrite Rule using HTTP Header information

2007-07-10 Thread Paul Kuykendall
Hi, I am trying to get a rewrite rule working that will take the value from an HTTP header and use the value to create a new target destination for the HTTP request. An example of what I'm trying to do follows: Original HTTP request being sent to http://myhost.domain/ containing the header

[EMAIL PROTECTED] Permissions problem

2007-07-10 Thread Chris Arnold
I think i am having a permissions problem on apache2.2.3. Anytime i create a folder in htdocs, i get a Access forbidden! You don't have permission to access the requested directory. There is either no index document or the directory is read-protected. If you think this is a server error, please

Re: [EMAIL PROTECTED] Permissions problem

2007-07-10 Thread Kamil Wencel
Hi Chris, You don't have permission to access the requested directory. There is either no index document or the directory is read-protected. my first guess would be: you have no index.html in the folder AND have the automatic directory listings disabled.

Re: [EMAIL PROTECTED] RE : [EMAIL PROTECTED] Find why httpd eats all swap

2007-07-10 Thread John Steel
Laurent FAILLIE wrote: Hi John, --- John Steel [EMAIL PROTECTED] a écrit : Could someone cast an eye over this please - eventually swap fills and the server dies. Its under very light load, a few php sites, some direct html pages, some perl and java. It's depend mainly about what

[EMAIL PROTECTED] gui for apache under windows

2007-07-10 Thread Tim Thorburn
Hello, I apologize if this question has been asked before, however I have not found any mention of it within the archives. As the subject says, I am looking for a gui to configure Apache 2.2.24 under Windows - I've done some searching online and all I can find are either Linux only options,

Re: [EMAIL PROTECTED] Permissions problem

2007-07-10 Thread Ralph Seward
What version of *nix are you running? Ralph On 7/10/07, Chris Arnold [EMAIL PROTECTED] wrote: Kamil Wencel wrote: Hi Chris, You don't have permission to access the requested directory. There is either no index document or the directory is read-protected. my first guess would be: you

Re: [EMAIL PROTECTED] Rewrite Rule using HTTP Header information

2007-07-10 Thread Vincent Bray
On 11/07/07, Paul Kuykendall [EMAIL PROTECTED] wrote: I am trying to get a rewrite rule working that will take the value from an HTTP header and use the value to create a new target destination for the HTTP request. An example of what I'm trying to do follows: Original HTTP request being sent

Re: [EMAIL PROTECTED] Protecting CGI script from download?

2007-07-10 Thread Vincent Bray
On 11/07/07, Larry Knight [EMAIL PROTECTED] wrote: I have a CGI script that is in the CGI-Executables folder (I think this the Mac OS X equivalent of the cgi-bin folder). It is a compiled C script. It is the equivalent of a cgi-bin directory but it's not enabled by default. Around about line