
<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>

#
# Allow server status reports generated by mod_status,
# with the URL of http://servername/server-status
# Change the ".example.com" to match your domain to enable.
#

ExtendedStatus On

PerlRequire /home/ichudov/configs/ubuntu/apache-startup.pl

# No longer necessary due to mod_rpaf translating X-Forwarded-For for me. 
#PerlModule Algebra::ProxyRemoteAddr 
#PerlPostReadRequestHandler Algebra::ProxyRemoteAddr


#
# Allow server status reports generated by mod_status,
# with the URL of http://servername/server-status
# Change the ".example.com" to match your domain to enable.
#
<Location /server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from 64.81.147
    Allow from 64.94.157.1
    Allow from 127.0.0.1
    Allow from 65.182.171.162
</Location>

# Status of perl
<Location /perl-status>
  SetHandler perl-script
  PerlHandler Apache2::Status
  PerlSetVar StatusOptionsAll On
  order deny,allow
    Allow from 64.81.147
    Allow from 64.94.157.1
    Allow from 127.0.0.1
    Allow from 65.182.171.162
</Location>


PerlSetEnv PERL_MAILERS "mail:/does/not/exists:sendmail:/usr/sbin/sendmail"
PerlSetEnv ALGEBRA_ROOT "/home/ichudov/project_locations/algebra.com"


PerlModule Apache2::Resource
#set child memory limit in megabytes
#default is 64 Meg
#PerlSetEnv PERL_RLIMIT_DATA 32:48
  
#linux does not honor RLIMIT_DATA
#RLIMIT_AS (address space) will work to limit the size of a process
PerlSetEnv PERL_RLIMIT_AS 1000:2000
  
#set child cpu limit in seconds
#default is 360 seconds
PerlSetEnv PERL_RLIMIT_CPU 80
  
PerlChildInitHandler Apache2::Resource

#PerlCleanupHandler Apache2::SizeLimit

SetEnv EMBPERL_DEBUG 2285
AddType text/html .epl

AddType text/html .pl
AddType text/html .mpl

<Files *.epl>
           SetHandler  perl-script
           PerlHandler Algebra::EmbperlDisabledHandler
           Options     ExecCGI
</files>

<Files *.cgi>
           Options     ExecCGI
</files>


<Files *.mpl>
       SetHandler perl-script
       PerlHandler ModPerl::Registry
       Options ExecCGI
</Files>

<Files *.phpQQ>
       SetHandler php5-cgi
       Options ExecCGI
</Files>

<Files *.mpl>
       SetHandler perl-script
       PerlHandler ModPerl::Registry
       Options ExecCGI
</Files>

<Files *.cgi>
        SetHandler cgi-script
        #PerlHandler Apache::PerlRun
        Options +ExecCGI
        #optional
        PerlSendHeader On
</Files>

<Files *.zzz>
	SetHandler perl-script
        PerlHandler Algebra::TestHandler
        Options +ExecCGI
        #optional
        PerlSendHeader On
</Files>

<Files *.wav>
       SetHandler perl-script
       PerlHandler ModPerl::Registry
       Options ExecCGI
</Files>

<Files *.faq>
	SetHandler perl-script
        PerlHandler Algebra::Questions::Handler
        Options +ExecCGI
        #optional
        PerlSendHeader On
</Files>

<Files *.solver> 
        SetHandler perl-script 
        PerlHandler Algebra::Content::Handler 
        Options +ExecCGI 
        PerlSendHeader On 
</Files> 

<Files *.intro> 
        SetHandler perl-script 
        PerlHandler Algebra::Content::Handler 
        Options +ExecCGI 
        PerlSendHeader On 
</Files> 

<Files *.lesson> 
        SetHandler perl-script 
        PerlHandler Algebra::Content::Handler 
        Options +ExecCGI 
        #optional 
        PerlSendHeader On 
</Files> 
 
<Files *.quiz> 
        SetHandler perl-script 
        PerlHandler Algebra::Content::Handler 
        Options +ExecCGI 
        #optional 
        PerlSendHeader On 
</Files> 
 

<Files *.wikipedia>
	SetHandler perl-script
        PerlHandler Algebra::Wikipedia::Handler
        Options +ExecCGI
        #optional
        PerlSendHeader On
</Files>

<Files *.wikibook>
	SetHandler perl-script
        PerlHandler Algebra::Wikipedia::Handler
        Options +ExecCGI
        #optional
        PerlSendHeader On
</Files>

<Files *.wpm>
	SetHandler perl-script
        PerlHandler Algebra::WordProblemHandler
        Options +ExecCGI
        #optional
        PerlSendHeader On
