You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by grenoml <gr...@yahoo.com> on 2002/12/12 19:13:16 UTC

[users@httpd] Slow response - Apache 2.0

  I read through a lot of the documentation and tried searching the
mailing list and read a few posts that also talked about some slow
performance under certain conditions but nothing that really seemed to
deal with the problem that I'm seeing.  So here's the problem:
  I've built and installed a default installation of Apache 2.0.43
under Cygwin(1.3.17) on a Win2000 box (1.6Ghz P4, 512M RAM, 150GB
disk).  I'm noticing that sometimes it is taking 15-20 secs to bring up
a local page on my domain.  For example right after I installed Apache2
and brought up the http://localhost welcome page and clicked on
documentation it took a long time for the documentation page to appear.
 Also when I clicked on the very first link on the documentation page
it again took 15-20 secs for the page to appear.  Now I can click on
any other link on the documentation page and they instantly appear
except that if I hit reload on any page it again takes about 15-20 secs
to load the page.  Is Apache2 doing some type of reverse DNS lookups or
something?  I checked the access_log and I see IP addresses at the
beginning of the lines.  The weird thing is that if I use IP instead of
a domain-name I get the exact same behavior.  So can someone tell me
what I may need to be configured in the 'default' Apache2 configuration
to cure this?  

Thanks,
Gerry Reno


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Custom Page Not Found

Posted by Eric Renouf <er...@opticominc.com>.
I think this page should answer your question.
http://httpd.apache.org/docs-2.0/mod/core.html#errordocument

Cheers,
Eric

----- Original Message -----
From: "Mark McCulligh" <mm...@visualtech.ca>
To: <us...@httpd.apache.org>
Sent: Thursday, December 12, 2002 1:26 PM
Subject: [users@httpd] Custom Page Not Found


> I would like a cutom "HTTP 404 - File not found" for each of my Virtual
> Host. How is this done?  I would like to create a "notfound.html" page
with
> a custom message to be displayed when ever Apache can't find a page.
>
> Thanks, Mark
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Custom Page Not Found

Posted by Mark McCulligh <mm...@visualtech.ca>.
I would like a cutom "HTTP 404 - File not found" for each of my Virtual
Host. How is this done?  I would like to create a "notfound.html" page with
a custom message to be displayed when ever Apache can't find a page.

Thanks, Mark


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] httpd 2.0.43 - unable to compile with mod_ssl

Posted by grenoml <gr...@yahoo.com>.
  I keep studying the config.log and I really can't tell if the
undefined symbols are a problem or not.  When it went to make a
decision on enable mod_ssl it says yes so I now assume that it found
everything it needed.
  I'm starting httpd using 'apachectl startssl'.  What I'm seeing when
I try to access https://localhost or https://m.y.i.p is a page that
says "Cannot find server or DNS error" yet normal HTTP access
http://localhost is fine.
  Any suggestions as to how to further explore this problem would be
most welcome.

Thanks,
Gerry Reno


--- grenoml <gr...@yahoo.com> wrote:
>   Well, I still could not get SSL working and upon examining the
> config.log file I found references to undefined ssl symbols.  I've
> attached the config.log file and was hoping maybe someone could shed
> some light on why I'm getting these undefined symbols when running
> ./configure --enable-ssl.
> 
> Thanks,
> Gerry Reno
> 
> 
> --- grenoml <gr...@yahoo.com> wrote:
> > Found the problem.  Building and installing openssl first from the
> > source fixed it.
> > 
> > Gerry Reno
> > 
> > 
> > --- grenoml <gr...@yahoo.com> wrote:
> > >   When trying to compile on Cygwin(1.3.17) I am getting an error
> > when
> > > I'm trying to configure Apache httpd 2.0.43 with mod_ssl.  My
> > command
> > > line looks like:
> > >   $./configure --enable-ssl
> > > and when it gets to mod_ssl it fails:
> > >   checking whether to enable mod_ssl... checking dependencies
> > >   checking for SSL/TLS toolkit base... /usr
> > >   checking for SSL/TLS toolkit version... OpenSSL 0.9.6h  5 Dec
> > 2002
> > >   checking for SSL/TLS toolkit includes... configure: error:
> > OpenSSL
> > > headers not found
> > > 
> > >   The Cygwin installer put the source for openssl in
> > > /usr/src/openssl-(version) and put the binaries in /usr/ssl and
> > > apparently the httpd build process can't figure out where the
> > source
> > > is.  Is this a bug or can I fix this somehow?  Could I move the
> > > source?
> > >  Exactly where should I move it?
> > > 
> > > Thanks,
> > > Gerry Reno
> > > 
> > > 
> > > __________________________________________________
> > > Do you Yahoo!?
> > > Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> > > http://mailplus.yahoo.com
> > > 
> > >
> >
> ---------------------------------------------------------------------
> > > The official User-To-User support forum of the Apache HTTP Server
> > > Project.
> > > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > >    
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com

> ATTACHMENT part 2 application/octet-stream name=config.log
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] httpd 2.0.43 - unable to compile with mod_ssl

