Php website virtual host
I'm new to php, I did installed xampp-win32-1.8.2-2-VC9-installer on my
window7 desktop pc. PHP page run from C:\xampp\htdocs but when i create
virtual host and tried to access php file in d:\web\ it shows access
forbidden.
my host file code 127.0.0.1 localhost1
my httpd-vhost file code
NameVirtualHost * DocumentRoot "C:/xampp/htdocs" ServerName localhost
DocumentRoot "d:/web/test.php" ServerName localhost1
AllowOverride All Require all granted
I don't know now where i have to change
No comments:
Post a Comment