</Files>

SetEnv EMBPERL_DEBUG 2285
AddType text/html .epl
AddType text/html .pl
AddType text/html .mpl
<Files *.epl>
           SetHandler  perl-script
           PerlHandler Algebra::EmbperlDisabledHandler
           Options     ExecCGI
</files>

<Files *.cgi>
           Options     ExecCGI
</files>

DirectoryIndex index.mpl index.php index.cgi index.html


#CookieTracking on
#CookieDomain .algebra.com

LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %v" combined
#LogFormat "%h %l %u %t \"%r\" %>s %b" common
#LogFormat "%{Referer}i -> %U" referer
#LogFormat "%{User-agent}i" agent

#CustomLog logs/usertrack "%{cookie}n %r %t \"%{Referer}i\""

#
# Use name-based virtual hosting.
#

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *:80>
#    ServerAdmin webmaster@dummy-host.example.com
#    DocumentRoot /www/docs/dummy-host.example.com
#    ServerName dummy-host.example.com
#    ErrorLog logs/dummy-host.example.com-error_log
#    CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>

# UserDir is now a module
UserDir public_html
#UserDir disabled root

<Directory /home/*/public_html>
       AllowOverride FileInfo AuthConfig Limit
       Options Indexes SymLinksIfOwnerMatch IncludesNoExec
</Directory>

Options FollowSymLinks

RewriteLog "/var/log/apache2/rewrite.log"
RewriteLogLevel 3
#LogLevel debug

NameVirtualHost localhost:10080

<VirtualHost 127.0.0.1:10080> 
        ServerName hahaha.com
	ServerAlias localhost
        DocumentRoot  /home/ichudov/project_locations/websites/dummy-site
</VirtualHost>

<VirtualHost 127.0.0.1:10080> 
        ServerName www.women.ru
        ServerAlias women.ru
        DocumentRoot  /home/ichudov/project_locations/websites/women.ru
</VirtualHost>

<VirtualHost localhost:10080>
	ServerName dundick.com
        ServerAlias www.dundick.com
        ServerAlias dundick.chudov.com
	Options FollowSymLinks
	DocumentRoot /home/ichudov/project_locations/websites/dundick.com
</VirtualHost>

<VirtualHost 127.0.0.1:10080> 
        ServerName www.algebra.com 
        #ServerName algebra.com 
        ServerAlias lt.algebra.com
        ServerAlias dsl.algebra.com
        ServerAlias localhost.algebra.com
        ServerAlias www-localhost.algebra.com
        ServerAlias hollywood.algebra.com
        ServerAlias freedom.algebra.com
        ServerAlias orca.algebra.com
        ServerAlias bling.algebra.com

        DocumentRoot  /home/ichudov/project_locations/algebra.com
	ScriptAlias /cgi-bin/ /home/ichudov/project_locations/algebra.com/cgi-bin/
	ScriptAlias /monster-cgi/ /home/httpd/cgi-bin/
	ScriptAlias /stump-cgi/ /home/httpd/cgi-bin/
	ScriptAlias /netsaint/ /usr/local/netsaint/sbin
	CustomLog /var/log/apache2/algebra/access_log combined
	CustomLog /var/log/apache2/algebra/browser_log agent
	Options FollowSymLinks
	ErrorDocument 404 /misc/missing.mpl?code=404
	ErrorDocument 403 /misc/missing.mpl?code=403
        RewriteEngine on

        #ProxyPass /dictionary/     http://dictionary.algebra.com/
        #ProxyPass /dictionary     http://dictionary.algebra.com/
        #ProxyPassReverse /dictionary/ http://dictionary.algebra.com/

        <Directory "/websites/algebra.com/templates">  
            Order allow,deny  
            Deny from all  
        </Directory>  

        <Directory "/websites/algebra.com/scripts">  
            Order allow,deny  
            Deny from all  
        </Directory>  

        ############################### Aliases, moved dirs
        Alias /abc/ /home/ichudov/project_locations/algebra.com/tmp/

        Redirect /algebra/lessons/quadform http://www.algebra.com/algebra/homework/quadratic/lessons/quadform 
        Redirect /algebra/lessons/quadform/ http://www.algebra.com/algebra/homework/quadratic/lessons/quadform/ 
        Redirect /algebra/lessons/linear http://www.algebra.com/algebra/homework/coordinate/lessons/linear 
        Redirect /algebra/lessons/linear/ http://www.algebra.com/algebra/homework/coordinate/lessons/linear/ 
        Redirect /algebra/lessons/fractions http://www.algebra.com/algebra/homework/real/lessons/fractions 
        Redirect /algebra/lessons/fractions/ http://www.algebra.com/algebra/homework/real/lessons/fractions/ 
        Redirect /algebra/lessons/proportions http://www.algebra.com/algebra/homework/proportions/lessons/proportions 
        Redirect /algebra/lessons/proportions/ http://www.algebra.com/algebra/homework/proportions/lessons/proportions/ 
 
        Redirect /calculators/algebra/percentage http://www.algebra.com/algebra/homework/percentage 
        Redirect /calculators/algebra/percentage/ http://www.algebra.com/algebra/homework/percentage/ 
        Redirect /calculators/algebra/logarithm http://www.algebra.com/algebra/homework/logarithm 
        Redirect /calculators/algebra/logarithm/ http://www.algebra.com/algebra/homework/logarithm/ 
 
        Redirect /algebra/homework/word/quadratic/ http://www.algebra.com/algebra/homework/quadratic/word/ 
        Redirect /algebra/homework/word/quadratic http://www.algebra.com/algebra/homework/quadratic/word 
 
        Redirect /algebra/homework/word/linear/ http://www.algebra.com/algebra/homework/coordinate/word/ 
        Redirect /algebra/homework/word/linear http://www.algebra.com/algebra/homework/coordinate/word 
 

        # cookie tracking stuff
        #CookieTracking on
        #CookieDomain .algebra.com
        #CustomLog logs/algebra/usertrack_log "%{cookie}n %r %t Referer=\"%{Referer}i\" %v"

        # URL rewriting
        RewriteEngine On
        #RewriteLog /var/log/apache2/rewrite_log
        RewriteLogLevel 2

        #RewriteCond %(REQUEST_FILENAME) !-f
        #RewriteRule ^/tmp/rewriteme.html /tmp/session.mpl [PT]
        #RewriteRule ^/rewritedir/(.*)$ /tmp/$1 [PT]

        RewriteCond %(REQUEST_FILENAME) !-f
        RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        RewriteRule ^(.*).epl$ $1.mpl [PT]

        RewriteCond %{HTTP_USER_AGENT} ^Teleport\ Pro
        RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} ^Xenu\ Link\ Sleuth
        RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        RewriteRule .* - [F,L]

        #RewriteCond %{HTTP_USER_AGENT} ^Java/1 
        #RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        #RewriteRule .* - [F,L] 

        RewriteCond %{HTTP_USER_AGENT} ^Exabot
        RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        RewriteRule .* - [F,L] 

        RewriteCond %{HTTP_USER_AGENT} WISEnutbot
        RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        RewriteRule .* - [F,L] 

        RewriteCond %{HTTP_USER_AGENT} ^ia_archiver
        RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        RewriteRule .* - [F,L] 

        RewriteCond %{HTTP_USER_AGENT} ^FAST\ MetaWeb\ Crawler
        RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        RewriteRule .* - [F,L] 

        RewriteCond %{HTTP_USER_AGENT} ^psbot
        RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        RewriteRule .* - [F,L] 

        RewriteCond %{HTTP_USER_AGENT} ^Sphider
        RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        RewriteRule .* - [F,L] 

        RewriteCond %{HTTP_USER_AGENT} ^TurnitinBot
        RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} ^AtlocalBot
        RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} ^Crawler0.
        RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} ^Pompos
        RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} ^Sensis
        RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} ^Gaisbot
        RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} ^DA\ 7.0
        RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} ^WebDownload
        RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} ^noxtrumbot
        RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} ^Wget
        RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} walhello
        RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} Baiduspider
        RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} SuperBot
        RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} OrcaSearch
        RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} FAST\ Enterprise\ Crawler
        RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        RewriteRule .* - [F,L]

        #RewriteCond %{HTTP_USER_AGENT} ^Python-urllib
        #RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        #RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} Rufus
        RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} NutchCVS
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} W3CRobot
        RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} ^ichiro
        RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        RewriteRule .* - [F,L]

        # ask jeeves
        RewriteCond %{HTTP_USER_AGENT} Ask\ Jeeves
        RewriteCond %{REQUEST_FILENAME} !/misc/missing.mpl
        RewriteRule .* - [F,L]

        ##################################################################
        # Referer spammers
        #
        #RewriteCond %{HTTP_REFERER} poker
        #RewriteRule .* - [F,L]

        #RewriteCond %{HTTP_REFERER} casino
        #RewriteRule .* - [F,L]

        #RewriteCond %{HTTP_REFERER} credit
        #RewriteRule .* - [F,L]

        #RewriteCond %{HTTP_REFERER} roulette
        #RewriteRule .* - [F,L]

        #RewriteCond %{HTTP_REFERER} jobruler
        #RewriteRule .* - [F,L]

        #RewriteCond %{HTTP_REFERER} consultanthub
        #RewriteRule .* - [F,L]#

        #RewriteCond %{HTTP_REFERER} realty
        #RewriteRule .* - [F,L]

        #RewriteCond %{HTTP_REFERER} bitlocker
        #RewriteRule .* - [F,L]

        #RewriteCond %{HTTP_REFERER} payday
        #RewriteRule .* - [F,L]

        #RewriteCond %{HTTP_REFERER} mortgage
        #RewriteRule .* - [F,L]

        #RewriteCond %{HTTP_REFERER} loans
        #RewriteRule .* - [F,L]

        #RewriteCond %{HTTP_REFERER} diet-pill
        #RewriteRule .* - [F,L]

        #RewriteCond %{HTTP_REFERER} prescription
        #RewriteRule .* - [F,L]

        #RewriteCond %{HTTP_REFERER} globusy
        #RewriteRule .* - [F,L]

        #RewriteCond %{HTTP_REFERER} holdem
        #RewriteRule .* - [F,L]

        #RewriteCond %{HTTP_REFERER} hold-em
        #RewriteRule .* - [F,L]

        #RewriteCond %{HTTP_REFERER} gambling
        #RewriteRule .* - [F,L]

        #RewriteCond %{HTTP_REFERER} viagra
        #RewriteRule .* - [F,L]

        #RewriteCond %{HTTP_REFERER} home-equity-loan
        #RewriteRule .* - [F,L]

        #RewriteCond %{HTTP_REFERER} allkinds
        #RewriteRule .* - [F,L]

        #RewriteCond %{HTTP_REFERER} prakashcommunication
        #RewriteRule .* - [F,L]

        #RewriteCond %{HTTP_REFERER} smithtownelementarypta
        #RewriteRule .* - [F,L]

        #RewriteCond %{HTTP_REFERER} money-4me
        #RewriteRule .* - [F,L]

        #RewriteCond %{HTTP_REFERER} uccpp
        #RewriteRule .* - [F,L]

        #RewriteCond %{HTTP_REFERER} online-casino
        #RewriteRule .* - [F,L]
        ######################################################################

        RewriteRule ^(.*).faq.question.(.*).html $1.faq?question=$2 [PT,L] 
        RewriteRule ^(.*).faq.hide_answers.(.*).html $1.faq?hide_answers=$2 [PT,L] 
        RewriteRule ^/rss/(.*).rss$ /rss/rss.mpl?channel=$1 [PT,L]   

        # For Twitter
        RewriteRule ^/t/(.*)$ /tutors/faq.mpl?key=$1\&action=answer_question [PT,L]

	RewriteRule ^(.*)/Lessons.html $1/?role=lessons [PT,L]
	RewriteRule ^(.*)/Solvers.html $1/?role=solvers [PT,L]
	RewriteRule ^(.*)/Flashcards.html $1/?role=flashcards [PT,L]
	RewriteRule ^(.*)/Quiz.html $1/?role=quiz [PT,L]
	RewriteRule ^(.*)/InDepth.html $1/?role=indepths [PT,L]


        # Academy123 Stuff
        RedirectMatch 301 Academy123_content/(.*).swf http://www.academy123.com/Academy123_content/$1.swf 
 
        RewriteRule ^/robots.txt$ /robots.mpl [PT,L]   

        RewriteRule ^/algebra/about/history/include/WBmap.php /cgi-bin/null.mpl [PT,L]

</VirtualHost> 
 
<VirtualHost 127.0.0.1:10080> 
        ServerName algebra.com 
        RedirectMatch 301 (.*) http://www.algebra.com$1
</VirtualHost> 

<VirtualHost 127.0.0.1:10080> 
        ServerName ak47.algebra.com 
        RedirectMatch 301 (.*) http://www.algebra.com$1
</VirtualHost> 

<VirtualHost 127.0.0.1:10080> 
        ServerName ak74.algebra.com 
        RedirectMatch 301 (.*) http://www.algebra.com$1
</VirtualHost> 

<VirtualHost 127.0.0.1:10080> 
        ServerName readystump.algebra.com 
        ServerAlias readystump-localhost.algebra.com
        DocumentRoot  /home/ichudov/project_locations/webstump.algebra.com/

        RedirectMatch 301 /algebra/(.*) http://www.algebra.com/algebra/$1
        RedirectMatch 301 /cgi-bin/wiki-image.mpl/(.*) http://www.algebra.com/cgi-bin/wiki-image.mpl$1
</VirtualHost> 

<VirtualHost 127.0.0.1:10080> 
        ServerName stump.algebra.com 
        DocumentRoot  /home/ichudov/project_locations/webstump.algebra.com/
</VirtualHost> 

<VirtualHost 127.0.0.1:10080> 
        ServerName stumpQQQ.algebra.com 
        DocumentRoot  /home/ichudov/project_locations/webstump.algebra.com/
	ErrorDocument 404 http://www.algebra.com/misc/missing.mpl
	ErrorDocument 403 /misc/missing.mpl
</VirtualHost> 

<VirtualHost 127.0.0.1:10080>
        ServerName ef.algebra.com
        ServerAlias ef-localhost.algebra.com
        DocumentRoot  /home/ichudov/project_locations/websites/ef.algebra.com
        CustomLog /var/log/apache2/ef.algebra.com/access_log common
</VirtualHost>

<VirtualHost 127.0.0.1:10080> 
        ServerName yabe.algebra.com 
        DocumentRoot  /home/ichudov/public_html/misc/ebay 
</VirtualHost> 

<VirtualHost 127.0.0.1:10080> 
        ServerName wiki.algebra.com 
        DocumentRoot  /home/ichudov/wiki.algebra.com
        CustomLog /var/log/apache2/wiki/access_log combined 
        Alias /wiki /home/ichudov/wiki.algebra.com.193/index.php?title= 
</VirtualHost> 

<VirtualHost 127.0.0.1:10080> 
        ServerName financial-planning.algebra.com
        DocumentRoot  /home/ichudov/project_locations/financial-planning.algebra.com
        CustomLog /var/log/apache2/financial-planning.algebra.com/access_log combined 
        Options FollowSymLinks

        RewriteEngine On

        # anything that contains a dot without a colon should be left alone
        RewriteRule ^[^:]*\. - [L]

        # An empty address "/" should be translated into Main_Page 
        # (more search engine friendly)
        RewriteRule ^/$ /index.php?title=Main_Page [L,QSA]

        # anything else is to be treated as a title
        RewriteRule ^/(.+)$ /index.php?title=$1 [L,QSA]

</VirtualHost> 

<VirtualHost 127.0.0.1:10080> 
        ServerName metalworking.algebra.com
        ServerAlias www.metalworker.org
        ServerAlias metalworker.org
        DocumentRoot  /home/ichudov/metalworking.algebra.com
        CustomLog /var/log/apache2/metalworking.algebra.com/access_log combined 
        Options FollowSymLinks

        RewriteEngine On

        # anything that contains a dot without a colon should be left alone
        RewriteRule ^[^:]*\. - [L]

        # An empty address "/" should be translated into Main_Page 
        # (more search engine friendly)
        RewriteRule ^/$ /index.php?title=Main_Page [L,QSA]

        # anything else is to be treated as a title
        RewriteRule ^/(.+)$ /index.php?title=$1 [L,QSA]

</VirtualHost> 

<VirtualHost 127.0.0.1:10080>  
        ServerName dasha.chudov.com 
        DocumentRoot /home/dasha/public_html 
        ScriptAlias /cgi-bin/ "/home/ichudov/dasha/cgi-bin/" 
         
</VirtualHost> 

<VirtualHost 127.0.0.1:10080>  
        ServerName barbara.chudov.com 
	ServerAlias barbara1.chudov.com
        DocumentRoot /home/barbara/public_html 
</VirtualHost> 

<VirtualHost 127.0.0.1:10080>  
        ServerName midwest-ham.manualsexchange.com
        DocumentRoot /home/ichudov/project_locations/websites/affspam/midwest-ham
        CustomLog /var/log/apache2/affspam/access_log combined 
</VirtualHost> 

<VirtualHost 127.0.0.1:10080>  
        ServerName tractortalk.lislecars.com
        DocumentRoot /home/ichudov/project_locations/websites/affspam/tractortalk.lislecars.com
        CustomLog /var/log/apache2/affspam/access_log combined 
</VirtualHost> 

<VirtualHost 127.0.0.1:10080>  
        ServerName midwest-ham-l.manualsexchange.com
        DocumentRoot /home/ichudov/project_locations/websites/affspam/midwest-ham-l
        CustomLog /var/log/apache2/affspam/access_log combined 
</VirtualHost> 

<VirtualHost 127.0.0.1:10080>  
        ServerName midwest-ham-l.igorscomputers.com
        DocumentRoot /home/ichudov/project_locations/websites/affspam/midwest-ham-l
        CustomLog /var/log/apache2/affspam/access_log combined 
</VirtualHost> 

<VirtualHost localhost:10080>
	ServerName igor.chudov.com
        ServerAlias www.chudov.com
	Options FollowSymLinks
	DocumentRoot /home/ichudov/public_html
	ScriptAlias /cgi-bin/ "/home/ichudov/public_html/cgi-bin/"
        CustomLog /var/log/apache2/igor.chudov.com/access_log combined
</VirtualHost>

<VirtualHost localhost:10080> 
        ServerName raisa.chudov.com 
        DocumentRoot /home/rchudov/public_html 
</VirtualHost> 
 
<VirtualHost localhost:10080> 
        ServerName statuswatch.chudov.com 
        DocumentRoot /home/ichudov/websites/statuswatch.chudov.com
</VirtualHost> 
 
<VirtualHost localhost:10080> 
        ServerName dsl.misdescribed.com 
        DocumentRoot /home/ichudov/websites/misdescribed.com 
        PerlSetEnv EBAY_INI_FILE /home/ichudov/.ebay.ini 
</VirtualHost> 
 
<VirtualHost localhost:10080> 
        ServerName www.lunettehitch.com 
        DocumentRoot /home/ichudov/websites/www.lunettehitch.com 
</VirtualHost> 
 
<VirtualHost localhost:10080> 
        ServerName elia.chudov.com 
        DocumentRoot /home/ichudov/public_html/elia.chudov.com 
</VirtualHost> 
 
<VirtualHost localhost:10080> 
        ServerName michael.chudov.com 
        DocumentRoot /home/ichudov/public_html/michael.chudov.com 
</VirtualHost> 
 
<VirtualHost localhost:10080> 
        ServerName family.chudov.com 
        DocumentRoot /home/ichudov/photos 
</VirtualHost> 
 
<VirtualHost localhost:10080> 
        ServerName www.net-ebay.org 
        ServerAlias net-ebay.org
        DocumentRoot  /home/ichudov/websites/net-ebay.org 
</VirtualHost>  
  
<VirtualHost localhost:10080>
	ServerName lev.chudov.com
	Options FollowSymLinks
	DocumentRoot /home/ichudov/websites/lev.chudov.com
</VirtualHost>


PerlSwitches -I/home/ichudov/lisleelectric.com
PerlSetEnv EBAY_INI_FILE /home/ichudov/.ebay.ini
<VirtualHost 127.0.0.1:10080>
        ServerName www.lisleelectric.com
	ServerAlias lisleelectric.com
	ServerAlias localhost.lisleelectric.com
        DocumentRoot /home/ichudov/lisleelectric.com
        CustomLog /var/log/apache2/lisleelectric.com/access_log combined 
        RewriteEngine On
        RewriteLog /var/log/apache2/rewrite_log
        RewriteLogLevel 2
        RewriteRule ^/images/(.*)$ /image.mpl?url=$1       [PT,L]
        RewriteRule ^/cart/(.*)$ /cart.mpl?id=$1       [PT,L]
        RewriteRule ^/details/(.*)$ /cart.mpl?id=$1       [PT,L]
        RewriteRule ^/inventory/(.*)$ /inventory.mpl?cat=$1       [PT,L]
        RewriteRule ^/products/(.*)$ /product.mpl?id=$1       [PT,L]
</VirtualHost>

<VirtualHost 127.0.0.1:10080> 
        ServerName www.misdescribed.com 
        ServerAlias misdescribed.com
        ServerAlias localhost.misdescribed.com
        DocumentRoot /home/ichudov/project_locations/websites/misdescribed.com 
        CustomLog /var/log/apache2/misdescribed.com/access_log common 
</VirtualHost> 
 
 

#NameVirtualHost 65.182.171.163

<VirtualHost 127.0.0.1:10080>
        ServerName www.cooldictionary.com
        ServerAlias dictionary.algebra.com
        ServerAlias dictionary-localhost.algebra.com
        DocumentRoot  /home/ichudov/project_locations/cooldictionary.com
        CustomLog /var/log/apache2/cooldictionary/access_log combined
        <Files *.wav>
               SetHandler perl-script
               PerlHandler ModPerl::Registry
               Options ExecCGI
        </Files>

        RewriteEngine on 
        RewriteRule ^/words/(.*).word$ /words/word.mpl?word=$1 [PT,L]   
        RewriteRule ^/words/word\.(.*).html /words/word.mpl?word=$1 [PT,L]   
 
        RewriteRule ^/words/(.*)\.xlwikipedia$ /words/wiki.mpl?title=$1&site=wi\
kipedia&pageview=dictionary [PT,L]   
        RewriteRule ^/words/(.*)\.wikipedia$ /words/wiki.mpl?title=$1&site=wiki\
pedia [PT,L]   
 
        RewriteRule ^/words/(.*)\.xlwiktionary$ /words/wiki.mpl?title=$1&site=w\
iktionary&pageview=dictionary [PT,L]   
        RewriteRule ^/words/(.*)\.wiktionary$ /words/wiki.mpl?title=$1&site=wik\
tionary [PT,L]   

        # Banned agents
        RewriteCond %{HTTP_USER_AGENT} ^ia_archiver
        RewriteRule .* - [F,L]  
        RewriteRule ^/robots.txt$ /robots.cgi [PT,L]   


        RewriteCond %{HTTP_USER_AGENT} ^Teleport\ Pro
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} ^Xenu\ Link\ Sleuth
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} ^Java/1 
        RewriteRule .* - [F,L] 

        RewriteCond %{HTTP_USER_AGENT} ^Exabot
        RewriteRule .* - [F,L] 

        RewriteCond %{HTTP_USER_AGENT} WISEnutbot
        RewriteRule .* - [F,L] 

        RewriteCond %{HTTP_USER_AGENT} ^ia_archiver
        RewriteRule .* - [F,L] 

        RewriteCond %{HTTP_USER_AGENT} ^FAST\ MetaWeb\ Crawler
        RewriteRule .* - [F,L] 

        RewriteCond %{HTTP_USER_AGENT} ^psbot
        RewriteRule .* - [F,L] 

        RewriteCond %{HTTP_USER_AGENT} ^TurnitinBot
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} ^AtlocalBot
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} ^EasyDL
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} ^Crawler0.
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} ^Pompos
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} ^Sensis
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} ^Gaisbot
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} ^DA\ 7.0
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} ^WebDownload
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} ^noxtrumbot
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} ^Wget
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} walhello
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} WebVac
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} Baiduspider
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} FAST\ Enterprise\ Crawler
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} ^Python-urllib
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} Rufus
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} NutchCVS
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} W3CRobot
        RewriteRule .* - [F,L]

        RewriteCond %{HTTP_USER_AGENT} ^ichiro
        RewriteRule .* - [F,L]

        # ask jeeves
        RewriteCond %{HTTP_USER_AGENT} Ask\ Jeeves
        RewriteRule .* - [F,L]


        PerlSetEnv PROJECT "cooldictionary" 
        PerlSetEnv COOLDICTIONARY_DIR "/websites/cooldictionary.com"
</VirtualHost>

<VirtualHost 127.0.0.1:10080> 
        ServerName www.blindaccessible.com 
        ServerAlias blindaccessible.com
        DocumentRoot /home/ichudov/project_locations/websites/blindaccessible.com 
        CustomLog /var/log/apache2/blindaccessible.com/access_log combined
</VirtualHost> 
 

#NameVirtualHost 65.182.171.164

<VirtualHost 127.0.0.1:10080>
        ServerName discussion.rednecktractor.com
        DocumentRoot /home/ichudov/project_locations/websites/affspam/flood/discussion.rednecktractor.com
        CustomLog /var/log/apache2/affspam/access_log combined
</VirtualHost>

<VirtualHost 127.0.0.1:10080>
        ServerName forsale-maillist.homemadewelders.com
        DocumentRoot /home/ichudov/project_locations/websites/affspam/flood/forsale-maillist.homemadewelders.com
        CustomLog /var/log/apache2/affspam/access_log combined
</VirtualHost>

<VirtualHost 127.0.0.1:10080>
        ServerName maillist.southernhydraulic.com
        DocumentRoot /home/ichudov/project_locations/websites/affspam/flood/maillist.southernhydraulic.com
        CustomLog /var/log/apache2/affspam/access_log combined
</VirtualHost>

<VirtualHost 127.0.0.1:10080>
        ServerName reviews.lunettehitch.com
        DocumentRoot /home/ichudov/project_locations/websites/affspam/flood/reviews.lunettehitch.com
        CustomLog /var/log/apache2/affspam/access_log combined
</VirtualHost>

<VirtualHost 127.0.0.1:10080>
        ServerName www.guitaranddrum.com
        DocumentRoot /home/ichudov/project_locations/websites/affspam/flood/www.guitaranddrum.com
        CustomLog /var/log/apache2/affspam/access_log combined
</VirtualHost>

#NameVirtualHost 65.182.171.165

<VirtualHost 127.0.0.1:10080>
        ServerName old-archives.metallurgysts.com
        DocumentRoot /home/ichudov/project_locations/websites/affspam/flood/old-archives.metallurgysts.com
        CustomLog /var/log/apache2/affspam/access_log combined
</VirtualHost>

<VirtualHost 127.0.0.1:10080>
        ServerName www.lislesurplus.com
        DocumentRoot /home/ichudov/project_locations/websites/affspam/flood/www.lislesurplus.com
        CustomLog /var/log/apache2/affspam/access_log combined
</VirtualHost>

<VirtualHost 127.0.0.1:10080>
        ServerName listserv.diytractor.com
        DocumentRoot /home/ichudov/project_locations/websites/affspam/flood/listserv.diytractor.com
        CustomLog /var/log/apache2/affspam/access_log combined
</VirtualHost>

<VirtualHost 127.0.0.1:10080>
        ServerName marketplace.soyfeed.com
        DocumentRoot /home/ichudov/project_locations/websites/affspam/flood/marketplace.soyfeed.com
        CustomLog /var/log/apache2/affspam/access_log combined
</VirtualHost>

<VirtualHost 127.0.0.1:10080> 
        ServerName forsale-archives.amateurhams.com 
        DocumentRoot /home/ichudov/project_locations/websites/affspam/flood/forsale-archives.amateurhams.com 
        CustomLog /var/log/apache2/affspam/access_log combined 
</VirtualHost> 
   
<VirtualHost 127.0.0.1:10080> 
        ServerName forsale-l.amateur-radio-society.com
        DocumentRoot /home/ichudov/project_locations/websites/affspam/forsale-l.amateur-radio-society.com
        CustomLog /var/log/apache2/affspam/access_log combined 
</VirtualHost> 
   
<VirtualHost 127.0.0.1:10080> 
        ServerName www.farmeqpt.com
        DocumentRoot /home/ichudov/project_locations/websites/affspam/flood/www.farmeqpt.com
        CustomLog /var/log/apache2/affspam/access_log combined 
</VirtualHost> 

#NameVirtualHost 65.182.171.166
   
<VirtualHost 127.0.0.1:10080> 
        ServerName mailman.oldcombine.com
        DocumentRoot /home/ichudov/project_locations/websites/affspam/flood/mailman.oldcombine.com
        CustomLog /var/log/apache2/affspam/access_log combined 
</VirtualHost> 
   
<VirtualHost 127.0.0.1:10080> 
        ServerName retiredfiles.surplusindex.com
        DocumentRoot /home/ichudov/project_locations/websites/affspam/flood/retiredfiles.surplusindex.com
        CustomLog /var/log/apache2/affspam/access_log combined 
</VirtualHost> 
   
<VirtualHost 127.0.0.1:10080> 
        ServerName www.drillmill.com
        DocumentRoot /home/ichudov/project_locations/websites/affspam/flood/www.drillmill.com
        CustomLog /var/log/apache2/affspam/access_log combined 
</VirtualHost> 
   
<VirtualHost 127.0.0.1:10080> 
        ServerName showcase.homelathe.com
        DocumentRoot /home/ichudov/project_locations/websites/affspam/flood/showcase.homelathe.com 
        CustomLog /var/log/apache2/affspam/access_log combined 
</VirtualHost> 
   
<VirtualHost 127.0.0.1:10080> 
        ServerName machinery.igorslist.com
        DocumentRoot /home/ichudov/project_locations/websites/affspam/flood/machinery.igorslist.com 
        CustomLog /var/log/apache2/affspam/access_log combined 
</VirtualHost> 
   
<VirtualHost 127.0.0.1:10080> 
        ServerName s.chudov.com
        DocumentRoot /home/ichudov/websites/s.chudov.com
</VirtualHost> 
   
<VirtualHost 127.0.0.1:10080> 
        ServerName services.chudov.com
        DocumentRoot /home/ichudov/websites/services.chudov.com
</VirtualHost> 
   
<VirtualHost 127.0.0.1:10080> 
        ServerName www.net-boot.org
        ServerAlias net-boot.org
        ServerAlias localhost.net-boot.org
        ServerAlias laptop-work.net-boot.org

        DocumentRoot /home/ichudov/project_locations/websites/net-boot.org
        CustomLog /var/log/apache2/net-boot.org/access_log combined 
</VirtualHost> 
   
