Forum Moderators: phranque
[Wed Jun 08 19:26:01 2011] [info] [client #*$!#*$!xx] (32)Broken pipe: core_output_filter: writing data to the network
[Wed Jun 08 19:26:02 2011] [info] [client #*$!#*$!xx] (104)Connection reset by peer: core_output_filter: writing data to the network
EnableSendfile off
<IfModule mod_rewrite.c>
RewriteEngine On
# put trailing slash up
RewriteCond %{REQUEST_URI} !/$
RewriteCond %{REQUEST_URI} !\.
RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]
# check for existing file/dir
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteBase /twit/
# actions rewrite *works fine
RewriteRule actions/(.*)/$ actions.php?action=$1
RewriteCond %{REQUEST_URI} !^actions/ [OR]
RewriteCond %{REQUEST_URI} !^wall/ [OR]
RewriteCond %{REQUEST_URI} !^system/ajax
# create domain.com/username
# and domain.com/username/alphaNumericDashUnderscore/
RewriteRule ^([A-Za-z0-9-_]+)/$ index.php?who=$1
RewriteRule ^([A-Za-z0-9-_]+)/([A-Za-z0-9-_]+)/$ index.php?who=$1&where=$2
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /twit/
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{REQUEST_URI} !/$
RewriteCond %{REQUEST_URI} !\.
RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{REQUEST_URI} ^actions/$ [OR]
RewriteRule actions/(.*)/$ actions.php?action=$1 [L]
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{REQUEST_URI} !^actions/$ [OR]
RewriteCond %{REQUEST_URI} !^wall/$ [OR]
RewriteCond %{REQUEST_URI} !^system/ajax/$
RewriteRule ^([A-Za-z0-9-_]+)/$ index.php?who=$1 [L]
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{REQUEST_URI} !^actions/$ [OR]
RewriteCond %{REQUEST_URI} !^wall/$ [OR]
RewriteCond %{REQUEST_URI} !^system/ajax/$
RewriteRule ^([A-Za-z0-9-_]+)/([A-Za-z0-9-_]+)/$ index.php?who=$1&where=$2 [L]
</IfModule>