chennaibala Posted October 21, 2009 Share Posted October 21, 2009 hi frds... my wampserver were installed in other machine in lan .how to run my wampserver using ipaddress? i.e wamp sever instaled in 152.200.10.10 and port 80, while i run, http://152.200.10.10 output it showing http 403(forbidden) and say your not authorized to see these page... did i want change any parameter in httpd.conf file or php.ini file?..urgent...thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/178428-solved-how-to-run-wampsever-using-ipaddress/ Share on other sites More sharing options...
Daniel0 Posted October 21, 2009 Share Posted October 21, 2009 See this: http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html Quote Link to comment https://forums.phpfreaks.com/topic/178428-solved-how-to-run-wampsever-using-ipaddress/#findComment-940938 Share on other sites More sharing options...
chennaibala Posted October 21, 2009 Author Share Posted October 21, 2009 thanks daniel.. i changed parameter..as below ServerName localhost:80 # # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot "d:/wamp/www/" # # Each directory to which Apache has access can be configured with respect # to which services and features are allowed and/or disabled in that # directory (and its subdirectories). # # First, we configure the "default" to be a very restrictive set of # features. # <Directory /> Order Allow,Deny Allow from all </Directory> still not working... Quote Link to comment https://forums.phpfreaks.com/topic/178428-solved-how-to-run-wampsever-using-ipaddress/#findComment-940947 Share on other sites More sharing options...
Daniel0 Posted October 21, 2009 Share Posted October 21, 2009 Does it work when you're accessing it directly from the server (i.e. http://localhost on that computer)? Do you have read permissions on D:\wamp\www? Did you restart Apache after changing httpd.conf? Quote Link to comment https://forums.phpfreaks.com/topic/178428-solved-how-to-run-wampsever-using-ipaddress/#findComment-940949 Share on other sites More sharing options...
chennaibala Posted October 21, 2009 Author Share Posted October 21, 2009 thankks alot for fast reply dani...ya it works fine when i run in same machine as http://localhost/myprojectname... ya restart my server after chaing made in http.conf file.. yes i have read permission as on D:\wamp\www?..is there any problem from it dani.. Quote Link to comment https://forums.phpfreaks.com/topic/178428-solved-how-to-run-wampsever-using-ipaddress/#findComment-940954 Share on other sites More sharing options...
Daniel0 Posted October 21, 2009 Share Posted October 21, 2009 Hmm... Try checking Apache's error log. It sometimes tells why it returns a 403 error. Quote Link to comment https://forums.phpfreaks.com/topic/178428-solved-how-to-run-wampsever-using-ipaddress/#findComment-940955 Share on other sites More sharing options...
Mchl Posted October 21, 2009 Share Posted October 21, 2009 Did you put wampserver online? Click on Wampserver's icon in windows tray and select 'Put Online' Quote Link to comment https://forums.phpfreaks.com/topic/178428-solved-how-to-run-wampsever-using-ipaddress/#findComment-940960 Share on other sites More sharing options...
Daniel0 Posted October 21, 2009 Share Posted October 21, 2009 Did you put wampserver online? Click on Wampserver's icon in windows tray and select 'Put Online' Yeah, he can connect to it, but it serves a 403. Quote Link to comment https://forums.phpfreaks.com/topic/178428-solved-how-to-run-wampsever-using-ipaddress/#findComment-940961 Share on other sites More sharing options...
chennaibala Posted October 21, 2009 Author Share Posted October 21, 2009 [Wed Oct 21 13:11:32 2009] [error] [client 152.200.10.10 ] client denied by server configuration: D:/wamp/www/... Quote Link to comment https://forums.phpfreaks.com/topic/178428-solved-how-to-run-wampsever-using-ipaddress/#findComment-940963 Share on other sites More sharing options...
chennaibala Posted October 21, 2009 Author Share Posted October 21, 2009 hi mchl...my server is not in online..am working in locally...wht may be problem.. Quote Link to comment https://forums.phpfreaks.com/topic/178428-solved-how-to-run-wampsever-using-ipaddress/#findComment-940964 Share on other sites More sharing options...
Mchl Posted October 21, 2009 Share Posted October 21, 2009 Wampserver needs to be switched into 'online' mode so that it can be accessible from other computers in same local network. Quote Link to comment https://forums.phpfreaks.com/topic/178428-solved-how-to-run-wampsever-using-ipaddress/#findComment-940973 Share on other sites More sharing options...
chennaibala Posted October 21, 2009 Author Share Posted October 21, 2009 thanks mchl & dani...now it working after change to online mode...u guys rocking....thanks alot..cheerss.. Quote Link to comment https://forums.phpfreaks.com/topic/178428-solved-how-to-run-wampsever-using-ipaddress/#findComment-941020 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.