Jump to content
The Uniform Server Community

jmadsen

Member
  • Posts

    1
  • Joined

  • Last visited

Previous Fields

  • Main OS
    Windows 7

jmadsen's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Don't know how to better describe that for the title. The problem is: I use vhosts extensively for my work, but occasionally I just slap some files into a localhost/mysite When I use a vhost, I can set my first vhost the way it comes "out of the box": <VirtualHost _default_:80> DocumentRoot C:/UniServer/www ServerName localhost ErrorLog "logs/error.log" CustomLog "logs/access.log" common </VirtualHost> But if I want to use localhost/mysite, I have to change it to: <VirtualHost localhost:80> DocumentRoot C:/UniServer/www ServerName localhost ErrorLog "logs/error.log" CustomLog "logs/access.log" common </VirtualHost> Which is a pain, obviously, as it includes an apache restart. my httpd.conf is set to: ServerName localhost .htaccess doesn't seem to be what is affecting it. Would really appreciate ti if someone could give me a lead on this! Thanks, Jeff
×
×
  • Create New...