How to access site running apache server over lan without internet connection
Open httpd.conf of Apache server (backup first)Look for the the following : Listen
Change the line to
Listen *:80
Still in httpd.conf, look for the following (or similar):
<Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Allow from all Deny from all</Directory>
Change this block to :
<Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Allow from all #Deny from all</Directory>
Save httpd.conf and restart apache
Open port 80 of the server such that everyone can access your server.
Open Control Panel >> System and Security >> Windows Firewall then click on “Advance Setting” and then select “Inbound Rules” from the left panel and then click on “Add Rule…”. Select “PORT” as an option from the list and then in the next screen select “TCP” protocol and enter port number “80” under “Specific local port” then click on the ”Next” button and select “Allow the Connection” and then give the general name and description to this port and click Done.
Restart WAMP and access your machine in LAN or WAN.
* Don't change anything to Listen : keep it as it is..
1) Open httpd.conf of Apache server (backup first) Look for the the following :
<Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Allow from all #Deny from all</Directory>
and also this
<Directory "cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all</Directory>
2) Now From taskbar :
Click on wamp icon > Apache > Apache modules > apache_rewrite (enable this module)
And Ya Also Activate "Put Online" From same taskbar icon
You need to allow port request from windows firewall setting.
(Windows 7)
Go to control panel > windows firewall > advance setting (on left sidebar)
then
Right click on inbound rules -> add new rule -> port -> TCP (Specific port 80 - if your localhost wok on this port) -> Allow the connections -> Give a profile name -> ok
Now Restart all the services of Apache server & you are done..