virtual host

 

<VirtualHost *:80>

    ServerName www.study.com

    ServerAlias 192.168.1.111

    DocumentRoot "/theron/python/www"

   <Directory "/theron/python/www">

         AllowOverride None

         Order allow,deny

         Allow from all

     </Directory>

        RewriteEngine on

        RewriteRule benchmark2.jpg$   /benchmark3.jpg [L]

        RewriteRule benchmark2.js$    /benchmark3.js [L]

        RewriteRule benchmark_large.jpg$    /benchmark_large.jpg [L]

        RewriteRule benchmark_small.jpg$    /benchmark_small.jpg [L]

</VirtualHost>

 

你可能感兴趣的:(virtual host)