Re: [us...@httpd] Centos 5.4 Apache 2.2.3 web server virtualhost problem

2010-07-29 Thread Administrator
On Thu, Jul 29, 2010 at 5:09 PM, Administrator wrote: > > > On Thu, Jul 29, 2010 at 4:33 PM, Eric Covener wrote: > >> > none of the virtual host is working as before it was,, now I am getting >> > Apache startup page which is located at /var/www/html where for certain >> > domain it should open /

Re: [us...@httpd] Apache 2.2.15 says You do not have permission to view [this file]

2010-07-29 Thread Rich Bowen
On Jul 29, 2010, at 8:35 PM, James Godrej wrote: This I understand. But then do other users not need read write permissions. There is hardly any thing given on this page http://httpd.apache.org/docs/trunk/misc/security_tips.html#serverroot You mentioned ServerRoot not be chowned to Apache. But

Re: [us...@httpd] Apache 2.2.15 says You do not have permission to view [this file]

2010-07-29 Thread Frank Gingras
On 29/07/2010 8:35 PM, James Godrej wrote: This I understand. But then do other users not need read write permissions. There is hardly any thing given on this page http://httpd.apache.org/docs/trunk/misc/security_tips.html#serverroot You mentioned ServerRoot not be chowned to Apache. But if not

Re: [us...@httpd] Apache 2.2.15 says You do not have permission to view [this file]

2010-07-29 Thread James Godrej
This I understand. But then do other users not need read write permissions. There is hardly any thing given on this page http://httpd.apache.org/docs/trunk/misc/security_tips.html#serverroot You mentioned ServerRoot not be chowned to Apache. But if not then to what should it be and there is nothin

[us...@httpd] AJP and 500/503 error

2010-07-29 Thread Fernando
Hi guys. I'm experiencing an issue with Apache 2.2.11 on Solaris 10 with mod_proxy to communicate with a JBoss AS 4.2.3. When I try to reach the webpage hosted on JBoss trough Apache (in a reverse proxy configuration), I receive a 500, or sometimes 503 HTTP error. The Apache error log says: [Tue

RE: [us...@httpd] Apache2.3.6 alpha and mod_ssl

2010-07-29 Thread Luis Neves
I Hope you are luckier them me I ve tried to use OCSP on apache 2.3.5.something and have to quit because: It didnt detected the OCSP responder that was on the certificates (AIA extensions) (had to specify it manually) AND Ive got an error which I didnt found any clue about how to solve it: "OCS

Re: [us...@httpd] Apache 2.2.15 says You do not have permission to view [this file]

2010-07-29 Thread Frank Gingras
On 07/29/2010 01:15 PM, Eric Covener wrote: Oh man an experienced sys admin told me to do it that way. Please tell me what is wrong in this and where is this documented on Apache docs. I want to read. This is a general principle -- don't grant more access than necessary. Apache doesn't nee

[us...@httpd] Dynamically set log level from within a module

2010-07-29 Thread Michael Powe
Hello, Is it possible for me to dynamically set log level from within a module for debugging purposes? IOW, I have a "debug" flag for the module to enable it to write debugging messages when debug=On. This flag is set through a directive in the module configuration section of httpd.conf. But in

Re: [us...@httpd] Where is NO_ERROR #define'd?

2010-07-29 Thread Michael Powe
On Wed, Jul 28, 2010 at 07:30:24PM -0400, Eric Covener wrote: > On Wed, Jul 28, 2010 at 6:26 PM, Michael Powe wrote: > > Hello, > > > > The following define appears in apr_errno.h for the version of APR > > used with httpd 2.0 series: > > > > #define APR_STATUS_IS_SUCCESS(s)                ((s) ==

Re: [us...@httpd] Apache2.3.6 alpha and mod_ssl

2010-07-29 Thread Anas Barrachad
Thank you Sander, i finnally got it !! i tried "--enable-ssl=shared" and it compile, but i still have some problems with my certs. Sander Temme-2 wrote: > > > On Jul 29, 2010, at 7:20 AM, Anas Barrachad wrote: > >> >> Sorry it's just a problem while writing this message, i put the right >> l

Re: [us...@httpd] Apache 2.2.15 says You do not have permission to view [this file]

2010-07-29 Thread Eric Covener
> Oh man an experienced sys admin told me to do it that way. > Please tell me what is wrong in this and where is this documented on Apache > docs. > I want to read. This is a general principle -- don't grant more access than necessary. Apache doesn't need to own files to be able to serve (read)

Re: [us...@httpd] Apache 2.2.15 says You do not have permission to view [this file]

2010-07-29 Thread Rich Bowen
On Jul 29, 2010, at 1:06 PM, James Godrej wrote: Oh man an experienced sys admin told me to do it that way. Please tell me what is wrong in this and where is this documented on Apache docs. I want to read. Oh, as for where it's documented, that would be here: http://httpd.apache.org/docs

Re: [us...@httpd] Apache 2.2.15 says You do not have permission to view [this file]

2010-07-29 Thread Rich Bowen
Because the apache server runs as a user called, say, 'www', any files which are owned by the user 'www' will be writable by any rogue php script, cgi file, whatever. Since there is a HUGE amount of bad code out there, imagine if you download and install a product, and a bug is discovered i

Re: [us...@httpd] Apache 2.2.15 says You do not have permission to view [this file]

