Include "c:/wamp/alias/*"
# 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>
# !! this looks a bit dodgy !! DocumentRoot "/c:\wamp\www\jobeet\web"
DocumentRoot "c:\wamp\www\jobeet\web"
# add this line too..
ServerName jobeet.localdev.com
DirectoryIndex index.php
<Directory "c:\wamp\www\jobeet\web">
AllowOverride All
Allow from All
</Directory>
Alias /sf "c:\wamp\www\jobeet\lib\vendor\symfony\data\web\sf"
# !! this looks dodgy too !! <Directory
"/wamp/www/jobeet/lib/vendor/symfony/data/web/sf">
<Directory "c:/wamp/www/jobeet/lib/vendor/symfony/data/web/sf">
AllowOverride All
Allow from All
</Directory>
</VirtualHost>
you will also need to add the following line to your
C:/windows/system32/drivers/etc/hosts file:
127.0.0.1 jobeet.localdev.com
then restart your apache server, for added awesomeness use the command line
and issue the following:
> apache.exe (or whatever it is) configtest
> apache.exe stop
> apache.exe start (i seem to remember WAMP has a problem with restarting
properly!)
hope that helps!
On Thu, Jan 27, 2011 at 1:02 PM, andrew cs <[email protected]> wrote:
> imo your project configuration has to look like this:
>
> # to enter with localhost, 127.0.0.1 or even your network IP
> NameVirtualHost *:8080
> Listen *:8080
> <VirtualHost *:8080>
> DocumentRoot "C:\wamp\www\jobeet\web"
> DirectoryIndex index.php
> <Directory "C:\wamp\www\jobeet\web">
> AllowOverride All
> Allow from All
> </Directory>
> Alias /sf "C:\wamp\www\jobeet\lib\vendor\symfony\data\web\sf"
> <Directory "C:\wamp\www\jobeet\lib\vendor\symfony\data\web/sf">
> AllowOverride All
> Allow from All
> </Directory>
> </VirtualHost>
>
> I haven't seen a configuration in Windows in a long time, but as I remember
> this conf should work.
>
> Regards
>
>
> 2011/1/27 Namata Winnie <[email protected]>
>
> attached is my http.conf file.
>>
>> thanx
>>
>>
>> On Thu, Jan 27, 2011 at 3:08 PM, Gabriel Petchesi <[email protected]>wrote:
>>
>>> Make sure you restart the webserver after any configuration change (or
>>> reload with the new configuration).
>>>
>>> gabriel
>>>
>>> --
>>> 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 [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]<symfony-users%[email protected]>
>>> For more options, visit this group at
>>> http://groups.google.com/group/symfony-users?hl=en
>>>
>>
>>
>>
>> --
>> *Namata Winfred
>> IT Assistant
>> Natural Chemotherapeutics Research Institute, Ministry Of Health
>>
>> Mobile: 0774607443
>> *
>> *Nothing worthwhile comes easily. Work, continuous work and hard work, is
>> the only way to accomplish results that last*.
>>
>> --
>> 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 [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]<symfony-users%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/group/symfony-users?hl=en
>>
>
>
>
> --
> Ing. Jonathan A. Claros Santander.
> Ingeniero de Sistemas FCyT UMSS
> Developer Symfony since 2007
>
> --
> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<symfony-users%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>
--
-----------------------------------------------------------------
http://www.linkedin.com/in/justendoherty - LinkedIn
http://www.twitter.com/phpchap - Twitter
http://www.anotherwebdeveloper.com - Portfolio
--
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en