Posted by grenoml <gr...@yahoo.com>.
  Well, I still could not get SSL working and upon examining the
config.log file I found references to undefined ssl symbols.  I've
attached the config.log file and was hoping maybe someone could shed
some light on why I'm getting these undefined symbols when running
./configure --enable-ssl.

Thanks,
Gerry Reno


--- grenoml <gr...@yahoo.com> wrote:
> Found the problem.  Building and installing openssl first from the
> source fixed it.
> 
> Gerry Reno
> 
> 
> --- grenoml <gr...@yahoo.com> wrote:
> >   When trying to compile on Cygwin(1.3.17) I am getting an error
> when
> > I'm trying to configure Apache httpd 2.0.43 with mod_ssl.  My
> command
> > line looks like:
> >   $./configure --enable-ssl
> > and when it gets to mod_ssl it fails:
> >   checking whether to enable mod_ssl... checking dependencies
> >   checking for SSL/TLS toolkit base... /usr
> >   checking for SSL/TLS toolkit version... OpenSSL 0.9.6h  5 Dec
> 2002
> >   checking for SSL/TLS toolkit includes... configure: error:
> OpenSSL
> > headers not found
> > 
> >   The Cygwin installer put the source for openssl in
> > /usr/src/openssl-(version) and put the binaries in /usr/ssl and
> > apparently the httpd build process can't figure out where the
> source
> > is.  Is this a bug or can I fix this somehow?  Could I move the
> > source?
> >  Exactly where should I move it?
> > 
> > Thanks,
> > Gerry Reno
> > 
> > 
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> > http://mailplus.yahoo.com
> > 
> >
> ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
> > Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >    

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

Re: [users@httpd] httpd 2.0.43 - unable to compile with mod_ssl

Posted by grenoml <gr...@yahoo.com>.
Found the problem.  Building and installing openssl first from the
source fixed it.

Gerry Reno


--- grenoml <gr...@yahoo.com> wrote:
>   When trying to compile on Cygwin(1.3.17) I am getting an error when
> I'm trying to configure Apache httpd 2.0.43 with mod_ssl.  My command
> line looks like:
>   $./configure --enable-ssl
> and when it gets to mod_ssl it fails:
>   checking whether to enable mod_ssl... checking dependencies
>   checking for SSL/TLS toolkit base... /usr
>   checking for SSL/TLS toolkit version... OpenSSL 0.9.6h  5 Dec 2002
>   checking for SSL/TLS toolkit includes... configure: error: OpenSSL
> headers not found
> 
>   The Cygwin installer put the source for openssl in
> /usr/src/openssl-(version) and put the binaries in /usr/ssl and
> apparently the httpd build process can't figure out where the source
> is.  Is this a bug or can I fix this somehow?  Could I move the
> source?
>  Exactly where should I move it?
> 
> Thanks,
> Gerry Reno
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] httpd 2.0.43 - unable to compile with mod_ssl

Posted by grenoml <gr...@yahoo.com>.
  When trying to compile on Cygwin(1.3.17) I am getting an error when
I'm trying to configure Apache httpd 2.0.43 with mod_ssl.  My command
line looks like:
  $./configure --enable-ssl
and when it gets to mod_ssl it fails:
  checking whether to enable mod_ssl... checking dependencies
  checking for SSL/TLS toolkit base... /usr
  checking for SSL/TLS toolkit version... OpenSSL 0.9.6h  5 Dec 2002
  checking for SSL/TLS toolkit includes... configure: error: OpenSSL
headers not found

  The Cygwin installer put the source for openssl in
/usr/src/openssl-(version) and put the binaries in /usr/ssl and
apparently the httpd build process can't figure out where the source
is.  Is this a bug or can I fix this somehow?  Could I move the source?
 Exactly where should I move it?

Thanks,
Gerry Reno


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Slow response - Apache 2.0

Posted by Jacob Coby <jc...@listingbook.com>.
> And no I don't have any RDNS entries but I didn't think that they were
> required with using IP-based naming.

Can you set RDNS up?  We had a problem with ftp transfers taking forever
(15-30 sec to start), and it turns out that it was because of a missing RDNS
entry, which sounds similar to your problem.  If you have anything that says
your domain name in the httpd.conf, you should probably have a RDNS entry.

-Jacob


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Slow response - Apache 2.0

Posted by grenoml <gr...@yahoo.com>.
  My access_log looks like this:

192.168.2.22 - - [13/Dec/2002:15:11:18 -0500] "GET
/manual/style/css/manual-prin
t.css HTTP/1.1" 304 0
192.168.2.22 - - [13/Dec/2002:15:11:18 -0500] "GET
/manual/images/feather.gif HT
TP/1.1" 304 0
192.168.2.22 - - [13/Dec/2002:15:11:18 -0500] "GET
/manual/images/left.gif HTTP/
1.1" 304 0
192.168.2.22 - - [13/Dec/2002:15:11:18 -0500] "GET
/manual/images/down.gif HTTP/
1.1" 304 0
192.168.2.22 - - [13/Dec/2002:15:11:18 -0500] "GET
/manual/images/up.gif HTTP/1.
1" 304 0

And no I don't have any RDNS entries but I didn't think that they were
required with using IP-based naming.

Regards,
Gerry Reno


--- Jacob Coby <jc...@listingbook.com> wrote:
> >   The problem is still there.  I'm not quite sure of the scenario
> yet
> > but after I got a 404 on one page then some pages and all reloads
> began
> > to take 15-20 secs again.  Stopping and restarting the server
> seemed to
> > fix it.  Really strange.  More testing...
> 
> Are you logging domain names?  Do you have RDNS entry for your
> domain?
> 
> -Jacob
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Slow response - Apache 2.0

Posted by Jacob Coby <jc...@listingbook.com>.
>   The problem is still there.  I'm not quite sure of the scenario yet
> but after I got a 404 on one page then some pages and all reloads began
> to take 15-20 secs again.  Stopping and restarting the server seemed to
> fix it.  Really strange.  More testing...

Are you logging domain names?  Do you have RDNS entry for your domain?

-Jacob


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Slow response - Apache 2.0

Posted by grenoml <gr...@yahoo.com>.
  The problem is still there.  I'm not quite sure of the scenario yet
but after I got a 404 on one page then some pages and all reloads began
to take 15-20 secs again.  Stopping and restarting the server seemed to
fix it.  Really strange.  More testing...

Gerry Reno

--- grenoml <gr...@yahoo.com> wrote:
>   Ok, rebuilt httpd again only this time with mod_ssl (shouldn't make
> any difference..) and the behavior seems better.  Reloads are much
> faster - at least so far after just a couple of tests.
> I'll keep testing it for a while.
> 
> Gerry Reno
> 
> 
> --- grenoml <gr...@yahoo.com> wrote:
> >   I read through a lot of the documentation and tried searching the
> > mailing list and read a few posts that also talked about some slow
> > performance under certain conditions but nothing that really seemed
> > to
> > deal with the problem that I'm seeing.  So here's the problem:
> >   I've built and installed a default installation of Apache 2.0.43
> > under Cygwin(1.3.17) on a Win2000 box (1.6Ghz P4, 512M RAM, 150GB
> > disk).  I'm noticing that sometimes it is taking 15-20 secs to
> bring
> > up
> > a local page on my domain.  For example right after I installed
> > Apache2
> > and brought up the http://localhost welcome page and clicked on
> > documentation it took a long time for the documentation page to
> > appear.
> >  Also when I clicked on the very first link on the documentation
> page
> > it again took 15-20 secs for the page to appear.  Now I can click
> on
> > any other link on the documentation page and they instantly appear
> > except that if I hit reload on any page it again takes about 15-20
> > secs
> > to load the page.  Is Apache2 doing some type of reverse DNS
> lookups
> > or
> > something?  I checked the access_log and I see IP addresses at the
> > beginning of the lines.  The weird thing is that if I use IP
> instead
> > of
> > a domain-name I get the exact same behavior.  So can someone tell
> me
> > what I may need to be configured in the 'default' Apache2
> > configuration
> > to cure this?  
> > 
> > Thanks,
> > Gerry Reno
> > 
> > 
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> > http://mailplus.yahoo.com
> > 
> >
> ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
> > Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> > 
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Slow response - Apache 2.0

Posted by grenoml <gr...@yahoo.com>.
  Ok, rebuilt httpd again only this time with mod_ssl (shouldn't make
any difference..) and the behavior seems better.  Reloads are much
faster - at least so far after just a couple of tests.
I'll keep testing it for a while.

Gerry Reno


--- grenoml <gr...@yahoo.com> wrote:
>   I read through a lot of the documentation and tried searching the
> mailing list and read a few posts that also talked about some slow
> performance under certain conditions but nothing that really seemed
> to
> deal with the problem that I'm seeing.  So here's the problem:
>   I've built and installed a default installation of Apache 2.0.43
> under Cygwin(1.3.17) on a Win2000 box (1.6Ghz P4, 512M RAM, 150GB
> disk).  I'm noticing that sometimes it is taking 15-20 secs to bring
> up
> a local page on my domain.  For example right after I installed
> Apache2
> and brought up the http://localhost welcome page and clicked on
> documentation it took a long time for the documentation page to
> appear.
>  Also when I clicked on the very first link on the documentation page
> it again took 15-20 secs for the page to appear.  Now I can click on
> any other link on the documentation page and they instantly appear
> except that if I hit reload on any page it again takes about 15-20
> secs
> to load the page.  Is Apache2 doing some type of reverse DNS lookups
> or
> something?  I checked the access_log and I see IP addresses at the
> beginning of the lines.  The weird thing is that if I use IP instead
> of
> a domain-name I get the exact same behavior.  So can someone tell me
> what I may need to be configured in the 'default' Apache2
> configuration
> to cure this?  
> 
> Thanks,
> Gerry Reno
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org