You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Silvio Siefke <si...@web.de> on 2011/03/01 18:24:07 UTC

[users@httpd] Website loading not right (Fastcgi)

Hello,


i use fastcgi with PHP-FPM. When i go on Website with FastCGI then the
page load not complete.

http://mail.silviosiefke.de/fastcgi_apache.png

When i run with FCGID then the page load complete.

http://mail.silviosiefke.de/fcgid_apache.png

Has someone a idea what is the problem? Thank you.

Regards
Silvio

Some Config Parameters:
<VirtualHost>
 SuexecUserGroup "siefke" "siefke"
 ServerName silviosiefke.de
 DocumentRoot /usr/local/www/vserver/silviosiefke.de/data
 ScriptAlias /cgi-bin/ "/usr/local/www/vserver/silviosiefke.de/cgi-bin/"
 AddHandler php5-fastcgi .php
 FastCgiExternalServer /usr/local/www/vserver/silviosiefke.de/data
-socket /tmp/siefke.socket

<Directory /usr/local/www/vserver/silviosiefke.de/data>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} \/$
RewriteRule ^(.*)$ index.php [L,QSA]
</IfModule>
Options -All +FollowSymLinks +ExecCGI
AllowOverride Options FileInfo AuthConfig Limit
allow from all
AllowOverride All
</Directory>

ErrorLog /usr/local/www/vserver/silviosiefke.de/log/error.log
CustomLog /usr/local/www/vserver/silviosiefke.de/log/access.log combined
</VirtualHost>

# httpd -V
Server version: Apache/2.2.17 (FreeBSD)
Server built:   Feb 26 2011 13:17:20
Server's Module Magic Number: 20051115:25
Server loaded:  APR 1.4.2, APR-Util 1.3.10
Compiled using: APR 1.4.2, APR-Util 1.3.10
Architecture:   32-bit
Server MPM:     Worker
  threaded:     yes (fixed thread count)
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/worker"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_FLOCK_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/usr/local"
 -D SUEXEC_BIN="/usr/local/sbin/suexec"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="etc/apache22/mime.types"
 -D SERVER_CONFIG_FILE="etc/apache22/httpd.conf"


---------------------------------------------------------------------
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] Website loading not right (Fastcgi)

Posted by Liam O'Boyle <li...@elyobo.net>.
It looks like the CSS for the page has not been loaded.  Try looking
at the network panel of the developer tools for the browser that
you're using; it should show attempts to load the CSS and give you
some more details about what went wrong, e.g. 404 responses perhaps.

Liam

On Wed, Mar 2, 2011 at 4:24 AM, Silvio Siefke <si...@web.de> wrote:
> Hello,
>
>
> i use fastcgi with PHP-FPM. When i go on Website with FastCGI then the
> page load not complete.
>
> http://mail.silviosiefke.de/fastcgi_apache.png
>
> When i run with FCGID then the page load complete.
>
> http://mail.silviosiefke.de/fcgid_apache.png
>
> Has someone a idea what is the problem? Thank you.
>
> Regards
> Silvio
>
> Some Config Parameters:
> <VirtualHost>
>  SuexecUserGroup "siefke" "siefke"
>  ServerName silviosiefke.de
>  DocumentRoot /usr/local/www/vserver/silviosiefke.de/data
>  ScriptAlias /cgi-bin/ "/usr/local/www/vserver/silviosiefke.de/cgi-bin/"
>  AddHandler php5-fastcgi .php
>  FastCgiExternalServer /usr/local/www/vserver/silviosiefke.de/data
> -socket /tmp/siefke.socket
>
> <Directory /usr/local/www/vserver/silviosiefke.de/data>
> <IfModule mod_rewrite.c>
> RewriteEngine On
> RewriteCond %{REQUEST_URI} \/$
> RewriteRule ^(.*)$ index.php [L,QSA]
> </IfModule>
> Options -All +FollowSymLinks +ExecCGI
> AllowOverride Options FileInfo AuthConfig Limit
> allow from all
> AllowOverride All
> </Directory>
>
> ErrorLog /usr/local/www/vserver/silviosiefke.de/log/error.log
> CustomLog /usr/local/www/vserver/silviosiefke.de/log/access.log combined
> </VirtualHost>
>
> # httpd -V
> Server version: Apache/2.2.17 (FreeBSD)
> Server built:   Feb 26 2011 13:17:20
> Server's Module Magic Number: 20051115:25
> Server loaded:  APR 1.4.2, APR-Util 1.3.10
> Compiled using: APR 1.4.2, APR-Util 1.3.10
> Architecture:   32-bit
> Server MPM:     Worker
>  threaded:     yes (fixed thread count)
>    forked:     yes (variable process count)
> Server compiled with....
>  -D APACHE_MPM_DIR="server/mpm/worker"
>  -D APR_HAS_SENDFILE
>  -D APR_HAS_MMAP
>  -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
>  -D APR_USE_FLOCK_SERIALIZE
>  -D APR_USE_PTHREAD_SERIALIZE
>  -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
>  -D APR_HAS_OTHER_CHILD
>  -D AP_HAVE_RELIABLE_PIPED_LOGS
>  -D DYNAMIC_MODULE_LIMIT=128
>  -D HTTPD_ROOT="/usr/local"
>  -D SUEXEC_BIN="/usr/local/sbin/suexec"
>  -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
>  -D DEFAULT_ERRORLOG="logs/error_log"
>  -D AP_TYPES_CONFIG_FILE="etc/apache22/mime.types"
>  -D SERVER_CONFIG_FILE="etc/apache22/httpd.conf"
>
>
> ---------------------------------------------------------------------
> 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