caute
v httpd.conf mam
Kód:
<VirtualHost *:80>
ServerName localhost
DocumentRoot "D:\web"
</VirtualHost>
<VirtualHost *:80>
ServerName symfony
DocumentRoot "D:\web\symfony\web"
DirectoryIndex index.php
Alias /sf "C:\wamp\bin\php\php5.2.6\data\symfony\web\sf"
<Directory "C:\wamp\bin\php\php5.2.6\data\symfony\web\sf">
AllowOverride All
Allow from All
</Directory>
<Directory "D:\web\symfony\web">
AllowOverride All
Allow from All
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName lol
DocumentRoot "D:\web\wr_meat\web"
DirectoryIndex index.php
Alias /sf "C:\wamp\bin\php\php5.2.6\data\symfony\web\sf"
<Directory "C:\wamp\bin\php\php5.2.6\data\symfony\web\sf">
AllowOverride All
Allow from All
</Directory>
<Directory "D:\web\wr_meat\web">
AllowOverride All
Allow from All
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName wr_meat
DocumentRoot "D:\web\wr_meat\web"
DirectoryIndex index.php
Alias /sf "C:\wamp\bin\php\php5.2.6\data\symfony\web\sf"
<Directory "C:\wamp\bin\php\php5.2.6\data\symfony\web\sf">
AllowOverride All
Allow from All
</Directory>
<Directory "D:\web\wr_meat\web">
AllowOverride All
Allow from All
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Directory>
</VirtualHost>
vo windows/system32/drivers/etc/hosts mam
127.0.0.1 localhost
127.0.0.1 symfony
127.0.0.1 lol
127.0.0.1 wr_meat
ked dam localhost ... tak je setko ok natianhe sa D:\web
ak vsak dam symfony, lol, wr_meat natiahne sa tiez D:\web , ale ja chcem aby sa natiahli zadane adresare....
ako nato ?
dakujem