Re: how to host a site in LAN?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well its simple

ypu have to allow all teh ipaddress in teh LAN to access in to your web
server i this case your apache server in your local machine and give teh
other users to your ip address to access your web server eg
http://192.168.1.3/ this will connect to your localhost but you have to
eanble the address your user coming from to access your web server that can
be dome in teh htttpd.conf file as listed below

<Directory "G:/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.2/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
    Allow from all


</Directory>

let em know if u need further help

##################################

Priyantha Gunawardena
{Web Designer / Developer}

Tel: +94 038-228-4323
Mobi: +94 077-393-8516
Web: http://www.pgdesigning.com

##################################

On Wed, Apr 16, 2008 at 11:10 AM, joshi_amn <joshi_amn@xxxxxxxxx> wrote:

>
> Hi, i have a stupid question ..i hope it will be answered sooner
> than later.
>
> I have already installed PHP APACHE and MYSQL as provided by
> WAMP.And everything is okay. I have recently connected my computer
> to a LAN through a server (my computer is not the server) and the
> problem is that I don't know how to configure the stuffs so that i
> host a local website for my LAN user.
> ie suppose when user types http://myServer/
> then they should see the index.php page hosted in my localhost.
>
> Please help me with all the step wise details on how to do that.I
> use windows xp.
>
> I am desperete. I tried google but in vain.
>
> sincerely
> Nirmal Joshi
>
>  
>


[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux