apache2.2 serves pages VERY slowly

This is a discussion on apache2.2 serves pages VERY slowly within the Apache Web Server forums, part of the Web Server and Related Forums category; Hello all, I'm having an insurmountable problem with CentOS + Apache 2.2 with PHP5 and MySQL5--pages are loading ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-11-2006
netaustin@gmail.com
 
Posts: n/a
Default apache2.2 serves pages VERY slowly

Hello all,

I'm having an insurmountable problem with CentOS + Apache 2.2 with PHP5
and MySQL5--pages are loading very slowly. SSL is enabled, and the site
is loaded as a name based virtual host. I believe I have isolated the
problem to Apache, as all other services run as expected, which should
rule out DNS problems, network problems, or hardware problems.

Has anyone else experienced similar issues? I'm a software developer
filling in the Linux admin gap at my company, so I know the basics, but
things like this typically mystify me.

Thanks much,
Austin Smith

  #2 (permalink)  
Old 12-12-2006
raja
 
Posts: n/a
Default htaccess based user authentication and copy+paste behaviour

Hi,
Basically my site is running with apache and .htaccess file is
used for the user authentication. After suucessful login, it redirect
to my destinated html page. If I copy the content and paste it into one
word document, then the html page alert me to enter the user/password
in order to paste the content. Can anyone please suggest me, how can i
avoid this Or it's an additional feature ??

- kulls

  #3 (permalink)  
Old 12-12-2006
shimmyshack
 
Posts: n/a
Default Re: htaccess based user authentication and copy+paste behaviour


raja wrote:
> Hi,
> Basically my site is running with apache and .htaccess file is
> used for the user authentication. After suucessful login, it redirect
> to my destinated html page. If I copy the content and paste it into one
> word document, then the html page alert me to enter the user/password
> in order to paste the content. Can anyone please suggest me, how can i
> avoid this Or it's an additional feature ??


this is because you have stored additional elements such as images and
css files inside the authenticated directory, once you have
authenticated the browser remembers what you typed and sends it to
apache for all the other elements in the html page. Word does not.
You have a choice, either move the other elements outside the
authenticated directory or save your html page "as a complete webpage"
with all its files to the hard disk and then open it in Word.
>
> - kulls


  #4 (permalink)  
Old 12-12-2006
shimmyshack
 
Posts: n/a
Default Re: apache2.2 serves pages VERY slowly


netaustin@gmail.com wrote:
> Hello all,
>
> I'm having an insurmountable problem with CentOS + Apache 2.2 with PHP5
> and MySQL5--pages are loading very slowly. SSL is enabled, and the site
> is loaded as a name based virtual host. I believe I have isolated the
> problem to Apache, as all other services run as expected, which should
> rule out DNS problems, network problems, or hardware problems.
>

that might not necessarily be the case actually, have you used
wireshark to verify the actual problem. You might for instance find
that you are having packet fragmentation issues. Remember that apache
uses HTTP protocol which is a different kind of packet to say a DNS
packet (which obviously uses the DNS protocol) or ARP etc...
I

> Has anyone else experienced similar issues?


My bet is that its an MTU problem, its only a guess, but its the same
again anad again in linux, MTU set to 1500 whereas 1450-1490 would play
nice on most networks. I am having this problem right now with a 54Mbps
GN-BC01 "AirCruiser" from Gigabyte Technology would you believe they
DONT allow the MTU size to be changed, so this product is essentially
useless to me as although it does DNS, DHCP etc... like a dream it wont
let me POST data from a website!! Boy am I miffed.

I'm a software developer
> filling in the Linux admin gap at my company, so I know the basics, but
> things like this typically mystify me.
>

try changing the MTU for the nics in that machine, its a one liner,
check first what your router has and go 2 lower than that.

> Thanks much,
> Austin Smith


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:53 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0