Re: [us...@httpd] '403 forbidden' when trying to serve index.html

2010-07-14 Thread Bennett Haselton
At 05:26 PM 7/14/2010, Frank Gingras wrote: That just says: [Wed Jul 14 17:17:17 2010] [error] [client 71.112.32.149] (13)Permission denied: access to /index.html denied -Bennett - The official User-To-User support forum of th

[us...@httpd] hostname & IP issue

2010-07-14 Thread steve reilly
Hi, its been a while since ive set a site up before, (2+ years!) had a couple personal sites hosted on a box at home running etch. well it got hacked bad enough to trash everything, so ... on a new install of lenny and wordpress downloaded from the wordpress site, not from deb repo.

Re: [us...@httpd] mod_proxy: ProxyPass max parameter has no effect

2010-07-14 Thread Alessandro Vernet
Jeff, Thank you for the precisions, and for the updated documentation. Let me make sure I understand this correctly. The use case: Simply put, when using Apache as a load balancer, I'd like to limit the number of connections Apache makes to back-end servers. When processing requests requires a f

Re: [us...@httpd] '403 forbidden' when trying to serve index.html

2010-07-14 Thread Frank Gingras
On 07/14/2010 08:21 PM, Bennett Haselton wrote: At 05:06 PM 7/14/2010, Frank Gingras wrote: On 07/14/2010 08:01 PM, Bennett Haselton wrote: A consultant is giving me instructions for compiling a second copy of Apache on my server to listen on a different port from the main Apache. The secon

Re: [us...@httpd] '403 forbidden' when trying to serve index.html

2010-07-14 Thread Bennett Haselton
At 05:06 PM 7/14/2010, Frank Gingras wrote: On 07/14/2010 08:01 PM, Bennett Haselton wrote: A consultant is giving me instructions for compiling a second copy of Apache on my server to listen on a different port from the main Apache. The second copy resides under /root/httpd, the httpd.conf fi

Re: [us...@httpd] '403 forbidden' when trying to serve index.html

2010-07-14 Thread Frank Gingras
On 07/14/2010 08:01 PM, Bennett Haselton wrote: A consultant is giving me instructions for compiling a second copy of Apache on my server to listen on a different port from the main Apache. The second copy resides under /root/httpd, the httpd.conf file contains the line DocumentRoot "/root/htt

[us...@httpd] '403 forbidden' when trying to serve index.html

2010-07-14 Thread Bennett Haselton
A consultant is giving me instructions for compiling a second copy of Apache on my server to listen on a different port from the main Apache. The second copy resides under /root/httpd, the httpd.conf file contains the line DocumentRoot "/root/httpd/htdocs" so I assume that attempting to brow

Re: [us...@httpd] List loaded modules in 2.0.63

2010-07-14 Thread Eric Covener
On Wed, Jul 14, 2010 at 4:14 PM, Michael Powe wrote: > Hello, > > Is there a way for me to list out the loaded shared modules in Apache > 2.0.63? `./httpd -l' lists the compiled-in modules but other methods > I've tried do not work, e.g. `./httpd -t -D DUMP_MODULES' and the -M > option apparently

[us...@httpd] List loaded modules in 2.0.63

2010-07-14 Thread Michael Powe
Hello, Is there a way for me to list out the loaded shared modules in Apache 2.0.63? `./httpd -l' lists the compiled-in modules but other methods I've tried do not work, e.g. `./httpd -t -D DUMP_MODULES' and the -M option apparently wasn't invented at the time of this version. Thanks. mp -- Mi

[us...@httpd] weird apache behavior

2010-07-14 Thread Brendan M Wong
Hi all. Our Apache (v2.0) is running on Windows Server 2003 and I'm running into some strange behavior that I can't figure out. I'm currently testing an Alias, and it only seems to work up to a certain point. In my httpd.conf, I've tested the following using the URL http://blah.blah.com/cfide

Re: [us...@httpd] Help with mod_authz_host

2010-07-14 Thread Joseph M. Morgan
Works like a charm! Thanks On 7/14/2010 4:49 AM, Tom Evans wrote: On Tue, Jul 13, 2010 at 5:53 PM, Joseph M. Morgan wrote: Well, this one's been hitting us almost every day... I should know pretty quickly. One quick question though could I have abbreviated with "221.192/14" rather th

Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Tapas Mishra
Yes Jonas I have read the links you gave me. I have finally been able to solve the problem with your and help of people on this forum. Here is a link http://ubuntuforums.org/showthread.php?t=1530746 some one had said to post it on Ubuntu forum since apache2 packages which are shipped by these OS v

Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Jonas Eckerman
On 2010-07-14 17:41, Tapas Mishra wrote: > how is localhost hooked up Usually the hostname "localhost" is resolved through the "hosts" file (/etc/hosts on unix-like systems), and then resolves to 127.0.0.1. > because when I am requesting > http://localhost I am not requesting any particular vho

Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Jonas Eckerman
On 2010-07-14 17:41, Tapas Mishra wrote: >> The filename affects the order the system returns results for an >> Include directive with a wildcard. > Can you give a link to what you just mentioned. Did you actually try to read any of the documentation I gave you links to? This is documented in t

