I think that if you send the option bind to 127.0.0.1 or localhost, that 
may work.

Failing that, using the VirtualHost options, if you create two, and set one 
as 127.0.0.1 and the other as _default_, then you can create two sites, one 
which you can view (localhost), and the other to say that you can't access 
this site or something.

<VirtualHost _default_>
     ServerAdmin [EMAIL PROTECTED]
     DocumentRoot /www/docs/default/
     ServerName my.domain.name
     ErrorLog logs/default-error_log
     CustomLog logs/default-access_log common
</VirtualHost>

<VirtualHost 127.0.0.1>
     ServerAdmin [EMAIL PROTECTED]
     DocumentRoot /www/docs/dummy-host.example.com
     ServerName localhost
     ErrorLog logs/127.0.0.1-error_log
     CustomLog logs/127.0.0.1-access_log common
</VirtualHost>



Hope that helps,

Jonathan Wright..

At 11:53 05.09.01 +0200, Sichta Daniel wrote:
>Hi,
>My PC is in network. I'm using Apache for developing sites but I don't want
>to other people in network access my Apache. What should I change in
>httpd.conf file ? Or is it possible to do it ?
>
>DAN
>

__________________________________________________
Jonathan Wright (DjNA)
[EMAIL PROTECTED]


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to