2010-07-29 Thread James Godrej
From: Frank Gingras To: users@httpd.apache.org Sent: Thu, 29 July, 2010 7:16:13 PM Subject: Re: [us...@httpd] Apache 2.2.15 says You do not have permission to view [this file] On 07/29/2010 01:06 AM, James Godrej wrote: > You need to have the owner of you

Re: [us...@httpd] Apache2.3.6 alpha and mod_ssl

2010-07-29 Thread Sander Temme
On Jul 29, 2010, at 7:20 AM, Anas Barrachad wrote: > > Sorry it's just a problem while writing this message, i put the right line > with "--enable-ssl" whithout space, the make and make install are > sucessfull, but when i check the modules directory, i can't find the > "mod_ssl.so" Mere --enab

Re: [us...@httpd] Apache2.3.6 alpha and mod_ssl

2010-07-29 Thread Anas Barrachad
Sorry it's just a problem while writing this message, i put the right line with "--enable-ssl" whithout space, the make and make install are sucessfull, but when i check the modules directory, i can't find the "mod_ssl.so" There is no mod_ssl package for apache 2 (stopped at Apache 1.3.41) Thank

Re: [us...@httpd] Apache2.3.6 alpha and mod_ssl

2010-07-29 Thread Federico del Vall
Remove blank space in enable- ssl Should read "enable-ssl" Try to get a matching ssl package and install first. This is how I solved a similar problem just yesterday in a Centos i386 environment. Frederic 2010/7/29 Anas Barrachad > Hello, I'm trying to install the last version of apache (2.3.6

[us...@httpd] Apache2.3.6 alpha and mod_ssl

2010-07-29 Thread Anas Barrachad
Hello, I'm trying to install the last version of apache (2.3.6 alpha) for the OCSP features, but i can't get tje mod_ssl in the modules folder !! here is my config line : ./configure --enable-module=all --prefix=/usr/local/apache --enable- ssl --with-ssl=/usr/local/ssl/ i'm running in Debian 5 w

Re: [us...@httpd] Apache 2.2.15 says You do not have permission to view [this file]

2010-07-29 Thread Frank Gingras
On 07/29/2010 01:06 AM, James Godrej wrote: You need to have the owner of your Document Root as your apache or www-data user not root. *From:* adp002 *To:* Apache Users Group *Sent:* Thu, 29 July, 2010 3:55:34 AM *Subje

Re: [us...@httpd] ProxyRequests Off - not working and httpd being abused as forward proxy

2010-07-29 Thread Eric Covener
On Thu, Jul 29, 2010 at 9:04 AM, Federico del Vall wrote: > Hi. > I am working on a reverse proxy, which is based on a prior project holding > the same configuration running over apache 2.0.40, RedHat 9. > This old project has been working smoothly for years since, no security > concerns whatsoeve

[us...@httpd] ProxyRequests Off - not working and httpd being abused as forward proxy

2010-07-29 Thread Federico del Vall
Hi. I am working on a reverse proxy, which is based on a prior project holding the same configuration running over apache 2.0.40, RedHat 9. This old project has been working smoothly for years since, no security concerns whatsoever. The new project is based on Centos 5.5, apache 2.2.3. To my surpri

Re: [us...@httpd] Centos 5.4 Apache 2.2.3 web server virtualhost problem

2010-07-29 Thread Administrator
On Thu, Jul 29, 2010 at 4:33 PM, Eric Covener wrote: > > none of the virtual host is working as before it was,, now I am getting > > Apache startup page which is located at /var/www/html where for certain > > domain it should open /home/domain-name/public_html. > > all dirs are chmod 755 and chow

Re: [us...@httpd] Apache 2.2.11 mod_proxy returns 503 (service unavailable) under load

2010-07-29 Thread pratyoosh sharma
We finally figured out the reason for these 503 errors was an actual connectivity issue to the backend. net.ipv4.tcp_syn_retries kernel parameter on Linux was set as 0 maybe to avoid DDoS attacks this was causing connect to fail on the first try, setting it to the OS default 5 causes OS to send SYN

Re: [us...@httpd] Centos 5.4 Apache 2.2.3 web server virtualhost problem

2010-07-29 Thread Eric Covener
> none of the virtual host is working as before it was,, now I am getting > Apache startup page which is located at /var/www/html where for certain > domain it should open /home/domain-name/public_html. > all dirs are chmod 755 and chown root:apache > Result of httpd -S is as follows > VirtualHost

[us...@httpd] Centos 5.4 Apache 2.2.3 web server virtualhost problem

2010-07-29 Thread Tariq Ismail Dalvi
Hello guys, I been using those three server for more then two years without changing anything in httpd.conf or the format of vhosts.conf in conf.d I simply use to add a new file of virtual host and restart webserver it use to work fine now after last update of apache I had following problem with a

[us...@httpd] Perl script are not running on Win32, Apache 2.2.15 & mod_fcgid

2010-07-29 Thread Roey Almog (Infoneto Ltd)
Hi, I have installed apache 2.2.15 with mod_fcgid on Windows XP SP3 and tried the perl example script in the mod_fcgid reference page but it is not working I get [Thu Jul 29 11:26:07 2010] [warn] [client 127.0.0.1] (OS 109)The pipe has been ended. : mod_fcgid: get overlap result error [Thu Jul