[us...@httpd] OpenSSL 1.0 and Apache 2.2.15 friendly with each other?

2010-07-14 Thread Andy Wang
Is Apache 2.2.x fully compatible with OpenSSL 1.0.0? I currently haven an apache 2.2.15 build built against the fedora provided openssl 1.0.0a packages, but I don't use this apache heavily, so don't know if there are any caveats or major changes that could cause problems in the 0.9.8 jump to 1.0.

Re: [us...@httpd] what does 0 mean of serving time

2010-07-14 Thread Hu Hailin
the os of my box is CentOS 5.3 and httpd is the built-in one. > it may mean that the requests didn't take long to server AND the clock > is not high resolution I thought so as well, but about 90% of the requests are around 10_000-100_000µs. Meanwhile 0µs requests are about 5%. It's hard to believ

Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Tapas Mishra
On Wed, Jul 14, 2010 at 6:36 PM, Eric Covener wrote: > The filename affects the order the system returns results for an > Include directive with a wildcard. Can you give a link to what you just mentioned. > > It's really only significant for "the very first one" vs. "all > others", in the case w

Re: [us...@httpd] what does 0 mean of serving time

2010-07-14 Thread Jeff Trawick
On Wed, Jul 14, 2010 at 10:19 AM, Hu Hailin wrote: > Hi, > > http://httpd.apache.org/docs/2.2/en/mod/mod_log_config.html#formats > > I'm using %D to log the time taken to serve requests. > I found the time might be 0 in nonspecific requests. The rate of 0 > serving time goes the same trend with se

[us...@httpd] what does 0 mean of serving time

2010-07-14 Thread Hu Hailin
Hi, http://httpd.apache.org/docs/2.2/en/mod/mod_log_config.html#formats I'm using %D to log the time taken to serve requests. I found the time might be 0 in nonspecific requests. The rate of 0 serving time goes the same trend with server load. Does it mean some kind of timeout? Thanks. -- islu

Re: [us...@httpd] Error : LDAP: Could not set the connection timeout

2010-07-14 Thread Eric Covener
> Error : LDAP: Could not set the connection timeout That doesn't look like an errorlog entry. Try setting the timeout to zero. I suspect your httpd build and runtime picked up a different set of LDAP libraries? Or mismatched headers and libraries? -- Eric Covener cove...@gmail.com -

[us...@httpd] Error : LDAP: Could not set the connection timeout

2010-07-14 Thread deepa ramani
Hi, I have installed apache http server version 2.2.15 on solaris 10 mac. Openldap version 2.4.22 is already installed. Now i am trying to get webserver autheticate with the openldap to access subversion. But it fails giving the below error message: Error : LDAP: Could not set the connection tim

Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Eric Covener
On Wed, Jul 14, 2010 at 8:34 AM, Tapas Mishra wrote: > On Wed, Jul 14, 2010 at 5:41 PM, Eric Covener wrote: > >> If you want a default that's not the same as any other current >> virtualhost, add a virtualhost to act as the default.  If you're using >> a debian-like configuration, prefix your vho

Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Tapas Mishra
On Wed, Jul 14, 2010 at 5:41 PM, Eric Covener wrote: > If you want a default that's not the same as any other current > virtualhost, add a virtualhost to act as the default.  If you're using > a debian-like configuration, prefix your vhost filenames with numbers > to control the order. I am usin

Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Eric Covener
On Wed, Jul 14, 2010 at 8:39 AM, Tapas Mishra wrote: > Thanks a lot Eric it did worked the way you said. > But please do answer my query which I just before posted. Specifically? -- Eric Covener cove...@gmail.com - The officia

Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Tapas Mishra
Thanks a lot Eric it did worked the way you said. But please do answer my query which I just before posted. -- Tapas - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/usersl

Re: [us...@httpd] enabling directory indexing on apache2

