I have XAMPP 1.6.8. I tried to set up a vhost because I don't want to keep my projects in htdocs. The schema of httpd-vhosts.conf is below:
- Code: Select all
ServerAlias localhost www.localhost
ServerAlias prj1.localhost www.prj1.localhost
Allow from All
The problem is that browser can't find images and css because of paths - links are broken. They look like http://prj1.localhost\/forum.php or http://prj1.localhost\/img/pic.gif. When I delete the backslash links are OK.
Could You help me with this problem?