Posted 07 October 2006 - 07:14 AM
echo "hello world";
on machine (10.0.0.1) and worked fine on this machine when i tried the same script on 10.0.0.2 as (http://10.0.0.2/tst.php)
an error apperas as
You don't have permission to access /tst.php on this server.
Apache/2.0.59 (Win32) PHP/5.1.6 Server at 10.0.0.1 Port 80"
can anyone tell me how to solve this?
Posted 07 October 2006 - 03:21 PM
Posted 09 October 2006 - 03:52 AM
Posted 09 October 2006 - 10:12 AM
Posted 09 October 2006 - 10:35 AM
<VirtualHost *:80> ServerName localhost DocumentRoot "C:\wamp\www" </VirtualHost>
change * to the ip on the local network of the server.
also make sure that you do not have it set to listen like this.
That should fix the problem.
Hope that helps,
Posted 09 October 2006 - 10:41 AM
localhost should be changed with the ip address of the server
<Directory "C:/wamp/www"> # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs-2.0/mod/core.html#options # for more information. # Options Indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride all # # Controls who can get stuff from this server. # # onlineoffline tag - don't remove Order Deny,Allow Deny from all Allow from 127.0.0.1 </Directory>
change Allow from 127.0.0.1 to Allow from All
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users