I have problem.... :D How to create a virtual host on 64bits W7????? In 32 bits it was enough to add e.g.
<VirtualHost localhost/Story>
<Directory "C:/xampp/htdocs/Story/public">
Options FollowSymLinks
AllowOverride All
</Directory>
DocumentRoot C:/xampp/htdocs/Story/public
ServerName localhost/Story
CustomLog C:/xampp/htdocs/Story/log combined
</VirtualHost>
And in system32 in hosts:
127.0.0.1 localhost/Story
But in 64bits it is ignoring :/ What I should do?
Ok more datails:
In my apache conf file I have:
<VirtualHost localhost/Story>
<Directory "C:/xampp/htdocs/Story/public">
Options FollowSymLinks
AllowOverride All
</Directory>
DocumentRoot C:/xampp/htdocs/Story/public
ServerName localhost/Story
CustomLog C:/xampp/htdocs/Story/log combined
</VirtualHost>
In my C:\Windows\System32\drivers\ect\hosts
127.0.0.1 localhost/Story
In my Netbeans prooject run path is set:
http://localhost/Story/
So I think now if I run my project he will use this configured localhost/Story virtual host and should automatically redirect my application to C:/xampp/htdocs/Story/public because I have configured this virtual host in my httpd.conf file. Am I right?
On my another laptop where is 32bits system this configuration is working and when I write: localhost/Story my application is working because this virtual host redirect it to the public folder. On 64 bits system when I write localhost/Story I see only tree of files that means my virtual host is not working correctly :/ But I can not understand why:/