Re: [us...@httpd] Forcing custom 404 error page instead of autoindex

2010-11-05 Thread Dennis Jacobfeuerborn
On 11/05/2010 05:08 AM, Eric Covener wrote: On Thu, Nov 4, 2010 at 10:45 PM, Dennis Jacobfeuerborn wrote: ErrorDocument 404 /_disabled/index.html RewriteEngine on RewriteRule !/_disabled/ /_force_404_ The idea was to use the rewrite rule to rewrite any access to a non-existing page and then h

[us...@httpd] Buffering I/O for (Fast)CGI

2010-11-05 Thread YorHel
Hello, I am considering migrating my sites from Lighttpd to Apache. And while migrating the configuration went fine on my test server (using mod_fcgid), there's one problem I have been unable to solve. Lighttpd buffers the entire HTTP request in memory before passing it to the content generator (

[us...@httpd] Certain Pages being served are erroring...

2010-11-05 Thread Scott Shippee
I maintain a series of web sites for the fraternal organizations I belong to and recently we published a set of web pages to out server for one of the sites and we are getting: Parse error: syntax error, unexpected T_STRING in /home/harmony9/www/harmonylodge9/Doric_Masonic_Center.html on line 1

RE: [us...@httpd] Apache2, MySQL and mod_dbd

2010-11-05 Thread Niklas Johansson
Hello, Thank you for your answer. What I have learned now is that lmysqlclient is named differently in OSX and Linux. Hence, since I planned to develop on OSX but deploy on Linux, I think I will need to abandon OSX for this projekt and use Linux. I thought that it would be almost transparent

Re: [us...@httpd] Buffering I/O for (Fast)CGI

2010-11-05 Thread Jeff Trawick
On Fri, Nov 5, 2010 at 9:36 AM, YorHel wrote: > Hello, > > I am considering migrating my sites from Lighttpd to Apache. And while > migrating the configuration went fine on my test server (using > mod_fcgid), there's one problem I have been unable to solve. > > Lighttpd buffers the entire HTTP req

Re: [us...@httpd] Certain Pages being served are erroring...

2010-11-05 Thread Tom Evans
On Fri, Nov 5, 2010 at 1:43 PM, Scott Shippee wrote: > I maintain a series of web sites for the fraternal organizations I belong to > and recently we published a set of web pages to out server for one of the > sites and we are getting: > > > > Parse error: syntax error, unexpected T_STRING in > /h

Re: [us...@httpd] Buffering I/O for (Fast)CGI

2010-11-05 Thread YorHel
Thanks for the quick reply! On 5 November 2010 15:18, Jeff Trawick wrote: > On Fri, Nov 5, 2010 at 9:36 AM, YorHel wrote: >> Hello, >> .. >> >> I have not been able to find a similar feature built-in into Apache, >> and while looking for solutions I came across mod_buffer in Apache >> 2.3. Which

Re: [us...@httpd] Certain Pages being served are erroring...

2010-11-05 Thread Dennis Jacobfeuerborn
On 11/05/2010 03:34 PM, Tom Evans wrote: On Fri, Nov 5, 2010 at 1:43 PM, Scott Shippee wrote: I maintain a series of web sites for the fraternal organizations I belong to and recently we published a set of web pages to out server for one of the sites and we are getting: Parse error: syntax e

[us...@httpd] Mod_Proxy with Basic Authentication on Target

2010-11-05 Thread Todd Simons
Hello All We have an internal application that uses basic authentication (the browser prompts the user for login). We need to make this publically available using Apache Reverse Proxies. Does anyone know how to prompt and pass through the Basic Authentication? When I try to access the page

[us...@httpd] Please add timestamps to Apache Service Monitor

2010-11-05 Thread Ken Winter
In the Apache Service Monitor for Windows, it would be helpful if the pane that shows an action that has been performed (e.g. "The Apache2.2 service has restarted") would include a timestamp (e.g. "2010-11-05 12:41:27: The Apache2.2 service has restarted"). This would help me, as a developer,

[us...@httpd] mod_proxy_balancer hot standby with non-GET methods

2010-11-05 Thread Mark J. Reed
I have a reverse proxy set up in front of some RESTful web services. I'm using mod_proxy_balancer, not to actually balance load, but to provide for failover. The config for a given service looks like this: BalancerMember http://host1:8080/service BalancerMember http://host2:8080/service

[us...@httpd] Rotating logs

2010-11-05 Thread Patrick McCambridge
Because I am not a Unix person or web developer, I am struggling with the exercise to rotate my logs in Apache (I am running 2.2). When I add the following command to my httpd.conf file, it creates a file called access_log.old (in the time interval I designate), but Apache still continues to w

RE: [us...@httpd] Rotating logs

2010-11-05 Thread Bennett, Tony
Patrick, For me, examples always help the most. Here's what we do... TransferLog "| /usr/local/apache/bin/rotatelogs -l -f /var/adm/syslog/apache_access_log.%m-%d-%y-%I:%M:%S 86400" This way, our apache_access_log filename is appended with the month-day-year-hour-minute-second... ...and i

Re: [us...@httpd] Rotating logs

2010-11-05 Thread Nerius Landys
There are other ways to rotate Apache logs, too. For example, on my FreeBSD systems, there is something called newsyslog present at the operating system level. There is a file named /etc/newsyslog.conf that has the following lines on my system (I edited the file and added these lines): # logfile

Re: [us...@httpd] SSLRequire "SUCCESS" but actually failure (2 possible bugs)

2010-11-05 Thread Joe Orton
On Mon, Nov 01, 2010 at 04:42:41PM -0400, Jeff Blaine wrote: ... > [Mon Nov 01 14:50:14 2010] [error] [client xxx.xx.160.29] access > to /apps/rtsrv1dev/share/html/ failed, reason: SSL requirement > expression not fulfilled (see SSL logfile for more details) > > However, note the "SUCCESS" (bo