2010-07-14 Thread Jonas Eckerman
On 2010-07-14 13:47, Tapas Mishra wrote: > Right and how can I change the order in which Apache sees my virtual > host Apache reads it's configuration file from top to bottom. If it finds an Include statement, it insert the content of the included file(s) at that point. If an Include statement in

Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Eric Covener
> does that mean I need to have following line >  ServerName default No, it's just the default because it's the first one listed (for a given set of NameVirtualHosts. If you want a default that's not the same as any other current virtualhost, add a virtualhost to act as the default. If you're us

Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Tapas Mishra
I forgot to mention in previous message why is it taking atutor as default. http://httpd.apache.org/docs/2.2/vhosts/details.html is the document I am trying to understand but a default virtualhost thing is not clear to me. Following lines " the request is served from the _default_ vhost if there i

Re: [us...@httpd] enabling directory indexing on apache2

2010-07-14 Thread Tapas Mishra
> No, I mean the order in wich Apache sees the virtual hosts when reading > it's configuration file. This solves some of my confusion. >> What can be a solution in this case > > To define a default vhost with the document root you wish the default > host to have. > > IFAICT you want a default virt

Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Tapas Mishra
On Wed, Jul 14, 2010 at 4:12 PM, Eric Covener wrote: > And what does your error log say when you get this 404, exactly? The error logs are blank. >> When I type http://192.168.1.5/ >> I expect to get a directory listing of different websites which are >> present in my /var/www > > Include apache

Re: [us...@httpd] enabling directory indexing on apache2

2010-07-14 Thread Jonas Eckerman
On 2010-07-14 13:19, Tapas Mishra wrote: >>> When I type http://192.168.1.5/ >>> I expect to get a directory listing of different websites which are >>> present in my /var/www >> Why do you expect that? None of the virtual hosts you told us about has >> document root "/var/www". > Then what does

Re: [us...@httpd] enabling directory indexing on apache2

2010-07-14 Thread Tapas Mishra
On Wed, Jul 14, 2010 at 4:01 PM, Jonas Eckerman wrote: >> When I type http://192.168.1.5/ >> I expect to get a directory listing of different websites which are >> present in my /var/www > > Why do you expect that? None of the virtual hosts you told us about has > document root "/var/www". Then w

Re: [us...@httpd] mod_proxy: ProxyPass max parameter has no effect

2010-07-14 Thread Jeff Trawick
On Tue, Jul 13, 2010 at 8:42 PM, Alessandro Vernet wrote: > Igor, > > I am running Apache 2.2.14. Re-reading the documentation for "max", I see: > > The default for a Hard Maximum for the number of connections is the > number of threads per process in the active MPM. In the Prefork MPM, > this is

Re: [us...@httpd] How to ignore common name during client certificate verification?

2010-07-14 Thread Eric Covener
On Tue, Jul 13, 2010 at 10:21 PM, galaft wang wrote: > Hi, > Normally, CN would be IP address of the client, if client IP do not match > its certificate CN, Apache would deny its request. This is used in highly > secured network. Not with just SSLEngine on and SSLVerifyClient require it doesn't.

[us...@httpd] Error: LDAP: Could not set the connection timeout

2010-07-14 Thread Deepa Ramani
Hi, I have problem getting connected to openldap from apache http server. The version of Apache used is 2.2.15. I get the below error when trying to do the Ldap authentication. Error : LDAP: Could not set the connection timeout

Re: [us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Eric Covener
On Wed, Jul 14, 2010 at 5:23 AM, Tapas Mishra wrote: > http://192.168.1.5/dokeos or http://192.168.1.5/docebolms > > I am getting a 404 not found page. And what does your error log say when you get this 404, exactly? > When I type http://192.168.1.5/ > I expect to get a directory listing of diff

Re: [us...@httpd] enabling directory indexing on apache2

2010-07-14 Thread Jonas Eckerman
On 2010-07-14 09:19, Tapas Mishra wrote: > When I am on lan trying to access these sites as > http://192.168.1.5/dokeos > I am getting a 404 not found page. > The requested URL /dokeos was not found on this server. That's because "dokeos" doesn't exists in "/var/www/atutor", the document root f

Re: [us...@httpd] enabling directory indexing on apache2

2010-07-14 Thread Michael Powe
Hello, The information on setting directory listing is here: http://httpd.apache.org/docs/1.3/misc/FAQ.html#indexes Also, if you are using some prepackaged linux distro like debian or ubuntu, you should ask in the appropriate forums for those packages. The reason is, that these preconfigured ins

[us...@httpd] beginner problem in setting up apache2

2010-07-14 Thread Tapas Mishra
I am having different websites in a folder /var/www/ as /var/www/atutor /var/www/dokeos /var/www/docebolms . . . /var/www/efront When I am on lan trying to access these sites as http://192.168.1.5/dokeos or http://192.168.1.5/docebolms I am getting a 404 not found page. The requested URL /dokeos

Re: [us...@httpd] Many websites in different document roots behind a reverse proxy

2010-07-14 Thread Tapas Mishra
Do a Control+F /dokeos or /docebo on the log http://pastebin.com/XMgZHCTi Before posting the log I had reduced it and the log you are saying is thousands of line log was even lengthy I had reduced it to only the date where we had the problem so it is very less as compared to the log in original ser

Re: [us...@httpd] Many websites in different document roots behind a reverse proxy

2010-07-14 Thread Tom Evans
On Wed, Jul 14, 2010 at 7:35 AM, Tapas Mishra wrote: > Any guesses now I have given all the response headers,logs and server > configurations > or any mistake in configurations on my side. > tl;dr I'm not interested in wading through thousands of line of your logs looking for something of note.

[us...@httpd] enabling directory indexing on apache2

2010-07-14 Thread Tapas Mishra
I am having different websites in a folder /var/www/ as /var/www/atutor /var/www/dokeos /var/www/docebolms . . . /var/www/efront For each of these websites I have vhost file in /etc/apache2/sites-available/ the configurations of these are dokes http://pastebin.com/ycwrVNgC docebolms http://paste