All pastes #208267 Raw Edit

Unnamed

public text v1 · immutable
#208267 ·published 2006-10-18 14:36 UTC
rendered paste body
192.168.2.1 - - [18/Oct/2006:16:35:10 +0200] [kd.mikispc.homelinux.net/sid#80d4858][rid#825e5e0/initial] (2) init rewrite engine with requested uri /favicon.ico
192.168.2.1 - - [18/Oct/2006:16:35:10 +0200] [kd.mikispc.homelinux.net/sid#80d4858][rid#825e5e0/initial] (3) applying pattern '^(.*)$' to uri '/favicon.ico'
192.168.2.1 - - [18/Oct/2006:16:35:10 +0200] [kd.mikispc.homelinux.net/sid#80d4858][rid#825e5e0/initial] (2) rewrite /favicon.ico -> index.php
192.168.2.1 - - [18/Oct/2006:16:35:10 +0200] [kd.mikispc.homelinux.net/sid#80d4858][rid#825e5e0/initial] (2) local path result: index.php
192.168.2.1 - - [18/Oct/2006:16:35:13 +0200] [kd.mikispc.homelinux.net/sid#80d4858][rid#825e5e0/initial] (2) init rewrite engine with requested uri /
192.168.2.1 - - [18/Oct/2006:16:35:13 +0200] [kd.mikispc.homelinux.net/sid#80d4858][rid#825e5e0/initial] (3) applying pattern '^(.*)$' to uri '/'
192.168.2.1 - - [18/Oct/2006:16:35:13 +0200] [kd.mikispc.homelinux.net/sid#80d4858][rid#825e5e0/initial] (2) rewrite / -> index.php
192.168.2.1 - - [18/Oct/2006:16:35:13 +0200] [kd.mikispc.homelinux.net/sid#80d4858][rid#825e5e0/initial] (2) local path result: index.php









<VirtualHost *>
        ServerAdmin     miki@kerem-dodim.co.il
        DocumentRoot    /var/httpd/kerem-dodim.co.il/www/web/
        ServerName      kerem-dodim.mikispc.homelinux.net
        ServerAlias     kd.mikispc.homelinux.net

        ErrorLog        "| /usr/bin/cronolog /var/log/httpd/kerem-dodim.co.il/www/%Y-%m-kerem-dodim.co.il-error_log"

#Dont Log Images
        SetEnvIf        Request_URI \.gif$ files-list=gif
        SetEnvIf        Request_URI \.jpg$ files-list=jpg
        SetEnvIf        Request_URI \.png$ files-list=png
        SetEnvIf        Request_URI \.swf$ files-list=swf
        SetEnvIf        Request_URI \.css$ files-list=css

        LogFormat       "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
        CustomLog       "| /usr/bin/cronolog /var/log/httpd/kerem-dodim.co.il/www/%Y-%m-kerem-dodim.co.il-access_log" combined env=!files-list
        DirectoryIndex  index.html

# direct all variation of FQDN to www.kerem-dodim.co.il
        RewriteEngine On
        RewriteLogLevel 4
        RewriteLog "/var/log/httpd/kerem-dodim.co.il/www/rewritelog.log"
        #RewriteCond %{HTTP_HOST}   !^www\.kerem-dodim\.co\.il [NC]
        #RewriteCond %{HTTP_HOST}   !^$
        #RewriteRule ^/(.*)         http://www.kerem-dodim.co.il/$1 [L,R]
        #RewriteRule ^/(.*)    http://www.cnn.com [L,R]

        # all files with .something are skipped
        #RewriteCond %{REQUEST_URI} \..+$
        #RewriteCond %{REQUEST_URI} !\.html$
        #RewriteRule .* - [L]
        # the others are redirected to the front web controller
        #RewriteRule ^/(.*)$ index.php [PT,QSA,L]
        RewriteRule ^(.*)$ index.php [QSA,L]
        #RewriteRule ^(.*)$ index.html [NC,L]


Alias /sf /usr/share/php/data/symfony/web/sf

<Directory "/var/httpd/kerem-dodim.co.il/www/web">
        Options None
        AllowOverride None
        order allow,deny
        Allow from All
</Directory>

</VirtualHost>