Results 1 to 3 of 3
Why does apache take to long to send my webpage to the client? I thought id be the code. But it isnt. So well does anyone have a idea how ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-27-2007 #1
- 11-27-2007 #2
- Join Date
- Nov 2007
- Planet Earth
There are many possible reasons: (1) Is yor network a simple LAN or do you have something more complex? Do you check de time of response? (e.g. by using ping to your server)... (2) You can try to enable the 'deflate' module to allow compression of content, sometimes this can improve the speed... (3) Well, there's no more information about your configuration
- 11-27-2007 #3
Well the server and the client are in the same Switch.
The network is like this:
Client <---> Switch <--> DebianNAT <-PortForward-> GentooApache
The scriptsn are 100% sure they work. Since I saw the website work before. but now it just stoped.
And the site is my own AND the phpmysql. They both dont work.
When I do free -m at the server Ill get: total 192 used 32 free 160
So its not out of ram...
Well, I did some tests.
Found my ARP was Dead.
Well fixed everything.
Now the server is thinking: "Hey lets put all the nice PHP code on the street so its OpenSource."
So, well php stopped working. though i didnt change ANYTHING on the Gentoo Box..
And I dont mind my PHP code to be OpenSource. But I did hardcore my mysql password in it and some secrets as well. (eg how many Loops to take for Encryption).
So I dont want that.
Apache is going to recompile with the php useflag (if it has one)
but does anyone have another idea?