PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > Apache2 weird blank requests.
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

Apache2 weird blank requests.

Réponse
 
LinkBack Outils de la discussion
Vieux 05/02/2008, 06h05   #1
paroxsitic
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Apache2 weird blank requests.

I had this problem with my old VPS, and I am having it again with my
new VPS, so I think it must be something with my apache configuration.
My website: http://www.ipalaces.org sometimes won't load the correct
CSS files or sometimes will just skip completely certain files. You
can see this best in firefox (firebug too) when you load the page,
then clear the cache and keeping loading the page 4 times out of 10 it
will most likey skip things it should download (pictures, css files).

Here is my apache config:

# This is here for backwards compatability reasons and to support
# installing 3rd party modules directly via apxs2, rather than
# through the /etc/apache2/mods-{available,enabled} mechanism.
#
#LoadModule mod_placeholder /usr/lib/apache2/modules/
mod_placeholder.so
LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so
LoadModule proxy_http_module /usr/lib/apache2/modules/
mod_proxy_http.so
LoadModule cache_module /usr/lib/apache2/modules/mod_cache.so
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
LoadModule deflate_module /usr/lib/apache2/modules/mod_deflate.so

<IfModule mod_cache.c>
#LoadModule disk_cache_module /usr/lib/apache2/modules/
mod_disk_cache.so
<IfModule mod_disk_cache.c>
CacheRoot c:/cacheroot
CacheSize 256
CacheEnable disk /
CacheDirLevels 5
CacheDirLength 3
</IfModule>

LoadModule mem_cache_module /usr/lib/apache2/modules/
mod_mem_cache.so
<IfModule mod_mem_cache.c>
CacheEnable mem /
MCacheSize 4096
MCacheMaxObjectCount 100
MCacheMinObjectSize 1
MCacheMaxObjectSize 2048
</IfModule>
</IfModule>
<IfModule mod_deflate.c>
SetOutputFilter DEFLATE
SetInputFilter DEFLATE

BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
#BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
BrowserMatch \bMSIE\s7 !no-gzip !gzip-only-text/html

SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|wav|mp3|zip|rar|
pdf|t?gz)$ no-gzip dont-vary

DeflateCompressionLevel 9

DeflateFilterNote Input instream
DeflateFilterNote Output outstream
DeflateFilterNote Ratio ratio
LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)'
deflate
CustomLog /var/log/apache2/deflate_log deflate
</IfModule>

NameVirtualHost *
<VirtualHost *>
ServerName ipalaces.org
ServerAdmin webmaster@ipalaces.org
DocumentRoot /var/www/
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>

ErrorLog /var/log/apache2/error.log
LogLevel warn

#CustomLog /var/log/apache2/access.log combined
ServerSignature On

RewriteEngine on
RewriteCond %
{HTTP_HOST} ^([^.]+)
\.ipalaces\.org$
RewriteCond /home/
%1/ -d
RewriteRule ^(.
+) %{HTTP_HOST}$1
RewriteRule ^([^.]+)\.ipalaces\.org/media/
(.*) /home/$1/palace/media/$2
RewriteRule ^([^.]+)\.ipalaces
\.org(.*) /home/$1/www$2

RewriteCond %{HTTP_HOST} ^free\.ipalaces\.org
$ [NC]
RewriteRule ^(.*)$ http://www.ipalaces.org/home/free.html
[R=302]

RewriteCond %{HTTP_HOST} ^ag\.ipalaces\.org
$ [NC]
RewriteCond %{REQUEST_URI} !^/media/
RewriteRule ^(.*)$ http://animegravity.page.tl/
[R=302]

RewriteCond %{HTTP_HOST} opencanvas\.us$ [NC]
RewriteCond %{REQUEST_URI} !^/media/
RewriteRule ^(.*)$ /home/fusium/www$1


RewriteCond %{HTTP_HOST} (palacecorazonyapache|
glitterglampalace|castleintheskies|deviouskiss|enc hantedforestoflight|
maniaisle|3rdcoastinc|amorepalace|angelicvisions|a vatarisland|
avatarparadise|beautifuld|bombshellacademy|disneyu ponastar|
everyonespalace|familywroldz|inuyashadreams|lyingf airytails|
midgarpalace|oddzone|plasticcreationsdecaying|safe es|secretxdreams|
sharkland|splashfactory|stormpalace|thirdcoastinc| twistidfantasy|
urbanincc|urban-streets|butterflydreams2008|harrypotterpalace|
butterflydreams2008|butterflydreams2008|newsiespal ace|ohdork|
newsiespalace|harrypotterpalace|imperialdeck|photo graphsxo|focuspalace|
focuspalace|vibeislove|soulsinferno)\.(com|net|org |us)$ [NC]
RewriteCond %{REQUEST_URI} !^/media/
RewriteRule ^(.*)$ /home/%1/www$1

RewriteCond %{HTTP_HOST} (palacecorazonyapache|
glitterglampalace|castleintheskies|deviouskiss|enc hantedforestoflight|
maniaisle|3rdcoastinc|amorepalace|angelicvisions|a vatarisland|
avatarparadise|beautifuld|bombshellacademy|disneyu ponastar|
everyonespalace|familywroldz|inuyashadreams|lyingf airytails|
midgarpalace|oddzone|plasticcreationsdecaying|safe es|secretxdreams|
sharkland|splashfactory|stormpalace|thirdcoastinc| twistidfantasy|
urbanincc|urban-streets|butterflydreams2008|harrypotterpalace|
butterflydreams2008|butterflydreams2008|newsiespal ace|ohdork|
newsiespalace|harrypotterpalace|imperialdeck|photo graphsxo|focuspalace|
focuspalace|vibeislove|soulsinferno)\.(com|net|org |us)$ [NC]
RewriteRule ^/media/(.*)$ /home/%1/palace/media/
$1
</VirtualHost>

<VirtualHost *>
ServerName panel.ipalaces.org
ProxyPass / http://panel.ipalaces.org:10000/
ProxyPassReverse / http://panel.ipalaces.org:10000/
</VirtualHost>





Is there anything an expert can see that is obviously causing
problems? Another thing is that my server is pretty fast (maxes me out
at 600 KB/s) yet it has a super slow network wait time for http
requests, could this also be related to apache?

Please I hope someone can point me in the right direct.
  Réponse avec citation
Vieux 05/02/2008, 06h20   #2
paroxsitic
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Apache2 weird blank requests.

Turns out it was the mod_cache.so.

But, to make this post non-useless, is there any optimization in my
loadout that someone can suggest or spot that I am doing the overly
hard way?
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h48.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11411 seconds with 10 queries