| Tuesday 25 November 2003 10:48:40 pm 
                                                                 
thanks marcoi have done these:
 1. append 2 line in hosts
 127.0.0.1 localhost
 127.0.0.1 mysrv.srv
 127.0.0.1 ez.mysrv.srv
 restart win2k
 
2. modify httpd.conf<VirtualHost 127.0.0.1>
 <Directory d:/server/ez/>
 Options FollowSymLinks Indexes ExecCGI
 AllowOverride None
 </Directory>
 
 RewriteEngine OnRewriteRule !\.(gif|css|jpg|png|jar)$ d:/server/ez/index.php
 
 ServerAdmin root@localhostDocumentRoot d:/server/ez/
 ServerName ez.mysrv.srv
 </VirtualHost>
 restart apache
 
now ping mysrv.srv it's okping ez.mysrv.srv it's ok
 
but in browser: http://mysrv.srv/,http://127.0.0.1, http://ez.mysrv.srvall get response:
 Forbidden
 You don't have permission to access / on this server.
 why i add only a virtual host to d:/server/ez ,i cannot access server root (d:/server) with mysrv.srv BTW, i just rename .htaccess_root to .htaccess in ez,and some info about DB in site.ini,do i need to modify any other file ? 
thanks1
 |