My hosts file is (/etc/hosts)

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1   nechclst.in
127.0.0.1   localhost.localdomain   localhost
127.0.0.1   deepaknew.nechclst.in   deepaknew
::1 localhost6.localdomain6 localhost6
127.0.0.1 test # added by Apache Friends XAMPP
10.0.1.66 www.jobeet.com.localhost

My Virtual host settings are


<VirtualHost 127.0.0.1:8080>
ServerName www.jobeet.com.localhost
DocumentRoot "/home/sfprojects/jobeet/web"
DirectoryIndex index.php
<Directory "/home/sfprojects/jobeet/web">
AllowOverride All
Allow from All
</Directory>
Alias /sf /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
<Directory "/home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf">
AllowOverride All
Allow from All
</Directory>
</VirtualHost>
When I ping from other machine - ping www.jobeet.com.localhost , it doesn't
work.

On Mon, Mar 8, 2010 at 4:19 PM, Jerzy Biernacki
<jerzy.bierna...@gmail.com>wrote:

> Hi all,
>
> your project's hostname: www.jobeet.com.localhost
> your project's server IP name: 127.0.0.1 (local interface) AND (example) *
> 192.168.1.1* (external interface)
>
> For every machine from your LAN accessing this project add to /etc/hosts
> (C:\windows\system32\drivers\etc\hosts AFAIR):
>
> 192.168.1.1 www.jobeet.com*.localhost*
>
> What you described seams to me like wrongly configured IP->HOST mapping.
> When you are accessing the project from your LAN you are using correct IP,
> but *WRONG HOST* - apache (or whatever it is) is serving you default page
> (/var/www/index.html or whatever is set to be default). Just change the HOST
> and it should work :)
>
> Cheers,
> JMB
>
> 2010/3/8 DEEPAK BHATIA <toreachdee...@gmail.com>
>
> What should be the virtual host....?
>>
>> On Mon, Mar 8, 2010 at 1:06 PM, Buddhika Perera <budd...@gmail.com>
>> wrote:
>> > Check with virtual host ....i used netbeans 6.8 for the coding ....its
>> > more easy than ever ....check out
>> > from the site ...there was a tutorial on how to use Symfony  with the
>> Editor
>> >
>> >
>> >
>> >
>> > On Mon, Mar 8, 2010 at 12:23 PM, DEEPAK BHATIA <toreachdee...@gmail.com>
>> wrote:
>> >> Hi,
>> >>
>> >> I am using Symfony 1.4.
>> >>
>> >> In the section of configuration of Web Server in Jobeet Tutorial as
>> given below
>> >>
>> >> When I access http://www.jobeet.com/ on some other machine on LAN, I
>> >> get some output like
>> >> Index of cgi-bin
>> >>
>> >> When I access http://www.jobeet.com.locahost/index.php on the local
>> >> machine, I get symfony project successfully installed.
>> >>
>> >> QUESTION: How can I access my project as http://www.jobeet.com ? Which
>> >> index.htm I need to modify/create ?
>> >>
>> >> ===========Web Server Configuration======
>> >>
>> >> # Be sure to only have this line once in your configuration
>> >>
>> >> NameVirtualHost 127.0.0.1:8080
>> >>
>> >> # This is the configuration for your project
>> >>
>> >> Listen 127.0.0.1:8080
>> >>
>> >> <VirtualHost 127.0.0.1:8080>
>> >> DocumentRoot "/home/sfprojects/jobeet/web"
>> >> DirectoryIndex index.php
>> >> <Directory "/home/sfprojects/jobeet/web">
>> >> AllowOverride All
>> >> Allow from All
>> >> </Directory>
>> >> Alias /sf /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
>> >> <Directory "/home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf">
>> >> AllowOverride All
>> >> Allow from All
>> >> </Directory>
>> >> </VirtualHost>
>> >>
>> >> Added to the httpd.conf
>> >>
>> >> # This is the configuration for your project
>> >> <VirtualHost 127.0.0.1:80 <http://127.0.0.1/>>
>> >> ServerName www.jobeet.com.localhost
>> >> <!-- same configuration as before -->
>> >> </VirtualHost>
>> >>
>> >> Added to the hosts file
>> >> 127.0.0.1 www.jobeet.com.localhost
>> >>
>> >> --
>> >> If you want to report a vulnerability issue on symfony, please send it
>> to security at symfony-project.com
>> >>
>> >> You received this message because you are subscribed to the Google
>> >> Groups "symfony users" group.
>> >> To post to this group, send email to symfony-users@googlegroups.com
>> >> To unsubscribe from this group, send email to
>> >> symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com>
>> >> For more options, visit this group at
>> >> http://groups.google.com/group/symfony-users?hl=en
>> >>
>> >
>> > --
>> > If you want to report a vulnerability issue on symfony, please send it
>> to security at symfony-project.com
>> >
>> > You received this message because you are subscribed to the Google
>> > Groups "symfony users" group.
>> > To post to this group, send email to symfony-users@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com>
>> > For more options, visit this group at
>> > http://groups.google.com/group/symfony-users?hl=en
>> >
>>
>> --
>>  If you want to report a vulnerability issue on symfony, please send it
>> to security at symfony-project.com
>>
>> You received this message because you are subscribed to the Google
>> Groups "symfony users" group.
>> To post to this group, send email to symfony-users@googlegroups.com
>> To unsubscribe from this group, send email to
>> symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com>
>> For more options, visit this group at
>> http://groups.google.com/group/symfony-users?hl=en
>>
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to